Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",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.001045/0.001045, allocations: 97.3 kB / 15.69 MB, free: 480 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.001406/0.001407, allocations: 174.7 kB / 16.57 MB, free: 6.391 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.95/1.95, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.4764/0.4764, allocations: 43.54 MB / 314.5 MB, free: 9.047 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.0005792/0.0005793, allocations: 20 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1613, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002771/0.1641, allocations: 1.392 MB / 444.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.1658, allocations: 0.7383 MB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.166, allocations: 4 kB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.1664, allocations: 27.84 kB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.1667, allocations: 47.88 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.167, allocations: 71.78 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.1672, allocations: 63.84 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.1674, allocations: 16.2 kB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1675, allocations: 39.84 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.1676, allocations: 23.86 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.1676, allocations: 4 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.886e-05/0.1678, allocations: 31.92 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.1678, allocations: 23.91 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.336e-05/0.1679, allocations: 41.64 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.1681, allocations: 88.03 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1681, allocations: 0 / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1681, allocations: 0 / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.1681, allocations: 0 / 445.5 MB, free: 10.57 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000626/0.1687, allocations: 418.8 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.1688, allocations: 8.031 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.1688, allocations: 42.5 kB / 445.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.1689, allocations: 11.81 kB / 445.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.1692, allocations: 206.8 kB / 446.1 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.1692, allocations: 4 kB / 446.1 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.1692, allocations: 0 / 446.1 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.1694, allocations: 53.67 kB / 446.2 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1695, allocations: 4 kB / 446.2 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1695, allocations: 3.953 kB / 446.2 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1695, allocations: 4 kB / 446.2 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.574e-05/0.1696, allocations: 19.98 kB / 446.2 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.17, allocations: 288.8 kB / 446.5 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.1702, allocations: 62.67 kB / 446.6 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.1702, allocations: 3.984 kB / 446.6 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.1705, allocations: 79.41 kB / 446.6 MB, free: 9.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1705, allocations: 0 / 446.6 MB, free: 9.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005762/0.1711, allocations: 169.2 kB / 446.8 MB, free: 9.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.1711, allocations: 51.41 kB / 446.9 MB, free: 8.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.1714, allocations: 222.6 kB / 447.1 MB, free: 8.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1714, allocations: 29.7 kB / 447.1 MB, free: 8.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.499e-05/0.1715, allocations: 112.1 kB / 447.2 MB, free: 8.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.1716, allocations: 23.66 kB / 447.2 MB, free: 8.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/0.1716, allocations: 0 / 447.2 MB, free: 8.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1717, allocations: 326.8 kB / 447.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-05/0.1718, allocations: 20 kB / 447.6 MB, free: 8.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.1719, allocations: 33.7 kB / 447.6 MB, free: 8.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.976e-05/0.1719, allocations: 27.94 kB / 447.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1719, allocations: 0 / 447.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001919/0.1721, allocations: 109.5 kB / 447.7 MB, free: 8.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1722, allocations: 8 kB / 447.7 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1722, allocations: 80 / 447.7 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1722, allocations: 192 / 447.7 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1723, allocations: 15.98 kB / 447.8 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.1723, allocations: 11.92 kB / 447.8 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/0.1724, allocations: 0 / 447.8 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.1724, allocations: 12.03 kB / 447.8 MB, free: 8.004 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 (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.0001383/0.1726, allocations: 129.8 kB / 447.9 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.1726, allocations: 19.77 kB / 447.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.1726, allocations: 13.41 kB / 447.9 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1727, allocations: 3.984 kB / 447.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1727, allocations: 4 kB / 448 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1727, allocations: 0 / 448 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.1732, allocations: 399.3 kB / 448.3 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1732, allocations: 0 / 448.3 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.1732, allocations: 8 kB / 448.3 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1732, allocations: 0 / 448.3 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.1733, allocations: 7.984 kB / 448.4 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1733, allocations: 0 / 448.4 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1733, allocations: 0 / 448.4 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.1735, allocations: 225.8 kB / 448.6 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.1736, allocations: 89 kB / 448.7 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.1736, allocations: 11.98 kB / 448.7 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.1737, allocations: 384 / 448.7 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.1738, allocations: 4 kB / 448.7 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1738, allocations: 7.984 kB / 448.7 MB, free: 6.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1739, allocations: 168.3 kB / 448.9 MB, free: 6.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1739, allocations: 4 kB / 448.9 MB, free: 6.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1742, allocations: 31.89 kB / 448.9 MB, free: 6.789 MB / 382.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.001542/0.1757, allocations: 1.18 MB / 450.1 MB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.1759, allocations: 55.95 kB / 450.1 MB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1759, allocations: 0 / 450.1 MB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.176, allocations: 28.09 kB / 450.1 MB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.1763, allocations: 36.36 kB / 450.2 MB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.1777, allocations: 0.9204 MB / 451.1 MB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.178, allocations: 0.7199 MB / 451.8 MB, free: 3.777 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.498e-05/0.178, allocations: 12.89 kB / 451.8 MB, free: 3.766 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.294e-05/0.1781, allocations: 39.42 kB / 451.9 MB, free: 3.727 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1781, allocations: 0 / 451.9 MB, free: 3.727 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.1934, allocations: 3.079 MB / 455 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002737/0.1938, allocations: 216.5 kB / 455.2 MB, free: 416 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/1.972, allocations: 0 / 455.2 MB, free: 416 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat