Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",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.0008053/0.0008054, allocations: 94.3 kB / 17 MB, free: 6.355 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.0009179/0.000918, allocations: 187 kB / 17.89 MB, free: 5.926 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.368/1.368, allocations: 223.2 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.194/0.194, allocations: 44.22 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003869, allocations: 12 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1607, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002383/0.1631, allocations: 1.394 MB / 473.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1646, allocations: 0.7998 MB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1648, allocations: 3.938 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.1651, allocations: 47.86 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.1654, allocations: 51.81 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.1658, allocations: 95.39 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.166, allocations: 83.77 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.585e-05/0.1661, allocations: 16.14 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1662, allocations: 43.78 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.516e-05/0.1663, allocations: 27.86 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1663, allocations: 4 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.1664, allocations: 39.97 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.1665, allocations: 27.84 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.376e-05/0.1666, allocations: 45.64 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.1668, allocations: 96.08 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1668, allocations: 0 / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1668, allocations: 0 / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1668, allocations: 0 / 474.4 MB, free: 10.84 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007004/0.1675, allocations: 422.7 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.1676, allocations: 8.031 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.982e-05/0.1676, allocations: 30.56 kB / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.1677, allocations: 15.84 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.168, allocations: 210.7 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.168, allocations: 12 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.1681, allocations: 3.953 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.1682, allocations: 53.67 kB / 475.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1682, allocations: 0 / 475.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1683, allocations: 4 kB / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1683, allocations: 0 / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.607e-05/0.1684, allocations: 15.98 kB / 475.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.1688, allocations: 300.9 kB / 475.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.169, allocations: 58.62 kB / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.1691, allocations: 24.84 kB / 475.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.1691, allocations: 0 / 475.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.1693, allocations: 67.23 kB / 475.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.654e-06/0.1693, allocations: 4 kB / 475.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006045/0.1699, allocations: 189 kB / 475.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.17, allocations: 51.41 kB / 475.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.1703, allocations: 262.3 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1704, allocations: 25.7 kB / 476.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.1704, allocations: 116.1 kB / 476.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.1705, allocations: 31.62 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.1705, allocations: 0 / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1707, allocations: 330.8 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.854e-05/0.1707, allocations: 23.98 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.464e-05/0.1708, allocations: 33.7 kB / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.208e-05/0.1709, allocations: 20 kB / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1709, allocations: 4 kB / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001944/0.1711, allocations: 101.4 kB / 476.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.1711, allocations: 12.02 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1711, allocations: 4 kB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1711, allocations: 0 / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.1713, allocations: 12 kB / 476.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.1713, allocations: 0 / 476.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.1714, allocations: 11.92 kB / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.1714, allocations: 11.94 kB / 476.8 MB, free: 8.176 MB / 350.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.0001423/0.1715, allocations: 138.2 kB / 477 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.1716, allocations: 11.81 kB / 477 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/0.1716, allocations: 25.56 kB / 477 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1716, allocations: 4 kB / 477 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1716, allocations: 0 / 477 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1717, allocations: 3.984 kB / 477 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005446/0.1722, allocations: 403.3 kB / 477.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1722, allocations: 0 / 477.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.1723, allocations: 11.98 kB / 477.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1723, allocations: 0 / 477.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1723, allocations: 8.031 kB / 477.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1723, allocations: 4 kB / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1723, allocations: 0 / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.1726, allocations: 208.1 kB / 477.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.1726, allocations: 97.09 kB / 477.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.1727, allocations: 4 kB / 477.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.1728, allocations: 7.938 kB / 477.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.1728, allocations: 11.98 kB / 477.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.1728, allocations: 4 kB / 477.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001929/0.173, allocations: 188.5 kB / 477.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.173, allocations: 0 / 477.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.1733, allocations: 31.98 kB / 478 MB, free: 6.934 MB / 350.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.001555/0.1749, allocations: 1.102 MB / 479.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1751, allocations: 55.97 kB / 479.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1751, allocations: 4 kB / 479.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.445e-05/0.1752, allocations: 27.94 kB / 479.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.1756, allocations: 27.47 kB / 479.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.1772, allocations: 0.8631 MB / 480.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.1776, allocations: 0.716 MB / 480.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.466e-05/0.1777, allocations: 20.86 kB / 480.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.076e-05/0.1778, allocations: 47.36 kB / 480.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1778, allocations: 3.938 kB / 480.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.1942, allocations: 3.237 MB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.1944, allocations: 216.8 kB / 484.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.081, allocations: 0 / 484.3 MB, free: 0.8008 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat