Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 196.1 kB / 18.1 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 226.5 MB / 245.4 MB, free: 8.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008314/0.0008312, allocations: 97.84 kB / 297.5 MB, free: 6.938 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4506/0.4506, allocations: 44.83 MB / 394.3 MB, free: 35.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.0002717, allocations: 12 kB / 467.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4016, allocations: 62.96 MB / 0.5184 GB, free: 37.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1335/0.5351, allocations: 90.64 MB / 0.6069 GB, free: 14.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.5354, allocations: 83.94 kB / 0.607 GB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01783/0.5532, allocations: 6.549 MB / 0.6134 GB, free: 8.062 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5533, allocations: 0 / 0.6134 GB, free: 8.062 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.5533, allocations: 7.922 kB / 0.6134 GB, free: 8.055 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.000724/0.5541, allocations: 462.8 kB / 0.6139 GB, free: 7.551 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.5541, allocations: 8.031 kB / 0.6139 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.5542, allocations: 12.75 kB / 0.6139 GB, free: 7.531 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.5545, allocations: 229.7 kB / 0.6141 GB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.5546, allocations: 8.359 kB / 0.6141 GB, free: 7.262 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.5546, allocations: 4.375 kB / 0.6141 GB, free: 7.258 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.5547, allocations: 58.17 kB / 0.6142 GB, free: 7.195 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.5548, allocations: 192 / 0.6142 GB, free: 7.195 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.5548, allocations: 3.938 kB / 0.6142 GB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.5548, allocations: 8 kB / 0.6142 GB, free: 7.184 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.129e-05/0.5549, allocations: 15.98 kB / 0.6142 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.5553, allocations: 292.9 kB / 0.6145 GB, free: 6.832 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.5555, allocations: 66.55 kB / 0.6145 GB, free: 6.758 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.729e-05/0.5556, allocations: 24.86 kB / 0.6146 GB, free: 6.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.5556, allocations: 0 / 0.6146 GB, free: 6.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.5557, allocations: 67.38 kB / 0.6146 GB, free: 6.652 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.5558, allocations: 4 kB / 0.6146 GB, free: 6.648 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005773/0.5563, allocations: 177.1 kB / 0.6148 GB, free: 6.469 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.5564, allocations: 55.41 kB / 0.6149 GB, free: 6.402 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.5566, allocations: 210.9 kB / 0.6151 GB, free: 6.188 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.5566, allocations: 29.7 kB / 0.6151 GB, free: 6.152 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.5567, allocations: 100.1 kB / 0.6152 GB, free: 6.051 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.5568, allocations: 27.64 kB / 0.6152 GB, free: 6.023 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.5568, allocations: 0 / 0.6152 GB, free: 6.023 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5569, allocations: 334.7 kB / 0.6155 GB, free: 5.688 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-05/0.557, allocations: 27.92 kB / 0.6156 GB, free: 5.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.301e-05/0.5571, allocations: 37.64 kB / 0.6156 GB, free: 5.617 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.5572, allocations: 65.77 kB / 0.6157 GB, free: 5.547 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.5572, allocations: 0 / 0.6157 GB, free: 5.547 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001847/0.5574, allocations: 105.5 kB / 0.6158 GB, free: 5.438 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.5574, allocations: 4 kB / 0.6158 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.5574, allocations: 3.984 kB / 0.6158 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.5574, allocations: 0 / 0.6158 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.5576, allocations: 16 kB / 0.6158 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.5577, allocations: 0 / 0.6158 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.5578, allocations: 11.94 kB / 0.6158 GB, free: 5.402 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.5579, allocations: 7.984 kB / 0.6158 GB, free: 5.395 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.0002802/0.5582, allocations: 129.7 kB / 0.6159 GB, free: 5.258 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.5582, allocations: 7.906 kB / 0.6159 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005501/0.5588, allocations: 123 kB / 0.616 GB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.5589, allocations: 4 kB / 0.616 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.5589, allocations: 0 / 0.616 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.5589, allocations: 7.984 kB / 0.6161 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.56, allocations: 423.5 kB / 0.6165 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.56, allocations: 0 / 0.6165 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.5601, allocations: 12 kB / 0.6165 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.5601, allocations: 0 / 0.6165 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.5601, allocations: 4 kB / 0.6165 GB, free: 4.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5601, allocations: 0 / 0.6165 GB, free: 4.625 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5601, allocations: 3.938 kB / 0.6165 GB, free: 4.621 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.5603, allocations: 216.5 kB / 0.6167 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.5604, allocations: 96.92 kB / 0.6168 GB, free: 4.277 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.5605, allocations: 96 / 0.6168 GB, free: 4.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-05/0.5605, allocations: 15.92 kB / 0.6168 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.5606, allocations: 7.938 kB / 0.6168 GB, free: 4.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.5606, allocations: 7.984 kB / 0.6168 GB, free: 4.246 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.5607, allocations: 155.2 kB / 0.617 GB, free: 4.094 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5608, allocations: 4 kB / 0.617 GB, free: 4.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003322/0.5611, allocations: 35.88 kB / 0.617 GB, free: 4.055 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.00104/0.5621, allocations: 474.1 kB / 0.6174 GB, free: 3.754 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.5623, allocations: 55.98 kB / 0.6175 GB, free: 3.699 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5623, allocations: 0 / 0.6175 GB, free: 3.699 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.703e-05/0.5624, allocations: 40.06 kB / 0.6175 GB, free: 3.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.5628, allocations: 32.84 kB / 0.6176 GB, free: 3.633 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.5632, allocations: 266.1 kB / 0.6178 GB, free: 3.348 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.5635, allocations: 0.7121 MB / 0.6185 GB, free: 2.609 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.698e-05/0.5636, allocations: 20.55 kB / 0.6185 GB, free: 2.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.5637, allocations: 15.44 kB / 0.6186 GB, free: 2.574 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5637, allocations: 0 / 0.6186 GB, free: 2.574 MB / 426.7 MB Notification: Performance of Templates: time 0.004256/0.5679, allocations: 1.744 MB / 0.6203 GB, free: 0.8398 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches