Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 196.6 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 226.5 MB / 245.4 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001005, allocations: 99.38 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3916/0.3916, allocations: 44.83 MB / 394.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.000319, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4009, allocations: 62.95 MB / 0.5184 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.5732, allocations: 90.65 MB / 0.607 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003839/0.5736, allocations: 83.94 kB / 0.607 GB, free: 14.58 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02608/0.5997, allocations: 6.565 MB / 0.6134 GB, free: 8.004 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.488e-06/0.5998, allocations: 0 / 0.6134 GB, free: 8.004 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.252e-05/0.5998, allocations: 0 / 0.6134 GB, free: 8.004 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.0008642/0.6007, allocations: 458.7 kB / 0.6139 GB, free: 7.504 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.6008, allocations: 12.03 kB / 0.6139 GB, free: 7.492 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.456e-05/0.6009, allocations: 12.75 kB / 0.6139 GB, free: 7.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/0.6014, allocations: 233.7 kB / 0.6141 GB, free: 7.215 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.6014, allocations: 384 / 0.6141 GB, free: 7.215 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.6014, allocations: 4.375 kB / 0.6141 GB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.6017, allocations: 62.17 kB / 0.6142 GB, free: 7.145 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.6017, allocations: 192 / 0.6142 GB, free: 7.145 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.6017, allocations: 3.938 kB / 0.6142 GB, free: 7.141 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.6017, allocations: 0 / 0.6142 GB, free: 7.141 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.6018, allocations: 27.97 kB / 0.6142 GB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.6024, allocations: 289 kB / 0.6145 GB, free: 6.781 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.6026, allocations: 66.55 kB / 0.6146 GB, free: 6.707 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.211e-05/0.6028, allocations: 24.84 kB / 0.6146 GB, free: 6.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.6028, allocations: 0 / 0.6146 GB, free: 6.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.603, allocations: 67.39 kB / 0.6146 GB, free: 6.602 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.214e-06/0.603, allocations: 0 / 0.6146 GB, free: 6.602 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008132/0.6038, allocations: 185.1 kB / 0.6148 GB, free: 6.414 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.6039, allocations: 51.41 kB / 0.6149 GB, free: 6.352 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.6043, allocations: 210.9 kB / 0.6151 GB, free: 6.137 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.6043, allocations: 25.7 kB / 0.6151 GB, free: 6.105 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.6044, allocations: 112.1 kB / 0.6152 GB, free: 5.992 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.884e-05/0.6045, allocations: 27.64 kB / 0.6152 GB, free: 5.965 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.6045, allocations: 4 kB / 0.6152 GB, free: 5.961 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.6046, allocations: 330.8 kB / 0.6156 GB, free: 5.629 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.353e-05/0.6047, allocations: 19.94 kB / 0.6156 GB, free: 5.609 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.124e-05/0.6048, allocations: 37.64 kB / 0.6156 GB, free: 5.566 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.605, allocations: 65.77 kB / 0.6157 GB, free: 5.496 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6051, allocations: 0 / 0.6157 GB, free: 5.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002873/0.6054, allocations: 105.5 kB / 0.6158 GB, free: 5.387 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.6054, allocations: 8 kB / 0.6158 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.6054, allocations: 0 / 0.6158 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.6054, allocations: 0 / 0.6158 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.6056, allocations: 15.98 kB / 0.6158 GB, free: 5.363 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.6056, allocations: 4 kB / 0.6158 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.305e-05/0.6057, allocations: 3.906 kB / 0.6158 GB, free: 5.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.6057, allocations: 4 kB / 0.6158 GB, free: 5.352 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.0001542/0.6058, allocations: 141.7 kB / 0.6159 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.6059, allocations: 11.89 kB / 0.616 GB, free: 5.191 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.6062, allocations: 115.1 kB / 0.6161 GB, free: 5.074 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.6063, allocations: 7.938 kB / 0.6161 GB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6063, allocations: 0 / 0.6161 GB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6063, allocations: 0 / 0.6161 GB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006781/0.607, allocations: 423.1 kB / 0.6165 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.607, allocations: 4.031 kB / 0.6165 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.6071, allocations: 12.38 kB / 0.6165 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.6071, allocations: 3.984 kB / 0.6165 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.6071, allocations: 4 kB / 0.6165 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.6071, allocations: 4 kB / 0.6165 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6071, allocations: 3.938 kB / 0.6165 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.6075, allocations: 212.5 kB / 0.6167 GB, free: 4.336 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.93e-05/0.6076, allocations: 100.9 kB / 0.6168 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.6077, allocations: 0 / 0.6168 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.6078, allocations: 4 kB / 0.6168 GB, free: 4.215 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.6078, allocations: 11.92 kB / 0.6168 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.6079, allocations: 8 kB / 0.6168 GB, free: 4.195 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002048/0.6081, allocations: 151.2 kB / 0.617 GB, free: 4.047 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6081, allocations: 0 / 0.617 GB, free: 4.047 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004726/0.6086, allocations: 39.92 kB / 0.617 GB, free: 4.008 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.001523/0.6101, allocations: 478.8 kB / 0.6175 GB, free: 3.703 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.6104, allocations: 63.95 kB / 0.6175 GB, free: 3.641 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.6104, allocations: 4.062 kB / 0.6175 GB, free: 3.637 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.6105, allocations: 35.92 kB / 0.6176 GB, free: 3.602 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.6111, allocations: 19.98 kB / 0.6176 GB, free: 3.582 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007535/0.6119, allocations: 270 kB / 0.6178 GB, free: 3.293 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.6123, allocations: 0.7082 MB / 0.6185 GB, free: 2.559 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.677e-05/0.6124, allocations: 16.55 kB / 0.6185 GB, free: 2.543 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.631e-05/0.6125, allocations: 15.44 kB / 0.6186 GB, free: 2.527 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.6125, allocations: 7.938 kB / 0.6186 GB, free: 2.52 MB / 426.7 MB Notification: Performance of Templates: time 0.006496/0.619, allocations: 1.741 MB / 0.6203 GB, free: 0.793 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches