Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",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.0009221/0.0009222, allocations: 96.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009595/0.0009595, allocations: 183.4 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2272/0.2272, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.0004959, allocations: 16 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1371, allocations: 61.92 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002489/0.1396, allocations: 1.831 MB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.1415, allocations: 1.092 MB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.1417, allocations: 3.938 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.1421, allocations: 99.55 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.1424, allocations: 155.6 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006355/0.1431, allocations: 280.8 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.1434, allocations: 267.5 kB / 475.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.1436, allocations: 44.92 kB / 475.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.1439, allocations: 187.3 kB / 475.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.144, allocations: 127.3 kB / 475.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.1441, allocations: 8 kB / 475.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1442, allocations: 47.92 kB / 475.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.1443, allocations: 115.5 kB / 475.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.752e-05/0.1444, allocations: 93.44 kB / 475.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.1447, allocations: 295.6 kB / 476.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.1447, allocations: 4 kB / 476.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1447, allocations: 4 kB / 476.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1448, allocations: 0 / 476.2 MB, free: 8.988 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00106/0.1458, allocations: 0.7275 MB / 476.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.1459, allocations: 8.031 kB / 476.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.866e-05/0.1459, allocations: 42.55 kB / 476.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.904e-05/0.146, allocations: 63.23 kB / 477 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/0.1466, allocations: 375 kB / 477.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.1466, allocations: 23.92 kB / 477.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.1467, allocations: 12 kB / 477.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/0.147, allocations: 197.4 kB / 477.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.147, allocations: 3.938 kB / 477.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.1471, allocations: 4 kB / 477.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1471, allocations: 8 kB / 477.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.1473, allocations: 91.88 kB / 477.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008612/0.1482, allocations: 0.7976 MB / 478.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005533/0.1487, allocations: 250.5 kB / 478.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.1488, allocations: 4 kB / 478.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003796/0.1491, allocations: 204.5 kB / 479 MB, free: 5.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.893e-06/0.1492, allocations: 4 kB / 479 MB, free: 5.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.00228/0.1514, allocations: 1.084 MB / 480 MB, free: 4.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.16e-05/0.1516, allocations: 140.5 kB / 480.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007622/0.1523, allocations: 0.7452 MB / 480.9 MB, free: 3.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.1524, allocations: 41.69 kB / 481 MB, free: 3.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.1526, allocations: 232.9 kB / 481.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.1527, allocations: 142.1 kB / 481.3 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.1527, allocations: 8 kB / 481.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1529, allocations: 374.7 kB / 481.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.1531, allocations: 112.8 kB / 481.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.1534, allocations: 187.1 kB / 482 MB, free: 2.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.1536, allocations: 136 kB / 482.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1537, allocations: 4 kB / 482.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006453/0.1543, allocations: 424.7 kB / 482.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.1543, allocations: 4 kB / 482.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.1544, allocations: 4 kB / 482.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1544, allocations: 4 kB / 482.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.1546, allocations: 91.83 kB / 482.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.1547, allocations: 4.125 kB / 482.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.1548, allocations: 19.98 kB / 482.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.1549, allocations: 27.94 kB / 482.7 MB, free: 2.113 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002546/0.1551, allocations: 235.8 kB / 482.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.168e-05/0.1552, allocations: 59.25 kB / 483 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.1554, allocations: 88.42 kB / 483.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1554, allocations: 4 kB / 483.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.1554, allocations: 0 / 483.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1554, allocations: 8 kB / 483.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.1572, allocations: 1.291 MB / 484.4 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.1572, allocations: 4 kB / 484.4 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.1573, allocations: 67.86 kB / 484.5 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.1574, allocations: 4 kB / 484.5 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.1574, allocations: 12.25 kB / 484.5 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/0.1574, allocations: 15.92 kB / 484.5 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.1574, allocations: 4 kB / 484.5 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009341/0.1584, allocations: 0.9054 MB / 485.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.1586, allocations: 176.3 kB / 485.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.333e-05/0.1586, allocations: 19.94 kB / 485.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.1589, allocations: 24 kB / 485.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.68e-05/0.159, allocations: 35.89 kB / 485.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.1591, allocations: 27.98 kB / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006302/0.1597, allocations: 0.5456 MB / 486.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1597, allocations: 0 / 486.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005659/0.1603, allocations: 80 kB / 486.3 MB, free: 14.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002896/0.1632, allocations: 2.631 MB / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000716/0.1639, allocations: 311.6 kB / 489.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1639, allocations: 0 / 489.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.1642, allocations: 163.7 kB / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/0.1649, allocations: 106 kB / 489.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005252/0.1702, allocations: 4.058 MB / 493.5 MB, free: 7.031 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/0.1707, allocations: 0.8899 MB / 494.4 MB, free: 6.117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002178/0.1709, allocations: 79.23 kB / 494.5 MB, free: 6.039 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.1711, allocations: 183.4 kB / 494.7 MB, free: 5.859 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1711, allocations: 0 / 494.7 MB, free: 5.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.1919, allocations: 9.607 MB / 0.4925 GB, free: 12.43 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/0.1921, allocations: 216 kB / 0.4927 GB, free: 12.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.113, allocations: 0 / 0.4927 GB, free: 12.19 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat does not exist to compare? outputFormat=mat