Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",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.002402/0.002403, allocations: 183.6 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001207/0.001206, allocations: 86.83 kB / 270.2 MB, free: 13.36 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.2111/0.2111, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003623, allocations: 16 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1383, allocations: 58.86 MB / 490.4 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4106/0.5489, allocations: 87.76 MB / 0.5646 GB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.5492, allocations: 72.09 kB / 0.5646 GB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01607/0.5653, allocations: 5.859 MB / 0.5704 GB, free: 7.207 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5654, allocations: 0 / 0.5704 GB, free: 7.207 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.195e-05/0.5654, allocations: 4 kB / 0.5704 GB, free: 7.203 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007614/0.5662, allocations: 466.7 kB / 0.5708 GB, free: 6.711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.5662, allocations: 11.97 kB / 0.5708 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.161e-05/0.5663, allocations: 41.19 kB / 0.5709 GB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.5663, allocations: 15.81 kB / 0.5709 GB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.5668, allocations: 240.1 kB / 0.5711 GB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.5668, allocations: 4 kB / 0.5711 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.5668, allocations: 3.312 kB / 0.5711 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.5671, allocations: 106.7 kB / 0.5712 GB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.5671, allocations: 4 kB / 0.5712 GB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.5671, allocations: 3.125 kB / 0.5712 GB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.5671, allocations: 4 kB / 0.5712 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.5672, allocations: 31.28 kB / 0.5713 GB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.5675, allocations: 222.9 kB / 0.5715 GB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.5678, allocations: 107.6 kB / 0.5716 GB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.5678, allocations: 7.188 kB / 0.5716 GB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.5681, allocations: 114.3 kB / 0.5717 GB, free: 5.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.5681, allocations: 0 / 0.5717 GB, free: 5.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005139/0.5686, allocations: 174.8 kB / 0.5718 GB, free: 5.605 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.5687, allocations: 128.5 kB / 0.572 GB, free: 5.449 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.569, allocations: 204 kB / 0.5722 GB, free: 5.273 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.569, allocations: 28.58 kB / 0.5722 GB, free: 5.242 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.096e-05/0.5691, allocations: 114.1 kB / 0.5723 GB, free: 5.148 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.5691, allocations: 23.08 kB / 0.5723 GB, free: 5.129 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.5691, allocations: 0 / 0.5723 GB, free: 5.129 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5693, allocations: 332.5 kB / 0.5726 GB, free: 4.805 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.993e-05/0.5694, allocations: 34.28 kB / 0.5727 GB, free: 4.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.5695, allocations: 73.83 kB / 0.5727 GB, free: 4.699 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.43e-05/0.5696, allocations: 36.98 kB / 0.5728 GB, free: 4.676 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5696, allocations: 4.031 kB / 0.5728 GB, free: 4.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002741/0.5699, allocations: 136.7 kB / 0.5729 GB, free: 4.559 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.5699, allocations: 8 kB / 0.5729 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.5699, allocations: 3.938 kB / 0.5729 GB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.57, allocations: 4.125 kB / 0.5729 GB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.5701, allocations: 27.92 kB / 0.573 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.5701, allocations: 0 / 0.573 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.542e-05/0.5702, allocations: 15.31 kB / 0.573 GB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.5702, allocations: 12.05 kB / 0.573 GB, free: 4.492 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001282/0.5704, allocations: 132.9 kB / 0.5731 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.5704, allocations: 19.72 kB / 0.5731 GB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.5708, allocations: 163.2 kB / 0.5733 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5708, allocations: 0 / 0.5733 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5708, allocations: 0 / 0.5733 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.5708, allocations: 4 kB / 0.5733 GB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.571, allocations: 228.3 kB / 0.5735 GB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.571, allocations: 7.984 kB / 0.5735 GB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.806e-05/0.5711, allocations: 15.94 kB / 0.5735 GB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.5711, allocations: 0 / 0.5735 GB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.5711, allocations: 4 kB / 0.5735 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.5711, allocations: 0 / 0.5735 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5711, allocations: 0 / 0.5735 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.5715, allocations: 197.7 kB / 0.5737 GB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-05/0.5716, allocations: 100.3 kB / 0.5738 GB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.5716, allocations: 7.875 kB / 0.5738 GB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.5717, allocations: 7.984 kB / 0.5738 GB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.5717, allocations: 11.92 kB / 0.5738 GB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.5718, allocations: 11.73 kB / 0.5739 GB, free: 3.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001635/0.5719, allocations: 167.6 kB / 0.574 GB, free: 3.453 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5719, allocations: 0 / 0.574 GB, free: 3.453 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002842/0.5722, allocations: 43.94 kB / 0.5741 GB, free: 3.414 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001757/0.574, allocations: 1.157 MB / 0.5752 GB, free: 2.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.5743, allocations: 90.34 kB / 0.5753 GB, free: 2.254 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.5743, allocations: 0 / 0.5753 GB, free: 2.254 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.5744, allocations: 47.47 kB / 0.5753 GB, free: 2.219 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.5748, allocations: 43.45 kB / 0.5754 GB, free: 2.184 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.5768, allocations: 1.339 MB / 0.5767 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.5772, allocations: 0.7244 MB / 0.5774 GB, free: 136 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.5773, allocations: 33.5 kB / 0.5774 GB, free: 104 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.538e-05/0.5774, allocations: 54.41 kB / 0.5775 GB, free: 72 kB / 378.7 MB Notification: Performance of SimCode: time 7.42e-07/0.5774, allocations: 0 / 0.5775 GB, free: 72 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.5957, allocations: 4.211 MB / 0.5816 GB, free: 11.88 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.5959, allocations: 210.5 kB / 0.5818 GB, free: 11.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.285, allocations: 4 kB / 0.5818 GB, free: 11.63 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat does not exist to compare? outputFormat=mat