Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009745/0.0009745, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 221.5 MB / 230.7 MB, free: 7.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008522/0.0008519, allocations: 83.48 kB / 281.6 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2019/0.2019, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.119e-05/2.128e-05, allocations: 8.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1199, allocations: 61.92 MB / 0.4948 GB, free: 1.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4314/0.5514, allocations: 88.52 MB / 0.5812 GB, free: 7.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.5516, allocations: 71.95 kB / 0.5813 GB, free: 7.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01505/0.5667, allocations: 5.393 MB / 0.5866 GB, free: 2.461 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.5668, allocations: 0 / 0.5866 GB, free: 2.461 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.5668, allocations: 4 kB / 0.5866 GB, free: 2.457 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004547/0.5672, allocations: 394.2 kB / 0.5869 GB, free: 2.027 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5673, allocations: 19.97 kB / 0.587 GB, free: 2.008 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.5673, allocations: 7.906 kB / 0.587 GB, free: 2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.5676, allocations: 206.8 kB / 0.5872 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.5677, allocations: 3.953 kB / 0.5872 GB, free: 1.754 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.5677, allocations: 7.891 kB / 0.5872 GB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.78e-05/0.5678, allocations: 16 kB / 0.5872 GB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.742e-05/0.5679, allocations: 57.61 kB / 0.5872 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.5679, allocations: 0 / 0.5872 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.5679, allocations: 4 kB / 0.5872 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.568, allocations: 0 / 0.5872 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.5683, allocations: 269.4 kB / 0.5875 GB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.909e-05/0.5684, allocations: 50.69 kB / 0.5876 GB, free: 1.305 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.5685, allocations: 16.98 kB / 0.5876 GB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.5685, allocations: 4 kB / 0.5876 GB, free: 1.281 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.5686, allocations: 67.39 kB / 0.5876 GB, free: 1.203 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.196e-06/0.5686, allocations: 3.984 kB / 0.5876 GB, free: 1.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004111/0.5691, allocations: 145.2 kB / 0.5878 GB, free: 1.051 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.5691, allocations: 51.41 kB / 0.5878 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.5693, allocations: 154.4 kB / 0.588 GB, free: 0.832 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.5693, allocations: 29.7 kB / 0.588 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.5693, allocations: 104.1 kB / 0.5881 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.5694, allocations: 27.64 kB / 0.5881 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.5694, allocations: 0 / 0.5881 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.5695, allocations: 314.8 kB / 0.5884 GB, free: 356 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.269e-05/0.5695, allocations: 19.98 kB / 0.5884 GB, free: 336 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.68e-05/0.5696, allocations: 34.41 kB / 0.5885 GB, free: 296 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.22e-05/0.5696, allocations: 27.94 kB / 0.5885 GB, free: 268 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.5696, allocations: 0 / 0.5885 GB, free: 268 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001284/0.5698, allocations: 93.58 kB / 0.5886 GB, free: 168 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.5698, allocations: 8.188 kB / 0.5886 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5698, allocations: 0 / 0.5886 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.5698, allocations: 3.938 kB / 0.5886 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.5699, allocations: 20.11 kB / 0.5886 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.5699, allocations: 4 kB / 0.5886 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.57, allocations: 4 kB / 0.5886 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.57, allocations: 4 kB / 0.5886 GB, free: 124 kB / 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 (10): * Single equations (assignments): 10 * 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 7.203e-05/0.5701, allocations: 110.4 kB / 0.5887 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001452/0.5702, allocations: 97.59 kB / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.5703, allocations: 11.81 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.5705, allocations: 106.3 kB / 0.589 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5705, allocations: 0 / 0.589 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5705, allocations: 0 / 0.589 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5705, allocations: 3.938 kB / 0.589 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003457/0.5708, allocations: 371.8 kB / 0.5893 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5709, allocations: 4.031 kB / 0.5893 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.5709, allocations: 19.92 kB / 0.5893 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5709, allocations: 0 / 0.5893 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.5709, allocations: 0 / 0.5893 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.5709, allocations: 4 kB / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5709, allocations: 0 / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.5711, allocations: 221.8 kB / 0.5895 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.5712, allocations: 89 kB / 0.5896 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.5712, allocations: 0 / 0.5896 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.4e-05/0.5713, allocations: 4 kB / 0.5896 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.5713, allocations: 15.94 kB / 0.5897 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.5714, allocations: 4 kB / 0.5897 GB, free: 14.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.781e-05/0.5714, allocations: 126.7 kB / 0.5898 GB, free: 14.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5715, allocations: 0 / 0.5898 GB, free: 14.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002576/0.5717, allocations: 35.92 kB / 0.5898 GB, free: 14.82 MB / 410.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: 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 (9): * Single equations (assignments): 7 * 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.001278/0.573, allocations: 1.101 MB / 0.5909 GB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.5731, allocations: 55.92 kB / 0.5909 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5731, allocations: 0 / 0.5909 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.48e-05/0.5732, allocations: 31.94 kB / 0.591 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.5735, allocations: 29.62 kB / 0.591 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.574, allocations: 211.7 kB / 0.5912 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.5743, allocations: 0.7079 MB / 0.5919 GB, free: 12.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.384e-05/0.5743, allocations: 20.42 kB / 0.5919 GB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.5744, allocations: 35.42 kB / 0.5919 GB, free: 12.61 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5744, allocations: 0 / 0.5919 GB, free: 12.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.5944, allocations: 2.582 MB / 0.5945 GB, free: 10.04 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/0.5946, allocations: 160.4 kB / 0.5946 GB, free: 9.855 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/2.171, allocations: 0 / 0.5946 GB, free: 9.855 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat