Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",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.00114/0.00114, allocations: 97.06 kB / 15.69 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.001257/0.001257, allocations: 174.2 kB / 16.56 MB, free: 6.375 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.922/1.922, 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.4936/0.4936, allocations: 43.54 MB / 314.5 MB, free: 8.844 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.000546/0.0005461, allocations: 20 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1606, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003811/0.1644, allocations: 1.902 MB / 444.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.1663, allocations: 1.085 MB / 445.8 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.1665, allocations: 7.938 kB / 445.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005466/0.1671, allocations: 255.3 kB / 446.1 MB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004407/0.1675, allocations: 235.4 kB / 446.3 MB, free: 9.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007574/0.1683, allocations: 307.2 kB / 446.6 MB, free: 9.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004796/0.1688, allocations: 331.3 kB / 447 MB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.169, allocations: 53.06 kB / 447 MB, free: 8.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.1693, allocations: 203.2 kB / 447.2 MB, free: 8.594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.1695, allocations: 199.2 kB / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.1696, allocations: 8 kB / 447.4 MB, free: 8.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.1697, allocations: 31.98 kB / 447.4 MB, free: 8.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.1699, allocations: 103.6 kB / 447.5 MB, free: 8.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.17, allocations: 89.44 kB / 447.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.1703, allocations: 275.6 kB / 447.9 MB, free: 7.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.1704, allocations: 0 / 447.9 MB, free: 7.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1704, allocations: 0 / 447.9 MB, free: 7.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.1704, allocations: 0 / 447.9 MB, free: 7.895 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.00127/0.1717, allocations: 0.7086 MB / 448.6 MB, free: 7.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.1717, allocations: 8.031 kB / 448.6 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.17e-05/0.1718, allocations: 46.55 kB / 448.7 MB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.976e-05/0.1719, allocations: 51.34 kB / 448.7 MB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006285/0.1725, allocations: 379.1 kB / 449.1 MB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.1726, allocations: 11.94 kB / 449.1 MB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/0.1726, allocations: 19.98 kB / 449.1 MB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/0.1731, allocations: 210.5 kB / 449.3 MB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.1731, allocations: 0 / 449.3 MB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.1731, allocations: 7.938 kB / 449.3 MB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.1732, allocations: 4 kB / 449.3 MB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.1734, allocations: 95.88 kB / 449.4 MB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.1745, allocations: 0.8566 MB / 450.3 MB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006176/0.1751, allocations: 297.7 kB / 450.6 MB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.1752, allocations: 4 kB / 450.6 MB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004793/0.1757, allocations: 219.6 kB / 450.8 MB, free: 4.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.572e-06/0.1757, allocations: 0 / 450.8 MB, free: 4.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002023/0.1777, allocations: 0.9644 MB / 451.7 MB, free: 3.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.1779, allocations: 174.1 kB / 451.9 MB, free: 3.562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007213/0.1786, allocations: 0.6159 MB / 452.5 MB, free: 2.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.1786, allocations: 33.7 kB / 452.6 MB, free: 2.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.1788, allocations: 225 kB / 452.8 MB, free: 2.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.1789, allocations: 122.3 kB / 452.9 MB, free: 2.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.179, allocations: 8 kB / 452.9 MB, free: 2.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.1792, allocations: 366.8 kB / 453.3 MB, free: 2.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.1794, allocations: 104.8 kB / 453.4 MB, free: 2.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.1797, allocations: 172.9 kB / 453.5 MB, free: 1.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.1799, allocations: 116.3 kB / 453.7 MB, free: 1.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1799, allocations: 7.938 kB / 453.7 MB, free: 1.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000724/0.1807, allocations: 392.7 kB / 454 MB, free: 1.367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1807, allocations: 4 kB / 454.1 MB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.1807, allocations: 8.156 kB / 454.1 MB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.1807, allocations: 4 kB / 454.1 MB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.1811, allocations: 87.83 kB / 454.1 MB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.1811, allocations: 4 kB / 454.2 MB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.1813, allocations: 23.92 kB / 454.2 MB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.1813, allocations: 19.95 kB / 454.2 MB, free: 1.219 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002516/0.1816, allocations: 216.3 kB / 454.4 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.445e-05/0.1817, allocations: 63.25 kB / 454.5 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.1818, allocations: 59.91 kB / 454.5 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.1818, allocations: 11.94 kB / 454.5 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.1819, allocations: 0 / 454.5 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.1819, allocations: 3.984 kB / 454.5 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3299/0.5118, allocations: 1.259 MB / 455.8 MB, free: 45.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.5119, allocations: 2.75 kB / 455.8 MB, free: 45.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.5121, allocations: 54.48 kB / 455.9 MB, free: 45.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.658e-05/0.5121, allocations: 4.031 kB / 455.9 MB, free: 45.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-05/0.5122, allocations: 17.69 kB / 455.9 MB, free: 45.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/0.5122, allocations: 3.156 kB / 455.9 MB, free: 45.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5122, allocations: 2.719 kB / 455.9 MB, free: 45.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.5133, allocations: 0.9146 MB / 456.8 MB, free: 45.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.5135, allocations: 142.6 kB / 456.9 MB, free: 45.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.5136, allocations: 18 kB / 457 MB, free: 45.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.514, allocations: 24.11 kB / 457 MB, free: 45.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.5141, allocations: 35 kB / 457 MB, free: 45.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.5142, allocations: 23.06 kB / 457 MB, free: 45.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007206/0.5149, allocations: 454.3 kB / 457.5 MB, free: 44.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5149, allocations: 0 / 457.5 MB, free: 44.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007552/0.5157, allocations: 80.28 kB / 457.6 MB, free: 44.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003102/0.5188, allocations: 2.456 MB / 460 MB, free: 43.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007726/0.5196, allocations: 279.3 kB / 460.3 MB, free: 43.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5196, allocations: 0 / 460.3 MB, free: 43.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003109/0.5199, allocations: 160.4 kB / 460.4 MB, free: 43.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009236/0.5209, allocations: 108.6 kB / 460.5 MB, free: 43.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005569/0.5264, allocations: 4.041 MB / 464.6 MB, free: 40.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.527, allocations: 0.8623 MB / 465.5 MB, free: 40 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003654/0.5274, allocations: 85.53 kB / 465.5 MB, free: 39.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.5277, allocations: 178 kB / 465.7 MB, free: 39.97 MB / 382.1 MB Notification: Performance of SimCode: time 2.355e-06/0.5277, allocations: 0 / 465.7 MB, free: 39.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.5519, allocations: 9.609 MB / 475.3 MB, free: 39.02 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.5522, allocations: 215.6 kB / 475.5 MB, free: 38.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.506, allocations: 3.609 kB / 475.5 MB, free: 38.78 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat does not exist to compare? outputFormat=mat