Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",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.001131/0.001131, allocations: 95.55 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.0009744/0.0009747, allocations: 179.8 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.374/1.374, allocations: 223.2 MB / 241.8 MB, free: 368 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.2393/0.2393, allocations: 44.22 MB / 337.1 MB, free: 2.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006734/0.0006736, allocations: 12 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1542, allocations: 61.91 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002562/0.1569, allocations: 1.39 MB / 472.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1582, allocations: 0.7881 MB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.074e-05/0.1583, allocations: 0 / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.1586, allocations: 39.77 kB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.1588, allocations: 43.88 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.1591, allocations: 107.1 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1593, allocations: 55.88 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1594, allocations: 12.16 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.483e-05/0.1595, allocations: 39.84 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.596e-05/0.1596, allocations: 27.84 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1596, allocations: 4 kB / 474 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.345e-05/0.1597, allocations: 23.98 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.1597, allocations: 19.92 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.1598, allocations: 41.64 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.1599, allocations: 84.09 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.16, allocations: 0 / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.16, allocations: 3.938 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.16, allocations: 0 / 474.2 MB, free: 10.94 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.000595/0.1606, allocations: 406.9 kB / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1606, allocations: 8.031 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.1607, allocations: 34.56 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.1607, allocations: 19.84 kB / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.161, allocations: 199.6 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.161, allocations: 4 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.161, allocations: 7.953 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1612, allocations: 49.67 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1612, allocations: 4 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1612, allocations: 4 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1612, allocations: 0 / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.041e-05/0.1613, allocations: 15.98 kB / 474.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.1617, allocations: 296.8 kB / 475.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.1619, allocations: 58.67 kB / 475.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1619, allocations: 0 / 475.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.1621, allocations: 71.36 kB / 475.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1621, allocations: 0 / 475.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005421/0.1626, allocations: 173.2 kB / 475.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.1627, allocations: 59.34 kB / 475.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.1629, allocations: 199.3 kB / 475.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1629, allocations: 29.7 kB / 475.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.163, allocations: 100.1 kB / 475.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.163, allocations: 19.72 kB / 475.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.1631, allocations: 4 kB / 475.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1632, allocations: 326.8 kB / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.473e-05/0.1633, allocations: 27.98 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.976e-05/0.1633, allocations: 37.64 kB / 476.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.672e-05/0.1634, allocations: 23.98 kB / 476.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1634, allocations: 0 / 476.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001797/0.1636, allocations: 101.5 kB / 476.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1636, allocations: 4 kB / 476.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1636, allocations: 0 / 476.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1636, allocations: 4.031 kB / 476.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.447e-05/0.1637, allocations: 23.98 kB / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.1637, allocations: 0 / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.1638, allocations: 4 kB / 476.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1638, allocations: 0 / 476.5 MB, free: 8.43 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.0001082/0.1639, allocations: 146.2 kB / 476.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.1639, allocations: 11.81 kB / 476.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.164, allocations: 17.41 kB / 476.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.164, allocations: 4 kB / 476.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.164, allocations: 0 / 476.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.164, allocations: 0 / 476.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.1645, allocations: 399.6 kB / 477 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1645, allocations: 0 / 477 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.1645, allocations: 12 kB / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1645, allocations: 0 / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.1646, allocations: 4 kB / 477.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1646, allocations: 4.031 kB / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1646, allocations: 0 / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.1648, allocations: 217.8 kB / 477.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.1649, allocations: 89 kB / 477.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.1649, allocations: 4 kB / 477.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.971e-05/0.165, allocations: 4 kB / 477.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.165, allocations: 11.98 kB / 477.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.165, allocations: 7.938 kB / 477.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1652, allocations: 152.8 kB / 477.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1652, allocations: 0 / 477.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1654, allocations: 23.98 kB / 477.6 MB, free: 7.234 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.001504/0.167, allocations: 1.178 MB / 478.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.1672, allocations: 59.97 kB / 478.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1672, allocations: 0 / 478.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.107e-05/0.1672, allocations: 27.94 kB / 478.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.1675, allocations: 27.92 kB / 478.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.1688, allocations: 0.8705 MB / 479.7 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.1691, allocations: 0.7082 MB / 480.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.183e-05/0.1691, allocations: 16.88 kB / 480.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.1692, allocations: 35.42 kB / 480.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1692, allocations: 0 / 480.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0138/0.183, allocations: 2.968 MB / 483.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.1832, allocations: 212.8 kB / 483.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/1.997, allocations: 0 / 483.7 MB, free: 1.309 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat