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.001309/0.001309, allocations: 107.9 kB / 19.8 MB, free: 2.5 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.001548/0.001548, allocations: 192.3 kB / 22.98 MB, free: 5.59 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.488/1.488, allocations: 225.6 MB / 251.6 MB, free: 13.32 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.2335/0.2335, allocations: 44.92 MB / 351.6 MB, free: 12.23 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.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.001852/0.001852, allocations: 71.88 kB / 495.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4496, allocations: 64.25 MB / 0.5465 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.004976/0.4546, allocations: 1.741 MB / 0.5482 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.4574, allocations: 0.8947 MB / 0.549 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.4575, allocations: 1 kB / 0.549 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004297/0.458, allocations: 36.55 kB / 0.5491 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000443/0.4584, allocations: 56.91 kB / 0.5491 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.459, allocations: 103.2 kB / 0.5492 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.4593, allocations: 102.9 kB / 0.5493 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.4595, allocations: 4.047 kB / 0.5493 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.4597, allocations: 43.16 kB / 0.5494 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.4598, allocations: 37.91 kB / 0.5494 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.4598, allocations: 3.719 kB / 0.5494 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.46, allocations: 38.89 kB / 0.5494 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.442e-05/0.4601, allocations: 25.23 kB / 0.5495 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.023e-05/0.4602, allocations: 32.08 kB / 0.5495 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.4606, allocations: 103.4 kB / 0.5496 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4606, allocations: 0 / 0.5496 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4606, allocations: 1.156 kB / 0.5496 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.4606, allocations: 0 / 0.5496 GB, free: 10.78 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.0009092/0.4615, allocations: 404.9 kB / 0.55 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.4615, allocations: 12.94 kB / 0.55 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.455e-05/0.4616, allocations: 13.25 kB / 0.55 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.4621, allocations: 207.6 kB / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.4621, allocations: 5.094 kB / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.4622, allocations: 1.625 kB / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.4624, allocations: 55.14 kB / 0.5503 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.4625, allocations: 0 / 0.5503 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.4625, allocations: 3.984 kB / 0.5503 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.4625, allocations: 1.469 kB / 0.5503 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.4626, allocations: 22.86 kB / 0.5503 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006878/0.4633, allocations: 283.3 kB / 0.5506 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.4636, allocations: 57.23 kB / 0.5506 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.4637, allocations: 20.06 kB / 0.5506 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.4638, allocations: 5.094 kB / 0.5506 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.464, allocations: 65.47 kB / 0.5507 GB, free: 9.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.464, allocations: 0 / 0.5507 GB, free: 9.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009455/0.465, allocations: 172.8 kB / 0.5509 GB, free: 9.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/0.465, allocations: 56.94 kB / 0.5509 GB, free: 9.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.4653, allocations: 158.8 kB / 0.5511 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.4653, allocations: 34.58 kB / 0.5511 GB, free: 9.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.4655, allocations: 103.3 kB / 0.5512 GB, free: 9.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/0.4655, allocations: 24.06 kB / 0.5512 GB, free: 9.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/0.4656, allocations: 28.22 kB / 0.5513 GB, free: 9.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.4658, allocations: 321.6 kB / 0.5516 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.4659, allocations: 23.8 kB / 0.5516 GB, free: 8.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.4661, allocations: 34.58 kB / 0.5516 GB, free: 8.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.4663, allocations: 55.03 kB / 0.5517 GB, free: 8.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4663, allocations: 1.562 kB / 0.5517 GB, free: 8.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003541/0.4666, allocations: 102.6 kB / 0.5518 GB, free: 8.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.4666, allocations: 4.656 kB / 0.5518 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4666, allocations: 1.062 kB / 0.5518 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.4667, allocations: 5.031 kB / 0.5518 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.4668, allocations: 29.02 kB / 0.5518 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4669, allocations: 1.219 kB / 0.5518 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.783e-05/0.4669, allocations: 6.312 kB / 0.5518 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.4669, allocations: 2.219 kB / 0.5518 GB, free: 8.652 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.0001603/0.4671, allocations: 124.5 kB / 0.5519 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.4672, allocations: 13.09 kB / 0.552 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.4675, allocations: 118.1 kB / 0.5521 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4675, allocations: 3.938 kB / 0.5521 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4675, allocations: 1.5 kB / 0.5521 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.4675, allocations: 3.984 kB / 0.5521 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007175/0.4683, allocations: 390.7 kB / 0.5524 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4683, allocations: 5.156 kB / 0.5525 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.587e-05/0.4683, allocations: 7.938 kB / 0.5525 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.4683, allocations: 5.172 kB / 0.5525 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.4683, allocations: 1.125 kB / 0.5525 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4684, allocations: 1.094 kB / 0.5525 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4684, allocations: 1.25 kB / 0.5525 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.4688, allocations: 203.7 kB / 0.5527 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.717e-05/0.4689, allocations: 87.11 kB / 0.5527 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.4689, allocations: 2.156 kB / 0.5527 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.469, allocations: 2.312 kB / 0.5528 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.4691, allocations: 15.17 kB / 0.5528 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.4691, allocations: 3.375 kB / 0.5528 GB, free: 7.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001722/0.4693, allocations: 124.7 kB / 0.5529 GB, free: 7.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4693, allocations: 4 kB / 0.5529 GB, free: 7.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004728/0.4698, allocations: 24.34 kB / 0.5529 GB, free: 7.652 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.002428/0.4722, allocations: 463.1 kB / 0.5534 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.4725, allocations: 67.06 kB / 0.5534 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4725, allocations: 1.094 kB / 0.5534 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.4726, allocations: 23.3 kB / 0.5534 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.4732, allocations: 36.33 kB / 0.5535 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/0.4738, allocations: 223.4 kB / 0.5537 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.4743, allocations: 0.7023 MB / 0.5544 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.4744, allocations: 13.56 kB / 0.5544 GB, free: 6.469 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.616e-05/0.4745, allocations: 19.81 kB / 0.5544 GB, free: 6.457 MB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4745, allocations: 0 / 0.5544 GB, free: 6.457 MB / 398.1 MB Notification: Performance of Templates: time 0.008121/0.4826, allocations: 1.717 MB / 0.5561 GB, free: 5.586 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.377574322745204]