Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 178.7 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.861/1.861, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3655/0.3655, allocations: 43.55 MB / 314.5 MB, free: 8.805 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005488/0.000549, allocations: 16 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1349, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.001939/0.1369, allocations: 1.384 MB / 444.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.138, allocations: 0.7267 MB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.162e-05/0.1381, allocations: 0 / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.1384, allocations: 39.78 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.1385, allocations: 43.88 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.1388, allocations: 75.78 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.1389, allocations: 55.92 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.139, allocations: 16.2 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.153e-05/0.1391, allocations: 43.77 kB / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.258e-05/0.1392, allocations: 27.86 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.1392, allocations: 7.984 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.289e-05/0.1393, allocations: 31.88 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.159e-05/0.1393, allocations: 19.91 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.1394, allocations: 37.7 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.1395, allocations: 80.09 kB / 445.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1395, allocations: 7.938 kB / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1395, allocations: 0 / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1395, allocations: 0 / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004985/0.14, allocations: 402.8 kB / 445.8 MB, free: 9.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1401, allocations: 12.03 kB / 445.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.1401, allocations: 38.55 kB / 445.9 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.1402, allocations: 7.906 kB / 445.9 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.1404, allocations: 207.5 kB / 446.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1404, allocations: 0 / 446.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.1404, allocations: 4 kB / 446.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1406, allocations: 57.61 kB / 446.2 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.1406, allocations: 0 / 446.2 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1406, allocations: 3.953 kB / 446.2 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1406, allocations: 0 / 446.2 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.758e-05/0.1407, allocations: 23.98 kB / 446.2 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.141, allocations: 288.9 kB / 446.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.1412, allocations: 58.61 kB / 446.5 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.1412, allocations: 0 / 446.5 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.1414, allocations: 75.47 kB / 446.6 MB, free: 9.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1414, allocations: 0 / 446.6 MB, free: 9.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000533/0.142, allocations: 177.1 kB / 446.8 MB, free: 8.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.142, allocations: 51.41 kB / 446.8 MB, free: 8.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.1422, allocations: 191.3 kB / 447 MB, free: 8.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1422, allocations: 29.7 kB / 447 MB, free: 8.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.1423, allocations: 104.1 kB / 447.1 MB, free: 8.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.1423, allocations: 27.66 kB / 447.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.1424, allocations: 0 / 447.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1425, allocations: 326.8 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.154e-05/0.1425, allocations: 15.98 kB / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.598e-05/0.1426, allocations: 41.64 kB / 447.5 MB, free: 8.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.912e-05/0.1427, allocations: 27.94 kB / 447.6 MB, free: 7.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1427, allocations: 0 / 447.6 MB, free: 7.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000178/0.1429, allocations: 109.6 kB / 447.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1429, allocations: 4 kB / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1429, allocations: 7.938 kB / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1429, allocations: 0 / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.94e-05/0.143, allocations: 15.94 kB / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.143, allocations: 0 / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.322e-05/0.1431, allocations: 11.98 kB / 447.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.1431, allocations: 4 kB / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.1432, allocations: 125.9 kB / 447.8 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.1432, allocations: 15.86 kB / 447.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.1433, allocations: 21.39 kB / 447.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1433, allocations: 0 / 447.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1433, allocations: 0 / 447.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1433, allocations: 0 / 447.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.1438, allocations: 395.3 kB / 448.3 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1438, allocations: 0 / 448.3 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.1438, allocations: 20.02 kB / 448.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1438, allocations: 0 / 448.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1438, allocations: 7.938 kB / 448.3 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1438, allocations: 0 / 448.3 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1439, allocations: 80 / 448.3 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.1441, allocations: 218.3 kB / 448.5 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.1442, allocations: 96.91 kB / 448.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.1442, allocations: 4 kB / 448.6 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.1443, allocations: 8 kB / 448.6 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.1443, allocations: 7.984 kB / 448.6 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.1443, allocations: 4 kB / 448.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.1445, allocations: 156.9 kB / 448.8 MB, free: 6.664 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1445, allocations: 0 / 448.8 MB, free: 6.664 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.1447, allocations: 24 kB / 448.8 MB, free: 6.641 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001683/0.1464, allocations: 1.175 MB / 450 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.1466, allocations: 59.91 kB / 450 MB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1466, allocations: 0 / 450 MB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.359e-05/0.1467, allocations: 27.92 kB / 450.1 MB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.1469, allocations: 23.98 kB / 450.1 MB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.1481, allocations: 0.8781 MB / 451 MB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.1485, allocations: 0.7121 MB / 451.7 MB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.863e-05/0.1485, allocations: 17.17 kB / 451.7 MB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.856e-05/0.1486, allocations: 35.42 kB / 451.7 MB, free: 3.641 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1486, allocations: 0 / 451.7 MB, free: 3.641 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.162, allocations: 2.965 MB / 454.7 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/0.1623, allocations: 212.5 kB / 454.9 MB, free: 448 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/1.903, allocations: 3.938 kB / 454.9 MB, free: 444 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat does not exist to compare? outputFormat=mat