Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001708/0.001708, 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.002315/0.002315, 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.534/1.534, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.2513/0.2513, allocations: 44.9 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 67.89 kB / 497.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.464/0.466, allocations: 64.29 MB / 0.5489 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003646/0.4697, allocations: 1.733 MB / 0.5506 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.4713, allocations: 0.9001 MB / 0.5514 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.739e-05/0.4714, allocations: 3.938 kB / 0.5515 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.4718, allocations: 81.77 kB / 0.5515 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.472, allocations: 73.98 kB / 0.5516 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.4723, allocations: 114.6 kB / 0.5517 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.4725, allocations: 110.8 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.226e-05/0.4726, allocations: 4.141 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.4728, allocations: 58.45 kB / 0.5519 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.4729, allocations: 61 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.4729, allocations: 4.469 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.473, allocations: 49.78 kB / 0.552 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.02e-05/0.473, allocations: 23.73 kB / 0.552 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.205e-05/0.4731, allocations: 32.81 kB / 0.552 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.4733, allocations: 121.2 kB / 0.5522 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.4733, allocations: 3.984 kB / 0.5522 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4733, allocations: 0 / 0.5522 GB, free: 10.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.4733, allocations: 0 / 0.5522 GB, free: 10.65 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.000587/0.4739, allocations: 340.9 kB / 0.5525 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.474, allocations: 18.81 kB / 0.5525 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.474, allocations: 14.47 kB / 0.5525 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.4743, allocations: 154.2 kB / 0.5527 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.4743, allocations: 5.625 kB / 0.5527 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.4744, allocations: 10.83 kB / 0.5527 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.4745, allocations: 56.95 kB / 0.5527 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4745, allocations: 1.25 kB / 0.5527 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.4745, allocations: 0 / 0.5527 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.4745, allocations: 5.219 kB / 0.5527 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.347e-05/0.4746, allocations: 18.3 kB / 0.5528 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.475, allocations: 258.9 kB / 0.553 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.4752, allocations: 60.19 kB / 0.5531 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.906e-05/0.4753, allocations: 20.52 kB / 0.5531 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.4753, allocations: 1.062 kB / 0.5531 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.4755, allocations: 72.72 kB / 0.5532 GB, free: 9.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.4755, allocations: 0 / 0.5532 GB, free: 9.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005469/0.476, allocations: 170.6 kB / 0.5533 GB, free: 9.566 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.4761, allocations: 57.47 kB / 0.5534 GB, free: 9.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.4763, allocations: 212 kB / 0.5536 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.4763, allocations: 34.73 kB / 0.5536 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.037e-05/0.4764, allocations: 105.5 kB / 0.5537 GB, free: 9.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.4764, allocations: 24.14 kB / 0.5537 GB, free: 9.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.4765, allocations: 28.05 kB / 0.5538 GB, free: 9.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.4766, allocations: 327 kB / 0.5541 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.159e-05/0.4767, allocations: 19.31 kB / 0.5541 GB, free: 8.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-05/0.4767, allocations: 35.08 kB / 0.5541 GB, free: 8.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.4769, allocations: 63.58 kB / 0.5542 GB, free: 8.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4769, allocations: 0 / 0.5542 GB, free: 8.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002054/0.4771, allocations: 103.7 kB / 0.5543 GB, free: 8.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4771, allocations: 5.031 kB / 0.5543 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4771, allocations: 1.188 kB / 0.5543 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.4771, allocations: 1.031 kB / 0.5543 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.303e-05/0.4772, allocations: 16.28 kB / 0.5543 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4772, allocations: 1.125 kB / 0.5543 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.007e-05/0.4773, allocations: 17.67 kB / 0.5543 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.4773, allocations: 7.469 kB / 0.5543 GB, free: 8.672 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.0001261/0.4774, allocations: 128.8 kB / 0.5544 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.4774, allocations: 17.52 kB / 0.5545 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.4777, allocations: 119.8 kB / 0.5546 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4777, allocations: 1.219 kB / 0.5546 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.4777, allocations: 5.578 kB / 0.5546 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4777, allocations: 3.938 kB / 0.5546 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005263/0.4782, allocations: 370.6 kB / 0.5549 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4782, allocations: 1.188 kB / 0.5549 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-05/0.4783, allocations: 6.844 kB / 0.5549 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4783, allocations: 1.219 kB / 0.555 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.4783, allocations: 6.438 kB / 0.555 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.4783, allocations: 0 / 0.555 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4783, allocations: 1.156 kB / 0.555 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.4786, allocations: 212.3 kB / 0.5552 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.4787, allocations: 12.45 kB / 0.5552 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.4787, allocations: 5.031 kB / 0.5552 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.4788, allocations: 6.344 kB / 0.5552 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.4788, allocations: 6.453 kB / 0.5552 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.4789, allocations: 4 kB / 0.5552 GB, free: 7.887 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002346/0.4791, allocations: 160.1 kB / 0.5553 GB, free: 7.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4791, allocations: 192 / 0.5553 GB, free: 7.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.4794, allocations: 28.02 kB / 0.5554 GB, free: 7.766 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.00203/0.4814, allocations: 462.8 kB / 0.5558 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.4817, allocations: 55.52 kB / 0.5559 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4817, allocations: 1.188 kB / 0.5559 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.267e-05/0.4818, allocations: 23.48 kB / 0.5559 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.4822, allocations: 37.41 kB / 0.5559 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007056/0.4829, allocations: 245.3 kB / 0.5562 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.4835, allocations: 0.7075 MB / 0.5569 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.687e-05/0.4835, allocations: 13.62 kB / 0.5569 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.557e-05/0.4836, allocations: 15.16 kB / 0.5569 GB, free: 6.574 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.4836, allocations: 0 / 0.5569 GB, free: 6.574 MB / 398.1 MB Notification: Performance of Templates: time 0.005726/0.4893, allocations: 1.779 MB / 0.5586 GB, free: 5.312 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.3973436346277595]