Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001535/0.001535, allocations: 197.2 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.463/1.463, allocations: 226.5 MB / 245.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007936/0.0007938, allocations: 97.03 kB / 297.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3264/0.3264, allocations: 44.83 MB / 394.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.0003071, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3786, allocations: 62.97 MB / 0.5184 GB, free: 37.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.5039, allocations: 90.61 MB / 0.6069 GB, free: 14.69 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.5042, allocations: 79.95 kB / 0.607 GB, free: 14.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01836/0.5225, allocations: 6.436 MB / 0.6133 GB, free: 8.164 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.987e-06/0.5226, allocations: 0 / 0.6133 GB, free: 8.164 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.86e-05/0.5226, allocations: 7.938 kB / 0.6133 GB, free: 8.156 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.0007672/0.5234, allocations: 462.7 kB / 0.6137 GB, free: 7.652 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.5235, allocations: 8.031 kB / 0.6137 GB, free: 7.645 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.5235, allocations: 16.73 kB / 0.6138 GB, free: 7.629 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.5239, allocations: 221.8 kB / 0.614 GB, free: 7.375 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.5239, allocations: 4.375 kB / 0.614 GB, free: 7.371 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.5239, allocations: 4.375 kB / 0.614 GB, free: 7.367 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.5241, allocations: 58.22 kB / 0.614 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.5241, allocations: 4.125 kB / 0.614 GB, free: 7.301 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.5241, allocations: 7.938 kB / 0.614 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5241, allocations: 4 kB / 0.614 GB, free: 7.289 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.047e-05/0.5242, allocations: 19.98 kB / 0.6141 GB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.5246, allocations: 288.9 kB / 0.6143 GB, free: 6.938 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.5248, allocations: 66.55 kB / 0.6144 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.825e-05/0.5249, allocations: 28.84 kB / 0.6144 GB, free: 6.832 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.5249, allocations: 0 / 0.6144 GB, free: 6.832 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.5251, allocations: 67.39 kB / 0.6145 GB, free: 6.754 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.5251, allocations: 0 / 0.6145 GB, free: 6.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005985/0.5257, allocations: 173.1 kB / 0.6147 GB, free: 6.578 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.5258, allocations: 59.39 kB / 0.6147 GB, free: 6.508 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.526, allocations: 206.9 kB / 0.6149 GB, free: 6.297 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.526, allocations: 29.7 kB / 0.6149 GB, free: 6.262 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.5261, allocations: 104.1 kB / 0.615 GB, free: 6.156 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.5262, allocations: 27.64 kB / 0.6151 GB, free: 6.129 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-06/0.5262, allocations: 0 / 0.6151 GB, free: 6.129 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5263, allocations: 334.7 kB / 0.6154 GB, free: 5.793 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.732e-05/0.5264, allocations: 23.98 kB / 0.6154 GB, free: 5.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.501e-05/0.5264, allocations: 33.7 kB / 0.6154 GB, free: 5.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.5266, allocations: 65.64 kB / 0.6155 GB, free: 5.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5266, allocations: 0 / 0.6155 GB, free: 5.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001863/0.5268, allocations: 109.6 kB / 0.6156 GB, free: 5.547 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.5268, allocations: 4 kB / 0.6156 GB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.5268, allocations: 0 / 0.6156 GB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.5268, allocations: 0 / 0.6156 GB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.5269, allocations: 19.98 kB / 0.6156 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.5269, allocations: 0 / 0.6156 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.527, allocations: 12.5 kB / 0.6156 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.527, allocations: 4 kB / 0.6156 GB, free: 5.508 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 9.705e-05/0.5271, allocations: 133.7 kB / 0.6158 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.5271, allocations: 7.906 kB / 0.6158 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.5274, allocations: 119 kB / 0.6159 GB, free: 5.238 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.5274, allocations: 4 kB / 0.6159 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5274, allocations: 4 kB / 0.6159 GB, free: 5.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5274, allocations: 4 kB / 0.6159 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004654/0.5279, allocations: 427.1 kB / 0.6163 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5279, allocations: 0 / 0.6163 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.5279, allocations: 15.92 kB / 0.6163 GB, free: 4.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.5279, allocations: 3.984 kB / 0.6163 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.528, allocations: 4 kB / 0.6163 GB, free: 4.727 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.528, allocations: 0 / 0.6163 GB, free: 4.727 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.528, allocations: 3.938 kB / 0.6163 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.5282, allocations: 208.3 kB / 0.6165 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.5283, allocations: 100.9 kB / 0.6166 GB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.5283, allocations: 4 kB / 0.6166 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.098e-05/0.5284, allocations: 4 kB / 0.6166 GB, free: 4.375 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.5284, allocations: 11.92 kB / 0.6167 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.5284, allocations: 4 kB / 0.6167 GB, free: 4.359 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001266/0.5286, allocations: 163.2 kB / 0.6168 GB, free: 4.199 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5286, allocations: 0 / 0.6168 GB, free: 4.199 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002901/0.5289, allocations: 35.88 kB / 0.6168 GB, free: 4.164 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.00106/0.53, allocations: 465.1 kB / 0.6173 GB, free: 3.875 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.5302, allocations: 63.91 kB / 0.6174 GB, free: 3.812 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5302, allocations: 0 / 0.6174 GB, free: 3.812 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.337e-05/0.5302, allocations: 35.92 kB / 0.6174 GB, free: 3.777 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.5306, allocations: 21.31 kB / 0.6174 GB, free: 3.758 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005541/0.5312, allocations: 270.1 kB / 0.6177 GB, free: 3.469 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.5315, allocations: 0.716 MB / 0.6184 GB, free: 2.727 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.863e-05/0.5316, allocations: 20.55 kB / 0.6184 GB, free: 2.707 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/0.5316, allocations: 15.44 kB / 0.6184 GB, free: 2.691 MB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5316, allocations: 3.938 kB / 0.6184 GB, free: 2.688 MB / 426.7 MB Notification: Performance of Templates: time 0.004415/0.536, allocations: 1.742 MB / 0.6201 GB, free: 0.9531 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches