Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",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.001401/0.001401, allocations: 174.4 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.497/1.497, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0008489/0.0008489, allocations: 96.52 kB / 281.6 MB, free: 5.316 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.2015/0.2015, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.84e-05/2.82e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1405, allocations: 61.93 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4038/0.5444, allocations: 90.26 MB / 0.5829 GB, free: 6.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.5447, allocations: 71.97 kB / 0.583 GB, free: 6.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0147/0.5594, allocations: 4.968 MB / 0.5878 GB, free: 1.066 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5595, allocations: 0 / 0.5878 GB, free: 1.066 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.5595, allocations: 4 kB / 0.5878 GB, free: 1.062 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009066/0.5604, allocations: 0.5327 MB / 0.5884 GB, free: 484 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.5605, allocations: 15.98 kB / 0.5884 GB, free: 468 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.777e-05/0.5605, allocations: 24.41 kB / 0.5884 GB, free: 444 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.5609, allocations: 251.5 kB / 0.5886 GB, free: 148 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.561, allocations: 4 kB / 0.5887 GB, free: 144 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.561, allocations: 11.95 kB / 0.5887 GB, free: 132 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001386/0.5612, allocations: 48 kB / 0.5887 GB, free: 84 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.5614, allocations: 117.5 kB / 0.5888 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.5614, allocations: 3.938 kB / 0.5888 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.5614, allocations: 0 / 0.5888 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.5615, allocations: 7.938 kB / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008722/0.5623, allocations: 0.5444 MB / 0.5894 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.5627, allocations: 106.6 kB / 0.5895 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.56e-05/0.5628, allocations: 36.86 kB / 0.5895 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.5628, allocations: 0 / 0.5895 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.563, allocations: 99.36 kB / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.563, allocations: 0 / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003254/0.5634, allocations: 145.4 kB / 0.5897 GB, free: 14.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.5634, allocations: 55.41 kB / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.5636, allocations: 186.2 kB / 0.59 GB, free: 14.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.5637, allocations: 29.7 kB / 0.59 GB, free: 14.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.5638, allocations: 128.4 kB / 0.5901 GB, free: 14.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.5639, allocations: 31.55 kB / 0.5901 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.5639, allocations: 4 kB / 0.5901 GB, free: 14.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.5641, allocations: 334.8 kB / 0.5905 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.585e-05/0.5641, allocations: 40 kB / 0.5905 GB, free: 14.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.549e-05/0.5642, allocations: 70.17 kB / 0.5906 GB, free: 14.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.511e-05/0.5643, allocations: 34.23 kB / 0.5906 GB, free: 14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.5643, allocations: 4 kB / 0.5906 GB, free: 13.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002699/0.5646, allocations: 161.2 kB / 0.5908 GB, free: 13.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.5647, allocations: 33.7 kB / 0.5908 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.5647, allocations: 0 / 0.5908 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.5647, allocations: 0 / 0.5908 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.5649, allocations: 43.97 kB / 0.5908 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.5649, allocations: 7.938 kB / 0.5908 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.5651, allocations: 32 kB / 0.5909 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.5651, allocations: 8 kB / 0.5909 GB, free: 13.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001065/0.5653, allocations: 118.2 kB / 0.591 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002098/0.5655, allocations: 126.8 kB / 0.5911 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.5655, allocations: 19.75 kB / 0.5911 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.5658, allocations: 143.5 kB / 0.5913 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5658, allocations: 0 / 0.5913 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5658, allocations: 4 kB / 0.5913 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.5658, allocations: 3.953 kB / 0.5913 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.566, allocations: 218 kB / 0.5915 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.566, allocations: 0 / 0.5915 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.5662, allocations: 27.98 kB / 0.5915 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.5662, allocations: 3.984 kB / 0.5915 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.5662, allocations: 8 kB / 0.5915 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.5663, allocations: 0 / 0.5915 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5663, allocations: 4 kB / 0.5915 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.5666, allocations: 222.5 kB / 0.5917 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-05/0.5667, allocations: 92.94 kB / 0.5918 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.5667, allocations: 4 kB / 0.5918 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.5669, allocations: 39.97 kB / 0.5919 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.567, allocations: 15.97 kB / 0.5919 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.567, allocations: 8 kB / 0.5919 GB, free: 12.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001405/0.5672, allocations: 156.6 kB / 0.592 GB, free: 12.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5672, allocations: 0 / 0.592 GB, free: 12.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002723/0.5674, allocations: 47.92 kB / 0.5921 GB, free: 12.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001337/0.5688, allocations: 1.001 MB / 0.5931 GB, free: 11.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.5691, allocations: 151.3 kB / 0.5932 GB, free: 11.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5691, allocations: 4 kB / 0.5932 GB, free: 11.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.061e-05/0.5692, allocations: 47.92 kB / 0.5933 GB, free: 11.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.5695, allocations: 44.2 kB / 0.5933 GB, free: 11.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007272/0.5702, allocations: 281.2 kB / 0.5936 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.5706, allocations: 0.7241 MB / 0.5943 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.62e-05/0.5707, allocations: 33.31 kB / 0.5943 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.5708, allocations: 55.41 kB / 0.5944 GB, free: 10.02 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5708, allocations: 0 / 0.5944 GB, free: 10.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.595, allocations: 3.93 MB / 0.5982 GB, free: 6.105 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.5953, allocations: 166.6 kB / 0.5984 GB, free: 5.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.286, allocations: 3.938 kB / 0.5984 GB, free: 5.906 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat