Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001048/0.001048, allocations: 200.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 226.5 MB / 245.4 MB, free: 6.391 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000903/0.0009038, allocations: 99.09 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4387/0.4387, allocations: 44.81 MB / 394.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003161, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4454, allocations: 62.96 MB / 0.5184 GB, free: 37.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.5788, allocations: 90.64 MB / 0.6069 GB, free: 14.67 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.5792, allocations: 79.95 kB / 0.607 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01837/0.5975, allocations: 6.619 MB / 0.6135 GB, free: 7.961 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5976, allocations: 0 / 0.6135 GB, free: 7.961 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.341e-05/0.5976, allocations: 3.984 kB / 0.6135 GB, free: 7.957 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.0007615/0.5984, allocations: 454.8 kB / 0.6139 GB, free: 7.461 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.5985, allocations: 8.031 kB / 0.6139 GB, free: 7.453 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.5985, allocations: 12.83 kB / 0.6139 GB, free: 7.441 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.599, allocations: 228.5 kB / 0.6142 GB, free: 7.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.599, allocations: 12.3 kB / 0.6142 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.5991, allocations: 384 / 0.6142 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.5992, allocations: 62.22 kB / 0.6142 GB, free: 7.102 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.5992, allocations: 192 / 0.6142 GB, free: 7.102 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.5993, allocations: 3.938 kB / 0.6142 GB, free: 7.098 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.5993, allocations: 4 kB / 0.6142 GB, free: 7.094 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.002e-05/0.5994, allocations: 19.98 kB / 0.6143 GB, free: 7.074 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.5999, allocations: 300.8 kB / 0.6145 GB, free: 6.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.6001, allocations: 62.56 kB / 0.6146 GB, free: 6.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.916e-05/0.6001, allocations: 20.84 kB / 0.6146 GB, free: 6.637 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.6002, allocations: 8 kB / 0.6146 GB, free: 6.629 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.6004, allocations: 63.39 kB / 0.6147 GB, free: 6.555 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.6004, allocations: 0 / 0.6147 GB, free: 6.555 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006513/0.601, allocations: 189.1 kB / 0.6149 GB, free: 6.363 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.6011, allocations: 51.41 kB / 0.6149 GB, free: 6.301 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.6014, allocations: 220.3 kB / 0.6151 GB, free: 6.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.6014, allocations: 33.7 kB / 0.6152 GB, free: 6.031 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.647e-05/0.6015, allocations: 112 kB / 0.6153 GB, free: 5.918 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.6016, allocations: 27.59 kB / 0.6153 GB, free: 5.891 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.6016, allocations: 0 / 0.6153 GB, free: 5.891 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.6017, allocations: 334.8 kB / 0.6156 GB, free: 5.555 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.636e-05/0.6018, allocations: 23.94 kB / 0.6156 GB, free: 5.531 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.08e-05/0.6019, allocations: 33.7 kB / 0.6157 GB, free: 5.492 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.602, allocations: 61.7 kB / 0.6157 GB, free: 5.426 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.602, allocations: 0 / 0.6157 GB, free: 5.426 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002272/0.6023, allocations: 105.5 kB / 0.6158 GB, free: 5.316 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.6023, allocations: 8 kB / 0.6158 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.6023, allocations: 0 / 0.6158 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.6023, allocations: 0 / 0.6158 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.348e-05/0.6024, allocations: 15.98 kB / 0.6159 GB, free: 5.293 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.6024, allocations: 4 kB / 0.6159 GB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.046e-05/0.6025, allocations: 4.406 kB / 0.6159 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.6025, allocations: 8 kB / 0.6159 GB, free: 5.277 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.0001264/0.6027, allocations: 133.7 kB / 0.616 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.6027, allocations: 15.81 kB / 0.616 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005887/0.6033, allocations: 127 kB / 0.6161 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.6034, allocations: 0 / 0.6161 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/0.6034, allocations: 288 / 0.6161 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.6034, allocations: 0 / 0.6161 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.6045, allocations: 427.2 kB / 0.6165 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.6046, allocations: 3.938 kB / 0.6165 GB, free: 4.512 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.049e-05/0.6047, allocations: 11.98 kB / 0.6166 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.976e-06/0.6047, allocations: 0 / 0.6166 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.6048, allocations: 4 kB / 0.6166 GB, free: 4.496 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.6048, allocations: 0 / 0.6166 GB, free: 4.496 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.934e-06/0.6048, allocations: 4.172 kB / 0.6166 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.6053, allocations: 216.2 kB / 0.6168 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.6054, allocations: 96.91 kB / 0.6169 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.6054, allocations: 8 kB / 0.6169 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.633e-05/0.6055, allocations: 3.984 kB / 0.6169 GB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.6055, allocations: 7.938 kB / 0.6169 GB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.6056, allocations: 4 kB / 0.6169 GB, free: 4.125 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001726/0.6057, allocations: 173.2 kB / 0.6171 GB, free: 3.957 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.547e-06/0.6057, allocations: 0 / 0.6171 GB, free: 3.957 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003157/0.6061, allocations: 39.88 kB / 0.6171 GB, free: 3.918 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.001174/0.6072, allocations: 481.9 kB / 0.6176 GB, free: 3.605 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.6075, allocations: 59.92 kB / 0.6176 GB, free: 3.547 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6075, allocations: 0 / 0.6176 GB, free: 3.547 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.369e-05/0.6075, allocations: 31.98 kB / 0.6176 GB, free: 3.516 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.6079, allocations: 27.97 kB / 0.6177 GB, free: 3.488 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000546/0.6085, allocations: 278.6 kB / 0.6179 GB, free: 3.191 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.6088, allocations: 0.7082 MB / 0.6186 GB, free: 2.457 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.476e-05/0.6089, allocations: 20.55 kB / 0.6186 GB, free: 2.438 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.609, allocations: 19.44 kB / 0.6187 GB, free: 2.418 MB / 426.7 MB Notification: Performance of SimCode: time 4e-07/0.609, allocations: 0 / 0.6187 GB, free: 2.418 MB / 426.7 MB Notification: Performance of Templates: time 0.004561/0.6135, allocations: 1.778 MB / 0.6204 GB, free: 0.6523 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches