Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001526/0.001526, allocations: 108.5 kB / 21.23 MB, free: 0.668 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.001485/0.001485, allocations: 185.1 kB / 24.51 MB, free: 4.051 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.49/1.49, 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.2404/0.2404, allocations: 44.91 MB / 353.5 MB, free: 11.91 MB / 286.1 MB " [Timeout remaining time 180] 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 67.83 kB / 497.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4507, allocations: 64.29 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.00402/0.4547, allocations: 1.731 MB / 0.5506 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.4569, allocations: 0.8994 MB / 0.5514 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.457, allocations: 5.406 kB / 0.5515 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.4573, allocations: 28.36 kB / 0.5515 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.4576, allocations: 60.28 kB / 0.5515 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.458, allocations: 111.8 kB / 0.5516 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.4582, allocations: 102.8 kB / 0.5517 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.4583, allocations: 7.141 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.4585, allocations: 44.77 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.4586, allocations: 34.64 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.4587, allocations: 3.094 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.4589, allocations: 42.77 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.607e-05/0.459, allocations: 17.3 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.878e-05/0.459, allocations: 35.36 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000347/0.4594, allocations: 104.2 kB / 0.552 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.4594, allocations: 5.172 kB / 0.552 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.4594, allocations: 0 / 0.552 GB, free: 10.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.4594, allocations: 4 kB / 0.552 GB, free: 10.7 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.0008749/0.4603, allocations: 332.9 kB / 0.5523 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/0.4604, allocations: 9.984 kB / 0.5524 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.375e-05/0.4604, allocations: 13.52 kB / 0.5524 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/0.4609, allocations: 144.2 kB / 0.5525 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.4609, allocations: 5.375 kB / 0.5525 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.461, allocations: 6.562 kB / 0.5525 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.4612, allocations: 53.23 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.4612, allocations: 9.047 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.4613, allocations: 0 / 0.5526 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.4613, allocations: 1.125 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.4614, allocations: 22.78 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006678/0.462, allocations: 247.3 kB / 0.5528 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.4623, allocations: 56.55 kB / 0.5529 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.007e-05/0.4624, allocations: 24.09 kB / 0.5529 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.4624, allocations: 0.9688 kB / 0.5529 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.4626, allocations: 74.14 kB / 0.553 GB, free: 9.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.365e-06/0.4626, allocations: 0 / 0.553 GB, free: 9.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007449/0.4634, allocations: 169 kB / 0.5531 GB, free: 9.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.4634, allocations: 60.56 kB / 0.5532 GB, free: 9.574 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.4636, allocations: 161.5 kB / 0.5534 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.4636, allocations: 26.95 kB / 0.5534 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.4637, allocations: 100.8 kB / 0.5535 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.4638, allocations: 27.28 kB / 0.5535 GB, free: 9.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.4638, allocations: 23.78 kB / 0.5535 GB, free: 9.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.464, allocations: 322 kB / 0.5538 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.5e-05/0.464, allocations: 22.52 kB / 0.5539 GB, free: 8.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.413e-05/0.4641, allocations: 39.89 kB / 0.5539 GB, free: 8.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.4642, allocations: 55.41 kB / 0.5539 GB, free: 8.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.4642, allocations: 0 / 0.5539 GB, free: 8.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002154/0.4645, allocations: 107.3 kB / 0.554 GB, free: 8.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4645, allocations: 4.656 kB / 0.5541 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4645, allocations: 1.156 kB / 0.5541 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.4645, allocations: 5.094 kB / 0.5541 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.4646, allocations: 24.36 kB / 0.5541 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4646, allocations: 1.125 kB / 0.5541 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.397e-05/0.4647, allocations: 2.688 kB / 0.5541 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.4647, allocations: 3.438 kB / 0.5541 GB, free: 8.781 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.0001375/0.4648, allocations: 128.6 kB / 0.5542 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.4649, allocations: 8.641 kB / 0.5542 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.4651, allocations: 117.3 kB / 0.5543 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4651, allocations: 1.156 kB / 0.5543 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4652, allocations: 9.219 kB / 0.5543 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4652, allocations: 3.984 kB / 0.5543 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005928/0.4658, allocations: 359.2 kB / 0.5547 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4658, allocations: 0 / 0.5547 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.4658, allocations: 16.27 kB / 0.5547 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4658, allocations: 1.281 kB / 0.5547 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.4658, allocations: 1.031 kB / 0.5547 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4658, allocations: 1.125 kB / 0.5547 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4658, allocations: 4.031 kB / 0.5547 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.4661, allocations: 200.2 kB / 0.5549 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.4661, allocations: 7.172 kB / 0.5549 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.4661, allocations: 2.281 kB / 0.5549 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.861e-05/0.4662, allocations: 6.078 kB / 0.5549 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.4663, allocations: 6.219 kB / 0.5549 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.4663, allocations: 12.64 kB / 0.5549 GB, free: 8.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.4664, allocations: 123.2 kB / 0.5551 GB, free: 7.914 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4664, allocations: 4.875 kB / 0.5551 GB, free: 7.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.4667, allocations: 23.53 kB / 0.5551 GB, free: 7.902 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.001774/0.4685, allocations: 464.5 kB / 0.5555 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.4687, allocations: 59.72 kB / 0.5556 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4687, allocations: 3.938 kB / 0.5556 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.965e-05/0.4688, allocations: 27.41 kB / 0.5556 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.4692, allocations: 24.38 kB / 0.5556 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.4697, allocations: 210.5 kB / 0.5558 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.4701, allocations: 0.7021 MB / 0.5565 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.999e-05/0.4702, allocations: 14.59 kB / 0.5565 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.4702, allocations: 23.14 kB / 0.5566 GB, free: 6.715 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4702, allocations: 0 / 0.5566 GB, free: 6.715 MB / 398.1 MB Notification: Performance of Templates: time 0.00579/0.476, allocations: 1.747 MB / 0.5583 GB, free: 5.668 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.439499272964895]