Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001772/0.001772, allocations: 200.2 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 226.5 MB / 245.4 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000928/0.000928, allocations: 94.42 kB / 297.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3926/0.3926, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002801/0.0002801, allocations: 12 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3086, allocations: 62.97 MB / 0.5184 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.4221, allocations: 90.65 MB / 0.607 GB, free: 14.63 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.4223, allocations: 75.95 kB / 0.607 GB, free: 14.56 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01814/0.4405, allocations: 6.502 MB / 0.6134 GB, free: 8.047 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4405, allocations: 0 / 0.6134 GB, free: 8.047 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.4406, allocations: 4 kB / 0.6134 GB, free: 8.043 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.0007199/0.4413, allocations: 446.9 kB / 0.6138 GB, free: 7.555 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4413, allocations: 12.03 kB / 0.6138 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.4414, allocations: 16.73 kB / 0.6138 GB, free: 7.527 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.4418, allocations: 220.8 kB / 0.614 GB, free: 7.273 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.4418, allocations: 8.359 kB / 0.6141 GB, free: 7.266 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.4418, allocations: 384 / 0.6141 GB, free: 7.266 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.442, allocations: 58.23 kB / 0.6141 GB, free: 7.203 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.442, allocations: 4.172 kB / 0.6141 GB, free: 7.199 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.4421, allocations: 3.938 kB / 0.6141 GB, free: 7.195 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.4421, allocations: 0 / 0.6141 GB, free: 7.195 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.513e-05/0.4422, allocations: 27.92 kB / 0.6141 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.4426, allocations: 288.9 kB / 0.6144 GB, free: 6.836 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.4428, allocations: 62.61 kB / 0.6145 GB, free: 6.766 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.184e-05/0.4429, allocations: 24.84 kB / 0.6145 GB, free: 6.738 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.4429, allocations: 3.938 kB / 0.6145 GB, free: 6.734 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.443, allocations: 67.39 kB / 0.6146 GB, free: 6.656 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.4431, allocations: 4 kB / 0.6146 GB, free: 6.652 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000591/0.4437, allocations: 181.1 kB / 0.6148 GB, free: 6.469 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.4437, allocations: 51.41 kB / 0.6148 GB, free: 6.406 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.4439, allocations: 200.1 kB / 0.615 GB, free: 6.203 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.444, allocations: 29.7 kB / 0.615 GB, free: 6.168 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.444, allocations: 100.1 kB / 0.6151 GB, free: 6.066 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.4441, allocations: 23.7 kB / 0.6151 GB, free: 6.043 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.4441, allocations: 4 kB / 0.6151 GB, free: 6.039 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.4443, allocations: 326.8 kB / 0.6155 GB, free: 5.711 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.325e-05/0.4444, allocations: 27.92 kB / 0.6155 GB, free: 5.684 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.132e-05/0.4444, allocations: 33.7 kB / 0.6155 GB, free: 5.645 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.4446, allocations: 65.64 kB / 0.6156 GB, free: 5.574 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4446, allocations: 0 / 0.6156 GB, free: 5.574 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002118/0.4448, allocations: 101.4 kB / 0.6157 GB, free: 5.469 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.4448, allocations: 12.17 kB / 0.6157 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4448, allocations: 0 / 0.6157 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4449, allocations: 3.938 kB / 0.6157 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.4449, allocations: 20.38 kB / 0.6157 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.445, allocations: 0 / 0.6157 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.445, allocations: 4 kB / 0.6157 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.445, allocations: 7.984 kB / 0.6157 GB, free: 5.422 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.0001019/0.4451, allocations: 133.8 kB / 0.6158 GB, free: 5.281 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.4452, allocations: 11.91 kB / 0.6159 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.4454, allocations: 119 kB / 0.616 GB, free: 5.148 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4454, allocations: 0 / 0.616 GB, free: 5.148 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.4455, allocations: 3.984 kB / 0.616 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4455, allocations: 0 / 0.616 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.4459, allocations: 419.2 kB / 0.6164 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-06/0.446, allocations: 4.031 kB / 0.6164 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.446, allocations: 15.92 kB / 0.6164 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.446, allocations: 0 / 0.6164 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.446, allocations: 4 kB / 0.6164 GB, free: 4.652 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.446, allocations: 0 / 0.6164 GB, free: 4.652 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.446, allocations: 3.938 kB / 0.6164 GB, free: 4.648 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.4463, allocations: 212.2 kB / 0.6166 GB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-05/0.4464, allocations: 96.91 kB / 0.6167 GB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.4464, allocations: 0 / 0.6167 GB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.4465, allocations: 8 kB / 0.6167 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.4465, allocations: 11.92 kB / 0.6167 GB, free: 4.289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.4466, allocations: 0 / 0.6167 GB, free: 4.289 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.4467, allocations: 151.2 kB / 0.6169 GB, free: 4.141 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4467, allocations: 0 / 0.6169 GB, free: 4.141 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002855/0.447, allocations: 31.98 kB / 0.6169 GB, free: 4.109 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.001039/0.448, allocations: 484.8 kB / 0.6174 GB, free: 3.793 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.4483, allocations: 63.91 kB / 0.6174 GB, free: 3.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4483, allocations: 64 / 0.6174 GB, free: 3.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.581e-05/0.4484, allocations: 39.92 kB / 0.6175 GB, free: 3.691 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.4487, allocations: 19.98 kB / 0.6175 GB, free: 3.672 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.4492, allocations: 262.1 kB / 0.6177 GB, free: 3.387 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.4496, allocations: 0.7043 MB / 0.6184 GB, free: 2.656 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.015e-05/0.4496, allocations: 20.55 kB / 0.6184 GB, free: 2.637 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.4497, allocations: 15.44 kB / 0.6184 GB, free: 2.621 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4497, allocations: 0 / 0.6184 GB, free: 2.621 MB / 426.7 MB Notification: Performance of Templates: time 0.005587/0.4553, allocations: 1.73 MB / 0.6201 GB, free: 0.9102 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches