Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",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.002103/0.002104, allocations: 183.9 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.903/1.903, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001065/0.001065, allocations: 102.8 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.2315/0.2315, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003985, allocations: 16 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1253, allocations: 58.86 MB / 490.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4151/0.5404, allocations: 87.83 MB / 0.5646 GB, free: 11.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.5407, allocations: 73.66 kB / 0.5647 GB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0219/0.5626, allocations: 7.683 MB / 0.5722 GB, free: 5.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5627, allocations: 0 / 0.5722 GB, free: 5.262 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.177e-05/0.5627, allocations: 8 kB / 0.5722 GB, free: 5.254 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001058/0.5638, allocations: 0.5387 MB / 0.5727 GB, free: 4.684 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.5639, allocations: 8.031 kB / 0.5727 GB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.556e-05/0.5639, allocations: 37.81 kB / 0.5728 GB, free: 4.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.5641, allocations: 27.67 kB / 0.5728 GB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006236/0.5647, allocations: 296 kB / 0.5731 GB, free: 4.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.5647, allocations: 10.75 kB / 0.5731 GB, free: 4.281 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.5648, allocations: 4 kB / 0.5731 GB, free: 4.277 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.565, allocations: 100.8 kB / 0.5732 GB, free: 4.184 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.565, allocations: 4 kB / 0.5732 GB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.5651, allocations: 3.938 kB / 0.5732 GB, free: 4.176 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.5651, allocations: 7.922 kB / 0.5732 GB, free: 4.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.5652, allocations: 47.36 kB / 0.5733 GB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008159/0.5661, allocations: 470 kB / 0.5737 GB, free: 3.668 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.5664, allocations: 116.4 kB / 0.5738 GB, free: 3.559 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.5664, allocations: 7.984 kB / 0.5738 GB, free: 3.551 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.5667, allocations: 111.7 kB / 0.5739 GB, free: 3.438 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.746e-06/0.5667, allocations: 0 / 0.5739 GB, free: 3.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001035/0.5678, allocations: 373 kB / 0.5743 GB, free: 3.133 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.5678, allocations: 89.09 kB / 0.5744 GB, free: 3.027 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004651/0.5683, allocations: 392 kB / 0.5747 GB, free: 2.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.5683, allocations: 29.52 kB / 0.5748 GB, free: 2.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.45e-05/0.5684, allocations: 153.2 kB / 0.5749 GB, free: 2.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/0.5685, allocations: 50.67 kB / 0.575 GB, free: 2.523 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-06/0.5685, allocations: 3.938 kB / 0.575 GB, free: 2.523 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5687, allocations: 342.2 kB / 0.5753 GB, free: 2.191 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.5688, allocations: 43.17 kB / 0.5753 GB, free: 2.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.5689, allocations: 75.58 kB / 0.5754 GB, free: 2.098 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.569, allocations: 63.19 kB / 0.5755 GB, free: 2.055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.569, allocations: 0 / 0.5755 GB, free: 2.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003499/0.5694, allocations: 179.6 kB / 0.5756 GB, free: 1.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.5694, allocations: 16 kB / 0.5757 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.5695, allocations: 0.75 kB / 0.5757 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.5695, allocations: 0 / 0.5757 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.5696, allocations: 35.92 kB / 0.5757 GB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.5696, allocations: 0 / 0.5757 GB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.5697, allocations: 19.83 kB / 0.5757 GB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.5698, allocations: 4 kB / 0.5757 GB, free: 1.84 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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001757/0.57, allocations: 169.1 kB / 0.5759 GB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/0.57, allocations: 31.72 kB / 0.5759 GB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004438/0.5705, allocations: 217.6 kB / 0.5761 GB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.5705, allocations: 4.094 kB / 0.5761 GB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5705, allocations: 3.938 kB / 0.5761 GB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.5705, allocations: 3.984 kB / 0.5761 GB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000991/0.5715, allocations: 0.6909 MB / 0.5768 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5715, allocations: 0 / 0.5768 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.157e-05/0.5716, allocations: 23.94 kB / 0.5768 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.5716, allocations: 0 / 0.5768 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.5716, allocations: 11.92 kB / 0.5768 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.5716, allocations: 0 / 0.5768 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5717, allocations: 4 kB / 0.5768 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.5721, allocations: 417.9 kB / 0.5772 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.5723, allocations: 124.6 kB / 0.5774 GB, free: 228 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.5723, allocations: 11.64 kB / 0.5774 GB, free: 220 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.5725, allocations: 11.81 kB / 0.5774 GB, free: 212 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.5725, allocations: 11.98 kB / 0.5774 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.5726, allocations: 15.86 kB / 0.5774 GB, free: 188 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003624/0.5729, allocations: 312 kB / 0.5777 GB, free: 15.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5729, allocations: 0 / 0.5777 GB, free: 15.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003782/0.5733, allocations: 59.67 kB / 0.5778 GB, free: 15.89 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (18): * Single equations (assignments): 14 * 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.001843/0.5752, allocations: 1.516 MB / 0.5792 GB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003003/0.5755, allocations: 122.4 kB / 0.5794 GB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5755, allocations: 0 / 0.5794 GB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.5756, allocations: 75.45 kB / 0.5794 GB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.5761, allocations: 59.92 kB / 0.5795 GB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.5787, allocations: 1.971 MB / 0.5814 GB, free: 12.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.5792, allocations: 0.7706 MB / 0.5822 GB, free: 11.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.5793, allocations: 45.52 kB / 0.5822 GB, free: 11.56 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.5795, allocations: 88.47 kB / 0.5823 GB, free: 11.52 MB / 394.7 MB Notification: Performance of SimCode: time 8.21e-07/0.5795, allocations: 0 / 0.5823 GB, free: 11.52 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.5998, allocations: 5.557 MB / 0.5877 GB, free: 5.98 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003197/0.6002, allocations: 209.7 kB / 0.5879 GB, free: 5.738 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/2.547, allocations: 3.938 kB / 0.5879 GB, free: 5.734 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat