Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 178 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 86.48 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3062/0.3062, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.598e-05/2.604e-05, allocations: 8 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4063, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1672/0.5736, allocations: 87.27 MB / 0.5512 GB, free: 11.93 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.5739, allocations: 75.47 kB / 0.5513 GB, free: 11.86 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05273/0.6267, allocations: 10.94 MB / 0.562 GB, free: 0.918 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6267, allocations: 3.938 kB / 0.562 GB, free: 0.9141 MB / 395.1 MB Notification: Performance of Transformations before backend: time 5.593e-05/0.6268, allocations: 11.98 kB / 0.562 GB, free: 0.9023 MB / 395.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.001393/0.6282, allocations: 0.6323 MB / 0.5626 GB, free: 228 kB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.6283, allocations: 15.97 kB / 0.5626 GB, free: 212 kB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.6285, allocations: 51.34 kB / 0.5627 GB, free: 160 kB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.6299, allocations: 431 kB / 0.5631 GB, free: 15.7 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.63, allocations: 4 kB / 0.5631 GB, free: 15.69 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.145e-05/0.63, allocations: 11.98 kB / 0.5631 GB, free: 15.68 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003112/0.6304, allocations: 83.97 kB / 0.5632 GB, free: 15.6 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.6308, allocations: 189.8 kB / 0.5634 GB, free: 15.39 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.6309, allocations: 11.98 kB / 0.5634 GB, free: 15.38 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.6309, allocations: 0 / 0.5634 GB, free: 15.38 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.6309, allocations: 4 kB / 0.5634 GB, free: 15.38 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.6325, allocations: 0.8571 MB / 0.5642 GB, free: 14.46 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/0.6331, allocations: 257.8 kB / 0.5645 GB, free: 14.17 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.6333, allocations: 80.41 kB / 0.5645 GB, free: 14.07 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.6334, allocations: 15.88 kB / 0.5646 GB, free: 14.06 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004925/0.6339, allocations: 207.5 kB / 0.5648 GB, free: 13.83 MB / 411.1 MB Notification: Performance of pre-optimization done (n=30): time 3.807e-06/0.6339, allocations: 4 kB / 0.5648 GB, free: 13.82 MB / 411.1 MB Notification: Performance of matching and sorting (n=40): time 0.002538/0.6364, allocations: 0.8544 MB / 0.5656 GB, free: 12.96 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.6366, allocations: 158.2 kB / 0.5657 GB, free: 12.77 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.6377, allocations: 0.5216 MB / 0.5663 GB, free: 12.24 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 7.259e-05/0.6378, allocations: 37.69 kB / 0.5663 GB, free: 12.2 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.638, allocations: 247.2 kB / 0.5665 GB, free: 11.95 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.6382, allocations: 110.5 kB / 0.5666 GB, free: 11.84 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.6382, allocations: 4 kB / 0.5666 GB, free: 11.84 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.6384, allocations: 326.8 kB / 0.5669 GB, free: 11.51 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.6387, allocations: 88.86 kB / 0.567 GB, free: 11.43 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.639, allocations: 164 kB / 0.5672 GB, free: 11.24 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.6394, allocations: 108.3 kB / 0.5673 GB, free: 11.13 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.6394, allocations: 4 kB / 0.5673 GB, free: 11.13 MB / 411.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008531/0.6403, allocations: 317.2 kB / 0.5676 GB, free: 10.81 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.6403, allocations: 4 kB / 0.5676 GB, free: 10.81 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.6403, allocations: 4.156 kB / 0.5676 GB, free: 10.8 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.6404, allocations: 8 kB / 0.5676 GB, free: 10.8 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/0.641, allocations: 88.77 kB / 0.5677 GB, free: 10.71 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.641, allocations: 8 kB / 0.5677 GB, free: 10.7 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.6415, allocations: 15.89 kB / 0.5677 GB, free: 10.69 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.801e-05/0.6415, allocations: 16 kB / 0.5677 GB, free: 10.67 MB / 411.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 () * 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.0001789/0.6417, allocations: 128 kB / 0.5679 GB, free: 10.54 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001004/0.6427, allocations: 365.1 kB / 0.5682 GB, free: 10.18 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.6429, allocations: 59.34 kB / 0.5683 GB, free: 10.12 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.6442, allocations: 433.5 kB / 0.5687 GB, free: 9.684 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.6442, allocations: 11.98 kB / 0.5687 GB, free: 9.672 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.6442, allocations: 4 kB / 0.5687 GB, free: 9.668 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.6442, allocations: 3.984 kB / 0.5687 GB, free: 9.664 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/0.6467, allocations: 1.277 MB / 0.5699 GB, free: 8.324 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.6468, allocations: 4.156 kB / 0.5699 GB, free: 8.32 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.6471, allocations: 59.91 kB / 0.57 GB, free: 8.262 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/0.6472, allocations: 4 kB / 0.57 GB, free: 8.258 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.6472, allocations: 8 kB / 0.57 GB, free: 8.25 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/0.6472, allocations: 19.86 kB / 0.57 GB, free: 8.23 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.6473, allocations: 4.344 kB / 0.57 GB, free: 8.227 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.6487, allocations: 0.9079 MB / 0.5709 GB, free: 7.227 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.649, allocations: 164.2 kB / 0.5711 GB, free: 7.047 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.6491, allocations: 8 kB / 0.5711 GB, free: 7.039 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005766/0.6497, allocations: 20.45 kB / 0.5711 GB, free: 7.02 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.6498, allocations: 31.95 kB / 0.5711 GB, free: 6.988 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.817e-05/0.6499, allocations: 23.98 kB / 0.5712 GB, free: 6.965 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0008043/0.6507, allocations: 434.8 kB / 0.5716 GB, free: 6.543 MB / 411.1 MB Notification: Performance of sort global known variables: time 6.42e-07/0.6507, allocations: 0 / 0.5716 GB, free: 6.543 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0008994/0.6517, allocations: 83.94 kB / 0.5717 GB, free: 6.461 MB / 411.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * 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.002983/0.6547, allocations: 2.381 MB / 0.574 GB, free: 4.047 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0007884/0.6555, allocations: 259.6 kB / 0.5742 GB, free: 3.793 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6555, allocations: 0 / 0.5742 GB, free: 3.793 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003666/0.6559, allocations: 143.8 kB / 0.5744 GB, free: 3.652 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.6573, allocations: 112 kB / 0.5745 GB, free: 3.547 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.6601, allocations: 0.8505 MB / 0.5753 GB, free: 2.621 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007145/0.6608, allocations: 0.8743 MB / 0.5762 GB, free: 1.723 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004993/0.6613, allocations: 175.4 kB / 0.5763 GB, free: 1.555 MB / 411.1 MB Notification: Performance of SimCode: time 3.556e-06/0.6613, allocations: 0 / 0.5763 GB, free: 1.555 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.439/4.1, allocations: 8.509 MB / 0.5846 GB, free: 9.051 MB / 427.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat does not exist to compare? outputFormat=mat