Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",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.001491/0.001491, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.93/1.93, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008072/0.0008072, allocations: 89.84 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5124/0.5124, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.83e-05/3.834e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1465, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5134/0.66, allocations: 87.45 MB / 0.5583 GB, free: 16.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.6603, allocations: 71.72 kB / 0.5584 GB, free: 16.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01541/0.6757, allocations: 5.517 MB / 0.5638 GB, free: 13.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.749e-06/0.6758, allocations: 0 / 0.5638 GB, free: 13.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.6758, allocations: 4.656 kB / 0.5638 GB, free: 13.36 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005026/0.6763, allocations: 409.4 kB / 0.5642 GB, free: 12.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.6764, allocations: 8.031 kB / 0.5642 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.587e-05/0.6764, allocations: 36.58 kB / 0.5642 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.6765, allocations: 20.31 kB / 0.5642 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.6768, allocations: 229.4 kB / 0.5644 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.6768, allocations: 0 / 0.5644 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.6768, allocations: 0 / 0.5644 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.6769, allocations: 49.48 kB / 0.5645 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.6769, allocations: 3.938 kB / 0.5645 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.677, allocations: 0 / 0.5645 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.677, allocations: 1.375 kB / 0.5645 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.873e-05/0.677, allocations: 14.62 kB / 0.5645 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.6772, allocations: 199.4 kB / 0.5647 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.546e-05/0.6773, allocations: 47.94 kB / 0.5647 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.504e-05/0.6774, allocations: 15.73 kB / 0.5648 GB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.6774, allocations: 8.062 kB / 0.5648 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/0.6775, allocations: 73.66 kB / 0.5648 GB, free: 12.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.6775, allocations: 0 / 0.5648 GB, free: 12.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001865/0.6777, allocations: 81.55 kB / 0.5649 GB, free: 12.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.6778, allocations: 55.41 kB / 0.565 GB, free: 12.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.678, allocations: 230.9 kB / 0.5652 GB, free: 11.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.678, allocations: 29.53 kB / 0.5652 GB, free: 11.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.678, allocations: 111.6 kB / 0.5653 GB, free: 11.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.6781, allocations: 15.19 kB / 0.5653 GB, free: 11.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.6781, allocations: 0 / 0.5653 GB, free: 11.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.41e-05/0.6782, allocations: 333.6 kB / 0.5657 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.999e-05/0.6782, allocations: 18.61 kB / 0.5657 GB, free: 11.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.6783, allocations: 31.39 kB / 0.5657 GB, free: 11.35 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.304e-05/0.6783, allocations: 21.45 kB / 0.5657 GB, free: 11.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6783, allocations: 0 / 0.5657 GB, free: 11.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001054/0.6784, allocations: 78.41 kB / 0.5658 GB, free: 11.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.6784, allocations: 5.094 kB / 0.5658 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.6784, allocations: 7.969 kB / 0.5658 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.6785, allocations: 0 / 0.5658 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.6786, allocations: 12 kB / 0.5658 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.6786, allocations: 0 / 0.5658 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.874e-05/0.6787, allocations: 15.02 kB / 0.5658 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.6787, allocations: 0 / 0.5658 GB, free: 11.23 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.515e-05/0.6787, allocations: 113.5 kB / 0.5659 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.6788, allocations: 11.91 kB / 0.566 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.6789, allocations: 94.73 kB / 0.566 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.6789, allocations: 4 kB / 0.5661 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6789, allocations: 0 / 0.5661 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.679, allocations: 3.984 kB / 0.5661 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.6791, allocations: 218.3 kB / 0.5663 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.6791, allocations: 0 / 0.5663 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/0.6791, allocations: 4 kB / 0.5663 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.6791, allocations: 0 / 0.5663 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.6791, allocations: 4 kB / 0.5663 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6791, allocations: 0 / 0.5663 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6792, allocations: 0 / 0.5663 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.6793, allocations: 113.1 kB / 0.5664 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.6794, allocations: 104.9 kB / 0.5665 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.6794, allocations: 8.5 kB / 0.5665 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.434e-05/0.6794, allocations: 4.812 kB / 0.5665 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.6795, allocations: 3.984 kB / 0.5665 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.6795, allocations: 7.938 kB / 0.5665 GB, free: 10.51 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.6797, allocations: 196.8 kB / 0.5667 GB, free: 10.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6797, allocations: 4 kB / 0.5667 GB, free: 10.35 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002027/0.6799, allocations: 26.69 kB / 0.5667 GB, free: 10.33 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001076/0.681, allocations: 0.922 MB / 0.5676 GB, free: 9.469 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.6811, allocations: 45.11 kB / 0.5677 GB, free: 9.438 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6811, allocations: 0 / 0.5677 GB, free: 9.438 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.045e-05/0.6811, allocations: 27.19 kB / 0.5677 GB, free: 9.414 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.6814, allocations: 20.31 kB / 0.5677 GB, free: 9.402 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.6819, allocations: 268.2 kB / 0.568 GB, free: 9.125 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.682, allocations: 0.7223 MB / 0.5687 GB, free: 8.383 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.152e-05/0.6821, allocations: 27.39 kB / 0.5687 GB, free: 8.359 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.6822, allocations: 36.55 kB / 0.5687 GB, free: 8.344 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.6822, allocations: 4 kB / 0.5687 GB, free: 8.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.6964, allocations: 3.139 MB / 0.5718 GB, free: 5.23 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/0.6965, allocations: 191.2 kB / 0.572 GB, free: 5.004 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.363, allocations: 4 kB / 0.572 GB, free: 5 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat does not exist to compare? outputFormat=mat