Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001829/0.001829, allocations: 108.5 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.002902/0.002902, allocations: 187.4 kB / 24.51 MB, free: 4.031 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.582/1.582, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.2536/0.2536, allocations: 44.91 MB / 353.5 MB, free: 11.84 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 75.86 kB / 497.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4592/0.4612, allocations: 64.3 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.004029/0.4652, allocations: 1.689 MB / 0.5505 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.4669, allocations: 0.8841 MB / 0.5514 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.31e-05/0.467, allocations: 1.156 kB / 0.5514 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.4673, allocations: 53.81 kB / 0.5514 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.4676, allocations: 56.47 kB / 0.5515 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.4679, allocations: 114.3 kB / 0.5516 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.4681, allocations: 95.36 kB / 0.5517 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.842e-05/0.4681, allocations: 3.156 kB / 0.5517 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.4682, allocations: 44.95 kB / 0.5517 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.81e-05/0.4683, allocations: 25.64 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.4684, allocations: 11.05 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.276e-05/0.4685, allocations: 30.89 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.782e-05/0.4685, allocations: 23.2 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.115e-05/0.4686, allocations: 42.8 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.4689, allocations: 121.2 kB / 0.552 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4689, allocations: 0 / 0.552 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4689, allocations: 0 / 0.552 GB, free: 10.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.4689, allocations: 1.375 kB / 0.552 GB, free: 10.74 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000661/0.4695, allocations: 355.1 kB / 0.5523 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.4696, allocations: 14.3 kB / 0.5523 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.4696, allocations: 14.73 kB / 0.5524 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.4699, allocations: 156.3 kB / 0.5525 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.4699, allocations: 1.5 kB / 0.5525 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.47, allocations: 5.281 kB / 0.5525 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.4701, allocations: 52.14 kB / 0.5526 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.4701, allocations: 3.938 kB / 0.5526 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4701, allocations: 0 / 0.5526 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4702, allocations: 1.156 kB / 0.5526 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.322e-05/0.4702, allocations: 16.27 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.4704, allocations: 159 kB / 0.5527 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.4706, allocations: 57.2 kB / 0.5528 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.061e-05/0.4707, allocations: 20.19 kB / 0.5528 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.4707, allocations: 1.188 kB / 0.5528 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.4709, allocations: 67.39 kB / 0.5529 GB, free: 9.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.4709, allocations: 1.156 kB / 0.5529 GB, free: 9.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003106/0.4712, allocations: 104.6 kB / 0.553 GB, free: 9.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.4712, allocations: 51.41 kB / 0.553 GB, free: 9.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.4715, allocations: 259.8 kB / 0.5533 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.4716, allocations: 29.7 kB / 0.5533 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.968e-05/0.4716, allocations: 111.3 kB / 0.5534 GB, free: 9.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.4717, allocations: 14.19 kB / 0.5534 GB, free: 9.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.4717, allocations: 27.7 kB / 0.5534 GB, free: 9.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4719, allocations: 326.5 kB / 0.5538 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.427e-05/0.4719, allocations: 15.95 kB / 0.5538 GB, free: 9.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.069e-05/0.472, allocations: 27.23 kB / 0.5538 GB, free: 9.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.4721, allocations: 47.92 kB / 0.5538 GB, free: 8.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4721, allocations: 0 / 0.5538 GB, free: 8.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000184/0.4723, allocations: 93.31 kB / 0.5539 GB, free: 8.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4723, allocations: 4.938 kB / 0.5539 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4723, allocations: 5.062 kB / 0.5539 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4723, allocations: 1.188 kB / 0.5539 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.819e-05/0.4724, allocations: 12.36 kB / 0.5539 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.4724, allocations: 1.156 kB / 0.554 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.4725, allocations: 6.922 kB / 0.554 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.4725, allocations: 5.25 kB / 0.554 GB, free: 8.895 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 (7): * Single equations (assignments): 7 * 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.0001279/0.4726, allocations: 141.1 kB / 0.5541 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.4726, allocations: 14.41 kB / 0.5541 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.4728, allocations: 96.5 kB / 0.5542 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.4728, allocations: 5.109 kB / 0.5542 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4729, allocations: 0 / 0.5542 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4729, allocations: 1.188 kB / 0.5542 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.473, allocations: 169.2 kB / 0.5544 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.473, allocations: 3.984 kB / 0.5544 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.999e-05/0.4731, allocations: 4.062 kB / 0.5544 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.4731, allocations: 0 / 0.5544 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.4731, allocations: 5.344 kB / 0.5544 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4731, allocations: 0 / 0.5544 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4731, allocations: 1.656 kB / 0.5544 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.4733, allocations: 114.7 kB / 0.5545 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.4733, allocations: 11.25 kB / 0.5545 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.4733, allocations: 1 kB / 0.5545 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.777e-05/0.4734, allocations: 6.188 kB / 0.5545 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.4734, allocations: 13.14 kB / 0.5545 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.4734, allocations: 3.5 kB / 0.5545 GB, free: 8.363 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.4736, allocations: 194.5 kB / 0.5547 GB, free: 8.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4736, allocations: 0 / 0.5547 GB, free: 8.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.4738, allocations: 25.45 kB / 0.5547 GB, free: 8.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001558/0.4754, allocations: 403 kB / 0.5551 GB, free: 8.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.4756, allocations: 42.89 kB / 0.5552 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4756, allocations: 8 kB / 0.5552 GB, free: 8.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.888e-05/0.4757, allocations: 22.52 kB / 0.5552 GB, free: 7.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.476, allocations: 29.69 kB / 0.5552 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/0.4765, allocations: 253.8 kB / 0.5555 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.4769, allocations: 0.7234 MB / 0.5562 GB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.646e-05/0.477, allocations: 20.67 kB / 0.5562 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.477, allocations: 13.19 kB / 0.5562 GB, free: 7.051 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.477, allocations: 1.781 kB / 0.5562 GB, free: 7.051 MB / 398.1 MB Notification: Performance of Templates: time 0.005721/0.4827, allocations: 1.539 MB / 0.5577 GB, free: 6.215 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.692743263207376]