Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001622/0.001622, 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.001952/0.001952, allocations: 192.3 kB / 22.98 MB, free: 5.594 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.499/1.499, allocations: 225.6 MB / 251.6 MB, free: 13.31 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.228/0.228, allocations: 44.92 MB / 351.6 MB, free: 12.21 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 63.91 kB / 495.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4493/0.4513, allocations: 64.26 MB / 0.5465 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.004304/0.4556, allocations: 1.82 MB / 0.5482 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.4578, allocations: 0.9756 MB / 0.5492 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.729e-05/0.4579, allocations: 1.312 kB / 0.5492 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007009/0.4586, allocations: 298.7 kB / 0.5495 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004427/0.459, allocations: 214.2 kB / 0.5497 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.4595, allocations: 165.1 kB / 0.5498 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.4599, allocations: 238.7 kB / 0.5501 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.261e-05/0.4599, allocations: 5.531 kB / 0.5501 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.4602, allocations: 132.4 kB / 0.5502 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.4605, allocations: 215 kB / 0.5504 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.4605, allocations: 6.656 kB / 0.5504 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.4606, allocations: 49.3 kB / 0.5504 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.4608, allocations: 134.1 kB / 0.5506 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.461, allocations: 136.8 kB / 0.5507 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004813/0.4615, allocations: 365.8 kB / 0.5511 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4615, allocations: 0 / 0.5511 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4615, allocations: 1.281 kB / 0.5511 GB, free: 10.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.4615, allocations: 0 / 0.5511 GB, free: 10.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001196/0.4627, allocations: 0.7376 MB / 0.5518 GB, free: 9.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.4627, allocations: 8.938 kB / 0.5518 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.4629, allocations: 58.09 kB / 0.5518 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008922/0.4638, allocations: 439.1 kB / 0.5523 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.4638, allocations: 2.812 kB / 0.5523 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.4638, allocations: 6.25 kB / 0.5523 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.4641, allocations: 88.14 kB / 0.5524 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.4641, allocations: 4 kB / 0.5524 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.4641, allocations: 1.125 kB / 0.5524 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.4641, allocations: 1.125 kB / 0.5524 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.4643, allocations: 32.31 kB / 0.5524 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006404/0.4649, allocations: 372.7 kB / 0.5527 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.4652, allocations: 111.6 kB / 0.5529 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.4653, allocations: 39.42 kB / 0.5529 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.4654, allocations: 1.469 kB / 0.5529 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/0.4656, allocations: 112.3 kB / 0.553 GB, free: 8.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.4656, allocations: 0 / 0.553 GB, free: 8.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006183/0.4662, allocations: 200.5 kB / 0.5532 GB, free: 8.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.4663, allocations: 78.17 kB / 0.5533 GB, free: 8.188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.4676, allocations: 1.007 MB / 0.5542 GB, free: 7.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.4676, allocations: 27.11 kB / 0.5543 GB, free: 7.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.4679, allocations: 239.9 kB / 0.5545 GB, free: 7.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.4679, allocations: 27.84 kB / 0.5545 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-05/0.468, allocations: 29.7 kB / 0.5546 GB, free: 7.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003498/0.4683, allocations: 370.8 kB / 0.5549 GB, free: 7.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.753e-05/0.4684, allocations: 23.98 kB / 0.5549 GB, free: 7.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.4685, allocations: 55.36 kB / 0.555 GB, free: 6.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.4687, allocations: 95.34 kB / 0.5551 GB, free: 6.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4687, allocations: 0.5 kB / 0.5551 GB, free: 6.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003112/0.4691, allocations: 169.2 kB / 0.5552 GB, free: 6.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4691, allocations: 8 kB / 0.5552 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4691, allocations: 3.984 kB / 0.5552 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4691, allocations: 0 / 0.5552 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.4692, allocations: 28.06 kB / 0.5553 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.4692, allocations: 3.938 kB / 0.5553 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.4693, allocations: 15.88 kB / 0.5553 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.4694, allocations: 4 kB / 0.5553 GB, free: 6.609 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002357/0.4696, allocations: 225.7 kB / 0.5555 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.4697, allocations: 47.67 kB / 0.5556 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000411/0.4701, allocations: 193.4 kB / 0.5557 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4701, allocations: 4 kB / 0.5557 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.4701, allocations: 4 kB / 0.5558 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4701, allocations: 0 / 0.5558 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003946/0.4705, allocations: 337.3 kB / 0.5561 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4705, allocations: 4 kB / 0.5561 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.361e-05/0.4705, allocations: 11.98 kB / 0.5561 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4705, allocations: 0 / 0.5561 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.4705, allocations: 8 kB / 0.5561 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.4705, allocations: 0 / 0.5561 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4705, allocations: 3.938 kB / 0.5561 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.4709, allocations: 221.4 kB / 0.5563 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.4711, allocations: 137 kB / 0.5564 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.4711, allocations: 4 kB / 0.5564 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.973e-05/0.4712, allocations: 8 kB / 0.5565 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.4712, allocations: 11.98 kB / 0.5565 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.4713, allocations: 4 kB / 0.5565 GB, free: 5.305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008693/0.4721, allocations: 0.7565 MB / 0.5572 GB, free: 4.551 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4721, allocations: 3.938 kB / 0.5572 GB, free: 4.547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.4724, allocations: 43.98 kB / 0.5573 GB, free: 4.504 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001523/0.4739, allocations: 422 kB / 0.5577 GB, free: 4.242 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.4742, allocations: 79.91 kB / 0.5577 GB, free: 4.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4742, allocations: 0 / 0.5577 GB, free: 4.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.4743, allocations: 48.41 kB / 0.5578 GB, free: 4.117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.4748, allocations: 83.55 kB / 0.5579 GB, free: 4.047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.4762, allocations: 0.862 MB / 0.5587 GB, free: 3.156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/0.4767, allocations: 0.8425 MB / 0.5595 GB, free: 2.289 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.4768, allocations: 58.94 kB / 0.5596 GB, free: 2.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.4769, allocations: 31.44 kB / 0.5596 GB, free: 2.203 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4769, allocations: 0 / 0.5596 GB, free: 2.203 MB / 398.1 MB Notification: Performance of Templates: time 0.009006/0.4859, allocations: 3.778 MB / 0.5633 GB, free: 14.45 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.477938097901642]