Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002267/0.002267, allocations: 187.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2407/0.2407, allocations: 44.91 MB / 353.5 MB, free: 11.81 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 71.88 kB / 497.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4407, allocations: 64.3 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004877/0.4455, allocations: 1.916 MB / 0.5508 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002626/0.4482, allocations: 1.007 MB / 0.5518 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.4483, allocations: 1.656 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.4487, allocations: 160.3 kB / 0.5519 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004673/0.4492, allocations: 142.2 kB / 0.552 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007867/0.45, allocations: 179.4 kB / 0.5522 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000559/0.4506, allocations: 233.8 kB / 0.5524 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.4507, allocations: 17.02 kB / 0.5525 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.451, allocations: 121.1 kB / 0.5526 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.4513, allocations: 137.4 kB / 0.5527 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.4514, allocations: 8.344 kB / 0.5527 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.4516, allocations: 62.03 kB / 0.5528 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.4517, allocations: 62.2 kB / 0.5528 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.4519, allocations: 72.05 kB / 0.5529 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004684/0.4523, allocations: 222.8 kB / 0.5531 GB, free: 10 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4523, allocations: 1.125 kB / 0.5531 GB, free: 10 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4523, allocations: 0 / 0.5531 GB, free: 10 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.4524, allocations: 0 / 0.5531 GB, free: 10 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001169/0.4535, allocations: 475.6 kB / 0.5536 GB, free: 9.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.4536, allocations: 8.875 kB / 0.5536 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.049e-05/0.4537, allocations: 27.42 kB / 0.5536 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/0.4542, allocations: 210.3 kB / 0.5538 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.4542, allocations: 7.781 kB / 0.5538 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.4543, allocations: 12.47 kB / 0.5538 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.4547, allocations: 108.3 kB / 0.5539 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.4547, allocations: 0 / 0.5539 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.4547, allocations: 5.156 kB / 0.5539 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.4547, allocations: 2.219 kB / 0.5539 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.4549, allocations: 48.36 kB / 0.554 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008087/0.4558, allocations: 427.7 kB / 0.5544 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005357/0.4563, allocations: 126.3 kB / 0.5545 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.4564, allocations: 38.89 kB / 0.5545 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.4565, allocations: 1.312 kB / 0.5545 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003417/0.4568, allocations: 125 kB / 0.5547 GB, free: 8.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.684e-06/0.4568, allocations: 0 / 0.5547 GB, free: 8.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00187/0.4587, allocations: 0.4907 MB / 0.5551 GB, free: 8.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/0.4587, allocations: 79.92 kB / 0.5552 GB, free: 8.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/0.4593, allocations: 360.9 kB / 0.5556 GB, free: 8.012 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.4593, allocations: 31.98 kB / 0.5556 GB, free: 7.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.4595, allocations: 140.6 kB / 0.5557 GB, free: 7.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.778e-05/0.4596, allocations: 73.88 kB / 0.5558 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.4597, allocations: 45.36 kB / 0.5558 GB, free: 7.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.4599, allocations: 338.3 kB / 0.5562 GB, free: 7.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.4601, allocations: 62.25 kB / 0.5562 GB, free: 7.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.4603, allocations: 87.38 kB / 0.5563 GB, free: 7.324 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/0.4607, allocations: 160.6 kB / 0.5565 GB, free: 7.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.4607, allocations: 1.125 kB / 0.5565 GB, free: 7.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006287/0.4613, allocations: 228.6 kB / 0.5567 GB, free: 7.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.4614, allocations: 18.56 kB / 0.5567 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.4614, allocations: 1.156 kB / 0.5567 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.4614, allocations: 2.375 kB / 0.5567 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.4616, allocations: 46.09 kB / 0.5567 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.4616, allocations: 2.188 kB / 0.5567 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.4618, allocations: 7.344 kB / 0.5567 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.4618, allocations: 7.469 kB / 0.5568 GB, free: 7.074 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002322/0.462, allocations: 166.1 kB / 0.5569 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.767e-05/0.4621, allocations: 39.75 kB / 0.5569 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007071/0.4628, allocations: 256.1 kB / 0.5572 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.4628, allocations: 4 kB / 0.5572 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.4628, allocations: 0 / 0.5572 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.4628, allocations: 4 kB / 0.5572 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.4641, allocations: 0.6912 MB / 0.5579 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4641, allocations: 0 / 0.5579 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.4643, allocations: 27.98 kB / 0.5579 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4643, allocations: 0 / 0.5579 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.4643, allocations: 12 kB / 0.5579 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4643, allocations: 0 / 0.5579 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.4643, allocations: 7.938 kB / 0.5579 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006862/0.465, allocations: 419.5 kB / 0.5583 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.465, allocations: 27.81 kB / 0.5583 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.818e-05/0.4651, allocations: 8 kB / 0.5584 GB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.4653, allocations: 15.98 kB / 0.5584 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/0.4654, allocations: 23.84 kB / 0.5584 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.4655, allocations: 12 kB / 0.5584 GB, free: 5.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003928/0.4659, allocations: 263 kB / 0.5587 GB, free: 5.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4659, allocations: 0 / 0.5587 GB, free: 5.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005142/0.4664, allocations: 47.94 kB / 0.5587 GB, free: 4.992 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002371/0.4687, allocations: 0.5209 MB / 0.5592 GB, free: 4.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005653/0.4693, allocations: 159.7 kB / 0.5594 GB, free: 4.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4693, allocations: 0 / 0.5594 GB, free: 4.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.4696, allocations: 63.91 kB / 0.5594 GB, free: 4.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008921/0.4705, allocations: 62.27 kB / 0.5595 GB, free: 4.398 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.4718, allocations: 492.6 kB / 0.56 GB, free: 3.875 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.4723, allocations: 0.7634 MB / 0.5607 GB, free: 3.086 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001619/0.4725, allocations: 33.92 kB / 0.5607 GB, free: 3.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.4726, allocations: 39.73 kB / 0.5608 GB, free: 3.012 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4726, allocations: 0 / 0.5608 GB, free: 3.012 MB / 398.1 MB Notification: Performance of Templates: time 0.01069/0.4833, allocations: 3.199 MB / 0.5639 GB, free: 15.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.759406692348421]