Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",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.001128/0.001128, allocations: 95.89 kB / 15.68 MB, free: 488 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.001498/0.001498, allocations: 174.8 kB / 16.56 MB, free: 6.379 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.872/1.872, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.4788/0.4788, allocations: 43.55 MB / 314.5 MB, free: 9.035 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.000575/0.000575, allocations: 20 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1521, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002255/0.1544, allocations: 1.391 MB / 444.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.1563, allocations: 1.305 MB / 445.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.648e-05/0.1564, allocations: 4 kB / 445.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.1567, allocations: 31.89 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.1569, allocations: 51.81 kB / 445.6 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.1572, allocations: 63.8 kB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.1573, allocations: 67.84 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.1574, allocations: 12.22 kB / 445.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.56e-05/0.1575, allocations: 35.84 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.1577, allocations: 27.84 kB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1577, allocations: 8 kB / 445.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.1578, allocations: 39.92 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.1579, allocations: 19.91 kB / 445.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.1579, allocations: 37.64 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.1581, allocations: 84.09 kB / 446 MB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.1581, allocations: 4 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1581, allocations: 0 / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.1581, allocations: 0 / 446 MB, free: 10 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.0005655/0.1587, allocations: 398.9 kB / 446.4 MB, free: 9.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1587, allocations: 16.03 kB / 446.4 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.226e-05/0.1588, allocations: 34.55 kB / 446.5 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.1588, allocations: 11.84 kB / 446.5 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.1591, allocations: 198.9 kB / 446.7 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1591, allocations: 3.938 kB / 446.7 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.1592, allocations: 4 kB / 446.7 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1593, allocations: 67.34 kB / 446.7 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1594, allocations: 0 / 446.7 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1594, allocations: 4 kB / 446.7 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.1594, allocations: 4 kB / 446.7 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.297e-05/0.1595, allocations: 19.98 kB / 446.8 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.1599, allocations: 273 kB / 447 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.16, allocations: 66.56 kB / 447.1 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.1601, allocations: 4 kB / 447.1 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.1602, allocations: 63.52 kB / 447.2 MB, free: 8.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1603, allocations: 0 / 447.2 MB, free: 8.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005428/0.1608, allocations: 181.3 kB / 447.3 MB, free: 8.496 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.1609, allocations: 77.11 kB / 447.4 MB, free: 8.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.161, allocations: 149.8 kB / 447.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.1611, allocations: 25.7 kB / 447.6 MB, free: 8.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.232e-05/0.1611, allocations: 100.1 kB / 447.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.1612, allocations: 27.59 kB / 447.7 MB, free: 8.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.1612, allocations: 4 kB / 447.7 MB, free: 8.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1613, allocations: 326.8 kB / 448 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.386e-05/0.1614, allocations: 19.98 kB / 448.1 MB, free: 7.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.439e-05/0.1615, allocations: 42.55 kB / 448.1 MB, free: 7.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.126e-05/0.1615, allocations: 28.03 kB / 448.1 MB, free: 7.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1615, allocations: 0 / 448.1 MB, free: 7.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001839/0.1617, allocations: 101.6 kB / 448.2 MB, free: 7.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1617, allocations: 11.94 kB / 448.2 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1618, allocations: 0 / 448.2 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1618, allocations: 0 / 448.2 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.998e-05/0.1619, allocations: 12 kB / 448.2 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.1619, allocations: 7.984 kB / 448.3 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.1619, allocations: 4 kB / 448.3 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.162, allocations: 8.031 kB / 448.3 MB, free: 7.508 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.0001114/0.1621, allocations: 129.7 kB / 448.4 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.1621, allocations: 7.906 kB / 448.4 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.1622, allocations: 16.89 kB / 448.4 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1622, allocations: 0 / 448.4 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1622, allocations: 3.938 kB / 448.4 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1622, allocations: 0 / 448.4 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.1626, allocations: 395.3 kB / 448.8 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1626, allocations: 0 / 448.8 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.1627, allocations: 11.98 kB / 448.8 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.1627, allocations: 0 / 448.8 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1627, allocations: 4 kB / 448.8 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1627, allocations: 0 / 448.8 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1627, allocations: 0 / 448.8 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.163, allocations: 225.8 kB / 449 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.163, allocations: 93 kB / 449.1 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.1631, allocations: 0 / 449.1 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.1631, allocations: 4 kB / 449.1 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.1632, allocations: 11.98 kB / 449.2 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.1632, allocations: 4 kB / 449.2 MB, free: 6.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1633, allocations: 122.6 kB / 449.3 MB, free: 6.395 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1633, allocations: 4 kB / 449.3 MB, free: 6.391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000284/0.1636, allocations: 28 kB / 449.3 MB, free: 6.363 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.001676/0.1653, allocations: 1.224 MB / 450.5 MB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.1655, allocations: 59.95 kB / 450.6 MB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.1655, allocations: 4.062 kB / 450.6 MB, free: 5.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.311e-05/0.1656, allocations: 27.94 kB / 450.6 MB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.166, allocations: 27.92 kB / 450.6 MB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.1672, allocations: 0.7667 MB / 451.4 MB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.1678, allocations: 0.7004 MB / 452.1 MB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.234e-05/0.1679, allocations: 21.34 kB / 452.1 MB, free: 3.457 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.168, allocations: 31.42 kB / 452.2 MB, free: 3.426 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.168, allocations: 0 / 452.2 MB, free: 3.426 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.1898, allocations: 3.038 MB / 455.2 MB, free: 396 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003027/0.1902, allocations: 225 kB / 455.4 MB, free: 140 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.002, allocations: 4 kB / 455.4 MB, free: 136 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat does not exist to compare? outputFormat=mat