Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00167/0.00167, allocations: 201.2 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 226.5 MB / 245.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009072/0.0009072, allocations: 101.7 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4325/0.4325, allocations: 44.82 MB / 394.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003087, allocations: 12 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.3994, allocations: 62.96 MB / 0.5184 GB, free: 37.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.529, allocations: 90.65 MB / 0.607 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.5293, allocations: 83.94 kB / 0.607 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01852/0.5478, allocations: 6.808 MB / 0.6137 GB, free: 7.766 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.5479, allocations: 0 / 0.6137 GB, free: 7.766 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.132e-05/0.5479, allocations: 4 kB / 0.6137 GB, free: 7.762 MB / 426.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.0006261/0.5486, allocations: 486.5 kB / 0.6142 GB, free: 7.234 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.5486, allocations: 8.031 kB / 0.6142 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.5487, allocations: 12.84 kB / 0.6142 GB, free: 7.215 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.549, allocations: 240.9 kB / 0.6144 GB, free: 6.938 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.549, allocations: 4.375 kB / 0.6144 GB, free: 6.934 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.5491, allocations: 384 / 0.6144 GB, free: 6.934 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.5492, allocations: 58.17 kB / 0.6145 GB, free: 6.871 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.5492, allocations: 4.188 kB / 0.6145 GB, free: 6.867 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.5493, allocations: 3.938 kB / 0.6145 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.5493, allocations: 4 kB / 0.6145 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.328e-05/0.5493, allocations: 23.98 kB / 0.6145 GB, free: 6.836 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.5498, allocations: 300.9 kB / 0.6148 GB, free: 6.492 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.55, allocations: 66.56 kB / 0.6148 GB, free: 6.418 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.825e-05/0.5501, allocations: 28.84 kB / 0.6149 GB, free: 6.387 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.5501, allocations: 0 / 0.6149 GB, free: 6.387 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.5503, allocations: 71.3 kB / 0.6149 GB, free: 6.305 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.5503, allocations: 0 / 0.6149 GB, free: 6.305 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005812/0.5509, allocations: 185.1 kB / 0.6151 GB, free: 6.117 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.5509, allocations: 51.41 kB / 0.6152 GB, free: 6.055 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.5512, allocations: 271.9 kB / 0.6154 GB, free: 5.777 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.5512, allocations: 33.7 kB / 0.6155 GB, free: 5.738 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.602e-05/0.5513, allocations: 120 kB / 0.6156 GB, free: 5.617 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.5514, allocations: 19.8 kB / 0.6156 GB, free: 5.598 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.5514, allocations: 4 kB / 0.6156 GB, free: 5.594 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5515, allocations: 334.7 kB / 0.6159 GB, free: 5.258 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-05/0.5516, allocations: 20 kB / 0.6159 GB, free: 5.238 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.51e-05/0.5516, allocations: 37.64 kB / 0.616 GB, free: 5.195 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.5518, allocations: 65.7 kB / 0.616 GB, free: 5.125 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5518, allocations: 0 / 0.616 GB, free: 5.125 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002062/0.552, allocations: 105.4 kB / 0.6161 GB, free: 5.016 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.552, allocations: 4 kB / 0.6161 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.552, allocations: 4 kB / 0.6161 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.552, allocations: 0 / 0.6161 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.469e-05/0.5521, allocations: 19.98 kB / 0.6162 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.5522, allocations: 0 / 0.6162 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.349e-05/0.5522, allocations: 11.94 kB / 0.6162 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.5522, allocations: 4 kB / 0.6162 GB, free: 4.973 MB / 426.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 () * Number of clocked 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 0.0001191/0.5524, allocations: 137.8 kB / 0.6163 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.5524, allocations: 19.75 kB / 0.6163 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.5527, allocations: 123 kB / 0.6164 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.5527, allocations: 4 kB / 0.6164 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5527, allocations: 0 / 0.6164 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5527, allocations: 3.938 kB / 0.6165 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005079/0.5532, allocations: 443.2 kB / 0.6169 GB, free: 4.184 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.5532, allocations: 4 kB / 0.6169 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.5533, allocations: 11.94 kB / 0.6169 GB, free: 4.168 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5533, allocations: 0 / 0.6169 GB, free: 4.168 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.5533, allocations: 3.984 kB / 0.6169 GB, free: 4.164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5533, allocations: 4 kB / 0.6169 GB, free: 4.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5533, allocations: 3.938 kB / 0.6169 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.5536, allocations: 216.8 kB / 0.6171 GB, free: 3.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.5537, allocations: 104.9 kB / 0.6172 GB, free: 3.805 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.5537, allocations: 0 / 0.6172 GB, free: 3.805 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-05/0.5538, allocations: 12 kB / 0.6172 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.5538, allocations: 11.92 kB / 0.6172 GB, free: 3.781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.5539, allocations: 4 kB / 0.6172 GB, free: 3.777 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001853/0.554, allocations: 204.6 kB / 0.6174 GB, free: 3.578 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5541, allocations: 0 / 0.6174 GB, free: 3.578 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00029/0.5544, allocations: 39.94 kB / 0.6175 GB, free: 3.539 MB / 426.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) * Number of clocked states: 0 () * 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.001043/0.5554, allocations: 476.6 kB / 0.6179 GB, free: 3.238 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.5556, allocations: 59.97 kB / 0.618 GB, free: 3.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.5556, allocations: 0 / 0.618 GB, free: 3.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.768e-05/0.5557, allocations: 31.92 kB / 0.618 GB, free: 3.148 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.556, allocations: 28.98 kB / 0.618 GB, free: 3.121 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006404/0.5567, allocations: 327 kB / 0.6184 GB, free: 2.773 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.5571, allocations: 0.7239 MB / 0.6191 GB, free: 2.023 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.306e-05/0.5571, allocations: 16.55 kB / 0.6191 GB, free: 2.008 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.5572, allocations: 19.44 kB / 0.6191 GB, free: 1.988 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5572, allocations: 0 / 0.6191 GB, free: 1.988 MB / 426.7 MB Notification: Performance of Templates: time 0.004607/0.5618, allocations: 1.874 MB / 0.6209 GB, free: 128 kB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches