Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_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.001086/0.001086, allocations: 183.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.4 MB / 221.9 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009551/0.0009549, allocations: 82.88 kB / 270.2 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2221/0.2221, allocations: 43.57 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004163, allocations: 11.98 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1309, allocations: 58.85 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3659/0.4969, allocations: 88.03 MB / 0.5648 GB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/0.4973, allocations: 76.39 kB / 0.5649 GB, free: 11.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03134/0.5287, allocations: 11.03 MB / 0.5757 GB, free: 2.336 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5287, allocations: 0 / 0.5757 GB, free: 2.336 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.419e-05/0.5288, allocations: 8 kB / 0.5757 GB, free: 2.328 MB / 378.7 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.001492/0.5303, allocations: 0.7451 MB / 0.5764 GB, free: 1.559 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.5303, allocations: 12.03 kB / 0.5764 GB, free: 1.547 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.553e-05/0.5304, allocations: 47.17 kB / 0.5765 GB, free: 1.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.5306, allocations: 51.34 kB / 0.5765 GB, free: 1.449 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009841/0.5316, allocations: 431.3 kB / 0.5769 GB, free: 1.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.5317, allocations: 11.56 kB / 0.5769 GB, free: 1.016 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.5317, allocations: 15.5 kB / 0.5769 GB, free: 1.004 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.5321, allocations: 207.2 kB / 0.5771 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.5321, allocations: 0 / 0.5771 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.5322, allocations: 7.312 kB / 0.5772 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.5322, allocations: 4 kB / 0.5772 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002548/0.5324, allocations: 117.5 kB / 0.5773 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.5336, allocations: 0.8864 MB / 0.5781 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007247/0.5343, allocations: 301.2 kB / 0.5784 GB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.5344, allocations: 4 kB / 0.5784 GB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005242/0.5349, allocations: 242 kB / 0.5787 GB, free: 15.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=30): time 2.365e-06/0.5349, allocations: 0 / 0.5787 GB, free: 15.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.002056/0.537, allocations: 1.004 MB / 0.5796 GB, free: 14.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.5371, allocations: 162.2 kB / 0.5798 GB, free: 14.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008288/0.538, allocations: 0.5613 MB / 0.5803 GB, free: 13.87 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.538, allocations: 36.02 kB / 0.5804 GB, free: 13.83 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.5382, allocations: 228.7 kB / 0.5806 GB, free: 13.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.859e-05/0.5383, allocations: 113.7 kB / 0.5807 GB, free: 13.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/0.5383, allocations: 7.875 kB / 0.5807 GB, free: 13.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5385, allocations: 377.5 kB / 0.5811 GB, free: 13.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.5387, allocations: 106.2 kB / 0.5812 GB, free: 13.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.539, allocations: 178.8 kB / 0.5813 GB, free: 13.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.5392, allocations: 129.3 kB / 0.5815 GB, free: 12.94 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5392, allocations: 3.953 kB / 0.5815 GB, free: 12.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007146/0.5399, allocations: 412.2 kB / 0.5819 GB, free: 12.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.54, allocations: 10.66 kB / 0.5819 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.54, allocations: 4 kB / 0.5819 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.54, allocations: 4 kB / 0.5819 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.5403, allocations: 87.7 kB / 0.582 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.5404, allocations: 4 kB / 0.582 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.5406, allocations: 23.67 kB / 0.582 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.5406, allocations: 16.12 kB / 0.582 GB, free: 12.48 MB / 394.7 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 () * Number of clocked 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.0002135/0.5408, allocations: 210.7 kB / 0.5822 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/0.5409, allocations: 63.2 kB / 0.5823 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008599/0.5418, allocations: 486.3 kB / 0.5827 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.5418, allocations: 12 kB / 0.5827 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5418, allocations: 0 / 0.5827 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5419, allocations: 0 / 0.5827 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.5436, allocations: 1.376 MB / 0.5841 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.5437, allocations: 4 kB / 0.5841 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.5438, allocations: 55.59 kB / 0.5841 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.5438, allocations: 11.94 kB / 0.5841 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.5439, allocations: 11.94 kB / 0.5842 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.5439, allocations: 7.984 kB / 0.5842 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.5439, allocations: 9.047 kB / 0.5842 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000979/0.5449, allocations: 0.951 MB / 0.5851 GB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.5451, allocations: 158.7 kB / 0.5853 GB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/0.5452, allocations: 14.75 kB / 0.5853 GB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.5455, allocations: 19.86 kB / 0.5853 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.482e-05/0.5456, allocations: 43.14 kB / 0.5853 GB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.5457, allocations: 19.98 kB / 0.5854 GB, free: 9.352 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005358/0.5462, allocations: 459.6 kB / 0.5858 GB, free: 9.012 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5462, allocations: 0 / 0.5858 GB, free: 9.012 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006519/0.5469, allocations: 106.2 kB / 0.5859 GB, free: 8.922 MB / 394.7 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) * Number of clocked states: 0 () * 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.00255/0.5494, allocations: 2.504 MB / 0.5883 GB, free: 6.504 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006711/0.5501, allocations: 310.7 kB / 0.5886 GB, free: 6.273 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.5501, allocations: 4 kB / 0.5886 GB, free: 6.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.5505, allocations: 165.3 kB / 0.5888 GB, free: 6.145 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008575/0.5513, allocations: 119.3 kB / 0.5889 GB, free: 6.055 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006228/0.5576, allocations: 4.127 MB / 0.5929 GB, free: 2.199 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.5581, allocations: 0.8735 MB / 0.5938 GB, free: 1.309 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003167/0.5585, allocations: 90.48 kB / 0.5939 GB, free: 1.223 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.5587, allocations: 181.8 kB / 0.594 GB, free: 1.156 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5587, allocations: 0 / 0.594 GB, free: 1.156 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.5827, allocations: 10.16 MB / 0.604 GB, free: 7 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/0.583, allocations: 233.6 kB / 0.6042 GB, free: 6.738 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.166/2.749, allocations: 4 kB / 0.6042 GB, free: 6.734 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat does not exist to compare? outputFormat=mat