Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",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.0009517/0.0009518, allocations: 94.17 kB / 15.69 MB, free: 476 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.0009437/0.0009439, allocations: 175.2 kB / 16.57 MB, free: 6.848 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.613/1.613, allocations: 205.4 MB / 222.7 MB, free: 5.902 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.4661/0.4661, allocations: 43.54 MB / 314.5 MB, free: 8.629 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.0005257/0.0005259, allocations: 16 kB / 384 MB, free: 7.969 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.162, allocations: 58.85 MB / 442.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002513/0.1646, allocations: 1.392 MB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.166, allocations: 0.7344 MB / 445 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.621e-05/0.166, allocations: 0 / 445 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.1663, allocations: 27.78 kB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.1665, allocations: 43.89 kB / 445.1 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.1668, allocations: 79.72 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1669, allocations: 55.91 kB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1671, allocations: 12.22 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.311e-05/0.1672, allocations: 43.77 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.1672, allocations: 19.88 kB / 445.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1673, allocations: 4 kB / 445.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-05/0.1674, allocations: 31.92 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.1674, allocations: 19.97 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.367e-05/0.1675, allocations: 37.64 kB / 445.4 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.1676, allocations: 76.11 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1676, allocations: 0 / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1677, allocations: 0 / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1677, allocations: 4 kB / 445.4 MB, free: 10.41 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.0006271/0.1683, allocations: 398.7 kB / 445.8 MB, free: 9.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.1684, allocations: 12.03 kB / 445.8 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.363e-05/0.1684, allocations: 34.55 kB / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.1685, allocations: 11.91 kB / 445.9 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.1687, allocations: 206.9 kB / 446.1 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1687, allocations: 0 / 446.1 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.1688, allocations: 4 kB / 446.1 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1689, allocations: 53.67 kB / 446.1 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.169, allocations: 0 / 446.1 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.169, allocations: 3.953 kB / 446.1 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.169, allocations: 0 / 446.1 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.745e-05/0.1691, allocations: 23.92 kB / 446.2 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.1695, allocations: 281 kB / 446.4 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.1697, allocations: 54.69 kB / 446.5 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.1697, allocations: 0 / 446.5 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.17, allocations: 83.39 kB / 446.6 MB, free: 9.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.17, allocations: 0 / 446.6 MB, free: 9.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006082/0.1706, allocations: 169.2 kB / 446.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.1706, allocations: 51.41 kB / 446.8 MB, free: 8.863 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.1708, allocations: 174.2 kB / 447 MB, free: 8.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.1709, allocations: 29.7 kB / 447 MB, free: 8.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.1709, allocations: 100.1 kB / 447.1 MB, free: 8.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.171, allocations: 27.64 kB / 447.1 MB, free: 8.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.171, allocations: 0 / 447.1 MB, free: 8.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1712, allocations: 326.8 kB / 447.4 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.932e-05/0.1712, allocations: 23.98 kB / 447.5 MB, free: 8.168 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.48e-05/0.1713, allocations: 33.7 kB / 447.5 MB, free: 8.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.915e-05/0.1714, allocations: 20 kB / 447.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1714, allocations: 0 / 447.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001769/0.1716, allocations: 109.5 kB / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1716, allocations: 8.031 kB / 447.6 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1716, allocations: 4.078 kB / 447.6 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1716, allocations: 3.984 kB / 447.6 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.623e-05/0.1717, allocations: 15.94 kB / 447.6 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1717, allocations: 3.984 kB / 447.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.857e-05/0.1718, allocations: 4 kB / 447.7 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.1718, allocations: 4 kB / 447.7 MB, free: 7.953 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.0001332/0.172, allocations: 129.8 kB / 447.8 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.172, allocations: 15.77 kB / 447.8 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.172, allocations: 20.7 kB / 447.8 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.172, allocations: 0 / 447.8 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.1721, allocations: 4 kB / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1721, allocations: 0 / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.1726, allocations: 387.3 kB / 448.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1726, allocations: 0 / 448.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-05/0.1726, allocations: 8 kB / 448.2 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.1726, allocations: 0 / 448.2 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1726, allocations: 12.03 kB / 448.2 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1726, allocations: 0 / 448.2 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1726, allocations: 0 / 448.2 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.1729, allocations: 221.9 kB / 448.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-05/0.173, allocations: 88.92 kB / 448.5 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.173, allocations: 0 / 448.5 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.201e-05/0.1731, allocations: 16.36 kB / 448.5 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.1732, allocations: 4 kB / 448.5 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1732, allocations: 0 / 448.5 MB, free: 6.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.1733, allocations: 139.9 kB / 448.7 MB, free: 6.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1734, allocations: 192 / 448.7 MB, free: 6.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1736, allocations: 20 kB / 448.7 MB, free: 6.801 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.001671/0.1753, allocations: 1.188 MB / 449.9 MB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001823/0.1755, allocations: 55.92 kB / 449.9 MB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/0.1755, allocations: 4 kB / 449.9 MB, free: 5.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.624e-05/0.1756, allocations: 24.14 kB / 450 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.000276/0.1759, allocations: 24.12 kB / 450 MB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.177, allocations: 0.8305 MB / 450.8 MB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.1774, allocations: 0.7118 MB / 451.5 MB, free: 3.891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.42e-05/0.1774, allocations: 8.891 kB / 451.5 MB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.511e-05/0.1775, allocations: 31.42 kB / 451.6 MB, free: 3.844 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1775, allocations: 0 / 451.6 MB, free: 3.844 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.1919, allocations: 2.857 MB / 454.4 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.1922, allocations: 212.5 kB / 454.6 MB, free: 0.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/1.974, allocations: 0 / 454.6 MB, free: 0.75 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat