Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",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.001052/0.001052, allocations: 97.45 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.001134/0.001134, allocations: 173.9 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.835/1.835, allocations: 205.4 MB / 222.7 MB, free: 5.641 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.4556/0.4556, allocations: 43.55 MB / 314.5 MB, free: 9.059 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.0007308/0.0007311, allocations: 20 kB / 384 MB, free: 8.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.162, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002823/0.1649, allocations: 1.353 MB / 444.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.1666, allocations: 0.7188 MB / 444.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.032e-05/0.1667, allocations: 4 kB / 444.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.167, allocations: 55.78 kB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.1673, allocations: 55.86 kB / 445 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.1676, allocations: 67.8 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.1678, allocations: 63.84 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.335e-05/0.1679, allocations: 7.984 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.168, allocations: 43.83 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.1681, allocations: 39.83 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1682, allocations: 4 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.49e-05/0.1683, allocations: 16 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.013e-05/0.1683, allocations: 19.92 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.358e-05/0.1684, allocations: 33.7 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.1686, allocations: 79.97 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.123e-06/0.1686, allocations: 0 / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1686, allocations: 0 / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1686, allocations: 0 / 445.4 MB, free: 10.62 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005727/0.1692, allocations: 402.8 kB / 445.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.1693, allocations: 12.03 kB / 445.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.84e-05/0.1693, allocations: 30.56 kB / 445.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.1694, allocations: 7.906 kB / 445.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.1697, allocations: 202.8 kB / 446 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1697, allocations: 0 / 446 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.1697, allocations: 0 / 446 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1699, allocations: 57.61 kB / 446.1 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1699, allocations: 0 / 446.1 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.1699, allocations: 7.938 kB / 446.1 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.17, allocations: 7.938 kB / 446.1 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.016e-05/0.17, allocations: 15.98 kB / 446.1 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.1703, allocations: 177.7 kB / 446.3 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.1705, allocations: 46.62 kB / 446.4 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.1705, allocations: 0 / 446.4 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.1708, allocations: 75.42 kB / 446.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.1708, allocations: 0 / 446.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003699/0.1711, allocations: 89.58 kB / 446.5 MB, free: 9.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.1712, allocations: 59.34 kB / 446.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.1714, allocations: 178.2 kB / 446.7 MB, free: 9.074 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.1715, allocations: 33.7 kB / 446.8 MB, free: 9.035 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/0.1716, allocations: 104.1 kB / 446.9 MB, free: 8.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.1716, allocations: 7.891 kB / 446.9 MB, free: 8.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/0.1716, allocations: 8 kB / 446.9 MB, free: 8.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1718, allocations: 326.8 kB / 447.2 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.145e-05/0.1719, allocations: 15.98 kB / 447.2 MB, free: 8.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.1719, allocations: 25.7 kB / 447.3 MB, free: 8.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.296e-05/0.172, allocations: 20 kB / 447.3 MB, free: 8.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.172, allocations: 0 / 447.3 MB, free: 8.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001936/0.1722, allocations: 77.88 kB / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1723, allocations: 8 kB / 447.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.1723, allocations: 4 kB / 447.4 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1723, allocations: 4 kB / 447.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1724, allocations: 11.98 kB / 447.4 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1724, allocations: 3.953 kB / 447.4 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.183e-05/0.1725, allocations: 7.906 kB / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1725, allocations: 0 / 447.4 MB, free: 8.398 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 (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.0001409/0.1727, allocations: 137.8 kB / 447.5 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.1727, allocations: 11.91 kB / 447.5 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.1728, allocations: 8.312 kB / 447.5 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1728, allocations: 0 / 447.5 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1728, allocations: 0 / 447.5 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1728, allocations: 3.953 kB / 447.5 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.173, allocations: 185.6 kB / 447.7 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.173, allocations: 0 / 447.7 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.173, allocations: 7.938 kB / 447.7 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1731, allocations: 3.938 kB / 447.7 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1731, allocations: 0 / 447.7 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1731, allocations: 0 / 447.7 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.1731, allocations: 8 kB / 447.7 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.1733, allocations: 109 kB / 447.9 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.1734, allocations: 88.91 kB / 447.9 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.1734, allocations: 8 kB / 447.9 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.663e-05/0.1735, allocations: 0 / 447.9 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.1736, allocations: 4 kB / 448 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.1736, allocations: 0 / 448 MB, free: 7.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.1737, allocations: 148 kB / 448.1 MB, free: 7.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1737, allocations: 0 / 448.1 MB, free: 7.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.1741, allocations: 20 kB / 448.1 MB, free: 7.578 MB / 382.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.0016/0.1757, allocations: 0.9478 MB / 449.1 MB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.1759, allocations: 43.97 kB / 449.1 MB, free: 6.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1759, allocations: 3.938 kB / 449.1 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.203e-05/0.176, allocations: 20 kB / 449.1 MB, free: 6.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.1763, allocations: 23.97 kB / 449.2 MB, free: 6.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.1776, allocations: 0.7742 MB / 449.9 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1779, allocations: 0.7043 MB / 450.6 MB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.361e-05/0.178, allocations: 24.66 kB / 450.7 MB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.1781, allocations: 35.36 kB / 450.7 MB, free: 4.93 MB / 382.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1781, allocations: 0 / 450.7 MB, free: 4.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.1945, allocations: 2.629 MB / 453.3 MB, free: 2.305 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003158/0.1948, allocations: 208.5 kB / 453.5 MB, free: 2.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/1.836, allocations: 0 / 453.5 MB, free: 2.07 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat