Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",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.0008157/0.0008156, allocations: 94.28 kB / 17 MB, free: 6.398 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.0008492/0.0008495, allocations: 179.8 kB / 17.89 MB, free: 5.945 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.391/1.391, allocations: 223.3 MB / 241.9 MB, free: 14.61 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.2136/0.2136, allocations: 44.23 MB / 337.2 MB, free: 2.566 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003556, allocations: 12.66 kB / 409.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1573, allocations: 61.93 MB / 471.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002185/0.1595, allocations: 1.359 MB / 473 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1611, allocations: 0.7803 MB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.614e-05/0.1612, allocations: 0 / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.1615, allocations: 55.73 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.1617, allocations: 55.81 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.162, allocations: 87.77 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.1622, allocations: 83.69 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.038e-05/0.1622, allocations: 4 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.627e-05/0.1623, allocations: 39.84 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.698e-05/0.1624, allocations: 23.86 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.1625, allocations: 8 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.133e-05/0.1625, allocations: 31.91 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.604e-05/0.1626, allocations: 23.92 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.1626, allocations: 37.64 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1628, allocations: 96.08 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1628, allocations: 0 / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1628, allocations: 0 / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1628, allocations: 0 / 474.3 MB, free: 10.89 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005936/0.1634, allocations: 410.7 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.1635, allocations: 15.97 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.1635, allocations: 30.56 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.1636, allocations: 15.89 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.1639, allocations: 210.7 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1639, allocations: 0 / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.1639, allocations: 11.94 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.1641, allocations: 41.69 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1641, allocations: 0 / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1641, allocations: 0 / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.1641, allocations: 0 / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.328e-05/0.1642, allocations: 19.98 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.1645, allocations: 193.7 kB / 475.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.1647, allocations: 50.56 kB / 475.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.508e-05/0.1647, allocations: 20.84 kB / 475.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.1648, allocations: 3.984 kB / 475.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.165, allocations: 75.34 kB / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.165, allocations: 0 / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002841/0.1653, allocations: 101.4 kB / 475.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1653, allocations: 51.41 kB / 475.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.1656, allocations: 266.3 kB / 475.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1656, allocations: 25.7 kB / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.1657, allocations: 108.1 kB / 476 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.1657, allocations: 19.8 kB / 476 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.1657, allocations: 4 kB / 476 MB, free: 9.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1658, allocations: 326.8 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.925e-05/0.1659, allocations: 15.98 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.795e-05/0.166, allocations: 21.72 kB / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.604e-05/0.166, allocations: 15.98 kB / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.166, allocations: 0 / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001574/0.1662, allocations: 89.53 kB / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1662, allocations: 7.953 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1662, allocations: 0 / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1662, allocations: 4 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.266e-05/0.1663, allocations: 8 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.1663, allocations: 7.922 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.526e-05/0.1664, allocations: 11.84 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.1664, allocations: 0 / 476.5 MB, free: 8.516 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 (7): * Single equations (assignments): 7 * 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.0001239/0.1665, allocations: 150.3 kB / 476.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.1666, allocations: 11.91 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.94e-05/0.1666, allocations: 20.94 kB / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1666, allocations: 4 kB / 476.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1666, allocations: 0 / 476.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1667, allocations: 0 / 476.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.1668, allocations: 193.5 kB / 476.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1668, allocations: 0 / 476.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.178e-05/0.1669, allocations: 7.938 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1669, allocations: 0 / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1669, allocations: 0 / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1669, allocations: 11.95 kB / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1669, allocations: 0 / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.1671, allocations: 105.3 kB / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.1672, allocations: 92.92 kB / 477.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.1672, allocations: 11.98 kB / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.78e-05/0.1672, allocations: 4 kB / 477.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.1673, allocations: 3.953 kB / 477.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.1673, allocations: 8 kB / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.1675, allocations: 196.5 kB / 477.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1675, allocations: 0 / 477.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.1677, allocations: 16 kB / 477.3 MB, free: 7.598 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001295/0.169, allocations: 0.9503 MB / 478.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.1692, allocations: 39.92 kB / 478.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1692, allocations: 0 / 478.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.755e-05/0.1693, allocations: 19.98 kB / 478.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.1695, allocations: 27.94 kB / 478.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.1709, allocations: 0.8081 MB / 479.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.1712, allocations: 0.72 MB / 479.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.172e-05/0.1713, allocations: 12.53 kB / 479.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.1713, allocations: 39.42 kB / 479.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1713, allocations: 0 / 479.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01354/0.1849, allocations: 2.964 MB / 482.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.1851, allocations: 225.3 kB / 483.1 MB, free: 1.961 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.117, allocations: 0 / 483.1 MB, free: 1.961 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat does not exist to compare? outputFormat=mat