Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001928/0.001928, 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.002403/0.002403, allocations: 184.9 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.583/1.583, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.2389/0.2389, 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 63.89 kB / 497.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4442, allocations: 64.3 MB / 0.5489 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003578/0.4478, allocations: 1.681 MB / 0.5505 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.4496, allocations: 0.8794 MB / 0.5514 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.223e-05/0.4497, allocations: 5.156 kB / 0.5514 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004178/0.4501, allocations: 59.72 kB / 0.5514 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.4504, allocations: 71.42 kB / 0.5515 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.4508, allocations: 118.7 kB / 0.5516 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.451, allocations: 96.22 kB / 0.5517 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.716e-05/0.4511, allocations: 2.719 kB / 0.5517 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.4512, allocations: 56.2 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.4513, allocations: 40.81 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.4514, allocations: 3.344 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.4515, allocations: 39.31 kB / 0.5519 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.803e-05/0.4515, allocations: 18.52 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.879e-05/0.4516, allocations: 26.75 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.4518, allocations: 102.3 kB / 0.552 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.4519, allocations: 3.984 kB / 0.552 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4519, allocations: 4 kB / 0.552 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.4519, allocations: 0 / 0.552 GB, free: 10.73 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.000578/0.4524, allocations: 333.7 kB / 0.5523 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4525, allocations: 9.891 kB / 0.5523 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.4525, allocations: 13.7 kB / 0.5523 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.4528, allocations: 144.2 kB / 0.5525 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.4528, allocations: 5.594 kB / 0.5525 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.4529, allocations: 6.375 kB / 0.5525 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.453, allocations: 54.8 kB / 0.5525 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.453, allocations: 0 / 0.5525 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.453, allocations: 1.25 kB / 0.5525 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.453, allocations: 0 / 0.5525 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.232e-05/0.4531, allocations: 16.77 kB / 0.5526 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.4533, allocations: 149.2 kB / 0.5527 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.4535, allocations: 53.92 kB / 0.5528 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.011e-05/0.4536, allocations: 20.05 kB / 0.5528 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.4536, allocations: 1.188 kB / 0.5528 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.4538, allocations: 67.86 kB / 0.5528 GB, free: 9.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.4538, allocations: 3.938 kB / 0.5528 GB, free: 9.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003116/0.4541, allocations: 99.62 kB / 0.5529 GB, free: 9.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.4542, allocations: 56.53 kB / 0.553 GB, free: 9.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.4543, allocations: 175 kB / 0.5532 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.4544, allocations: 31.02 kB / 0.5532 GB, free: 9.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.478e-05/0.4544, allocations: 100.3 kB / 0.5533 GB, free: 9.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.4545, allocations: 15.06 kB / 0.5533 GB, free: 9.461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.4545, allocations: 22.05 kB / 0.5533 GB, free: 9.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4547, allocations: 326.1 kB / 0.5536 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.091e-05/0.4547, allocations: 15.53 kB / 0.5536 GB, free: 9.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.2e-05/0.4548, allocations: 31.45 kB / 0.5537 GB, free: 9.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.861e-05/0.4549, allocations: 44.27 kB / 0.5537 GB, free: 9.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4549, allocations: 0 / 0.5537 GB, free: 9.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001731/0.4551, allocations: 83.02 kB / 0.5538 GB, free: 8.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4551, allocations: 9.562 kB / 0.5538 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.4551, allocations: 0 / 0.5538 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.4551, allocations: 1.188 kB / 0.5538 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.833e-05/0.4552, allocations: 13.84 kB / 0.5538 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4552, allocations: 5.328 kB / 0.5538 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.4552, allocations: 10.23 kB / 0.5538 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.4552, allocations: 2.25 kB / 0.5538 GB, free: 8.969 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.0001114/0.4553, allocations: 133.6 kB / 0.554 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.4554, allocations: 12.75 kB / 0.554 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.4556, allocations: 89.59 kB / 0.5541 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4556, allocations: 1.156 kB / 0.5541 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4556, allocations: 4 kB / 0.5541 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4556, allocations: 3.984 kB / 0.5541 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.4557, allocations: 156.4 kB / 0.5542 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4557, allocations: 0 / 0.5542 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.066e-05/0.4558, allocations: 3.406 kB / 0.5542 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4558, allocations: 1.188 kB / 0.5542 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.4558, allocations: 3.984 kB / 0.5542 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4558, allocations: 1.156 kB / 0.5542 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4558, allocations: 0 / 0.5542 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.456, allocations: 114.4 kB / 0.5543 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.456, allocations: 10.2 kB / 0.5543 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.456, allocations: 1.438 kB / 0.5543 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.4561, allocations: 1.312 kB / 0.5543 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.4561, allocations: 5.891 kB / 0.5544 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.4561, allocations: 2.406 kB / 0.5544 GB, free: 8.457 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.4562, allocations: 141.1 kB / 0.5545 GB, free: 8.355 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4562, allocations: 1.156 kB / 0.5545 GB, free: 8.355 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.4565, allocations: 35.94 kB / 0.5545 GB, free: 8.332 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.001473/0.4579, allocations: 406.3 kB / 0.5549 GB, free: 8.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.4581, allocations: 43.05 kB / 0.555 GB, free: 8.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4581, allocations: 0 / 0.555 GB, free: 8.117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.426e-05/0.4582, allocations: 18.8 kB / 0.555 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.4585, allocations: 27.44 kB / 0.555 GB, free: 8.098 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.459, allocations: 200.1 kB / 0.5552 GB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.4595, allocations: 0.7017 MB / 0.5559 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.349e-05/0.4595, allocations: 16.48 kB / 0.5559 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.4595, allocations: 17.16 kB / 0.5559 GB, free: 7.199 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4595, allocations: 0 / 0.5559 GB, free: 7.199 MB / 398.1 MB Notification: Performance of Templates: time 0.004768/0.4643, allocations: 1.5 MB / 0.5574 GB, free: 6.434 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.435554573312402]