Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001737/0.001737, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002104/0.002104, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.255/0.255, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 88.08 kB / 481.5 MB, free: 3.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.4368, allocations: 62.44 MB / 0.5312 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003659/0.4405, allocations: 1.739 MB / 0.5329 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.4425, allocations: 1.014 MB / 0.5339 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.4426, allocations: 1.375 kB / 0.5339 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000385/0.443, allocations: 86.06 kB / 0.5339 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.4434, allocations: 121.9 kB / 0.5341 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.4436, allocations: 67 kB / 0.5341 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.4438, allocations: 125.1 kB / 0.5342 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.444, allocations: 6.875 kB / 0.5342 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.4441, allocations: 57.75 kB / 0.5343 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.4442, allocations: 63.27 kB / 0.5344 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.4442, allocations: 4.125 kB / 0.5344 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.4444, allocations: 43.39 kB / 0.5344 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.981e-05/0.4444, allocations: 20.05 kB / 0.5344 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.62e-05/0.4445, allocations: 40.78 kB / 0.5345 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.4448, allocations: 128.8 kB / 0.5346 GB, free: 11.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4448, allocations: 1 kB / 0.5346 GB, free: 11.19 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4448, allocations: 0 / 0.5346 GB, free: 11.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.4448, allocations: 0 / 0.5346 GB, free: 11.19 MB / 398.1 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.0007339/0.4455, allocations: 436.1 kB / 0.535 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.4456, allocations: 12.92 kB / 0.535 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.4456, allocations: 14.69 kB / 0.535 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.4459, allocations: 213.4 kB / 0.5352 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.446, allocations: 5.703 kB / 0.5352 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.446, allocations: 6.625 kB / 0.5352 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.4461, allocations: 56.89 kB / 0.5353 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4462, allocations: 1.094 kB / 0.5353 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.4462, allocations: 0 / 0.5353 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.4462, allocations: 5.094 kB / 0.5353 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.01e-05/0.4463, allocations: 18.55 kB / 0.5353 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.4467, allocations: 293.3 kB / 0.5356 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.4469, allocations: 57.42 kB / 0.5357 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.752e-05/0.447, allocations: 20.89 kB / 0.5357 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.447, allocations: 5.141 kB / 0.5357 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.4472, allocations: 65.8 kB / 0.5357 GB, free: 9.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.4472, allocations: 0 / 0.5357 GB, free: 9.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006001/0.4478, allocations: 179 kB / 0.5359 GB, free: 9.891 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.4479, allocations: 56.48 kB / 0.536 GB, free: 9.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.4481, allocations: 222.4 kB / 0.5362 GB, free: 9.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.4482, allocations: 30.77 kB / 0.5362 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.4483, allocations: 106.1 kB / 0.5363 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.4483, allocations: 26.81 kB / 0.5363 GB, free: 9.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.4484, allocations: 21.31 kB / 0.5364 GB, free: 9.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4485, allocations: 330.9 kB / 0.5367 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.4487, allocations: 22.58 kB / 0.5367 GB, free: 9.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.859e-05/0.4488, allocations: 43.02 kB / 0.5367 GB, free: 9.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.4489, allocations: 63.5 kB / 0.5368 GB, free: 9.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4489, allocations: 0 / 0.5368 GB, free: 9.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000209/0.4491, allocations: 104.3 kB / 0.5369 GB, free: 9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4492, allocations: 4.875 kB / 0.5369 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4492, allocations: 1.656 kB / 0.5369 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.4492, allocations: 1.125 kB / 0.5369 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.4493, allocations: 16.83 kB / 0.5369 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4493, allocations: 9.781 kB / 0.5369 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.767e-05/0.4494, allocations: 9.875 kB / 0.5369 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.4494, allocations: 1.938 kB / 0.5369 GB, free: 8.98 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.4495, allocations: 137.4 kB / 0.5371 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.4496, allocations: 14.75 kB / 0.5371 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.4496, allocations: 18.95 kB / 0.5371 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4496, allocations: 1 kB / 0.5371 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4496, allocations: 0 / 0.5371 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.4497, allocations: 5 kB / 0.5371 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.4502, allocations: 400.1 kB / 0.5375 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4502, allocations: 5.141 kB / 0.5375 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.4503, allocations: 7.438 kB / 0.5375 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4503, allocations: 1.312 kB / 0.5375 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.4503, allocations: 5.25 kB / 0.5375 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4503, allocations: 1.406 kB / 0.5375 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4503, allocations: 80 / 0.5375 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.4506, allocations: 213 kB / 0.5377 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/0.4507, allocations: 88.86 kB / 0.5378 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.4507, allocations: 5.312 kB / 0.5378 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.4508, allocations: 2.594 kB / 0.5378 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.4508, allocations: 10.83 kB / 0.5378 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.4509, allocations: 3.844 kB / 0.5378 GB, free: 8.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001696/0.451, allocations: 164.6 kB / 0.538 GB, free: 8.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.451, allocations: 4 kB / 0.538 GB, free: 8.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000267/0.4513, allocations: 21.34 kB / 0.538 GB, free: 8.008 MB / 398.1 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001787/0.4531, allocations: 466.3 kB / 0.5384 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.4533, allocations: 66.25 kB / 0.5385 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4533, allocations: 0 / 0.5385 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.372e-05/0.4534, allocations: 29.14 kB / 0.5385 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.4538, allocations: 32.8 kB / 0.5386 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005306/0.4543, allocations: 252.1 kB / 0.5388 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.4547, allocations: 0.7081 MB / 0.5395 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.84e-05/0.4548, allocations: 26.64 kB / 0.5395 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.739e-05/0.4549, allocations: 15.03 kB / 0.5395 GB, free: 6.777 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4549, allocations: 0 / 0.5395 GB, free: 6.777 MB / 398.1 MB Notification: Performance of Templates: time 0.005113/0.46, allocations: 1.753 MB / 0.5412 GB, free: 5.891 MB / 398.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches