Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 213.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2329/0.2329, allocations: 44.93 MB / 358.8 MB, free: 6.074 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 59.91 kB / 0.4936 GB, free: 9.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3389, allocations: 65.47 MB / 0.5575 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003376/0.3422, allocations: 1.671 MB / 0.5591 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.344, allocations: 0.952 MB / 0.5601 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.344, allocations: 4 kB / 0.5601 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.3443, allocations: 47.75 kB / 0.5601 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.3446, allocations: 103.5 kB / 0.5602 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.3448, allocations: 75.73 kB / 0.5603 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.345, allocations: 107.6 kB / 0.5604 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.345, allocations: 4.234 kB / 0.5604 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.198e-05/0.3451, allocations: 43.78 kB / 0.5604 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.294e-05/0.3452, allocations: 27.84 kB / 0.5605 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.3452, allocations: 4 kB / 0.5605 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-05/0.3453, allocations: 31.98 kB / 0.5605 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.3453, allocations: 31.86 kB / 0.5605 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.3454, allocations: 31.69 kB / 0.5606 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.3456, allocations: 129.8 kB / 0.5607 GB, free: 4.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3456, allocations: 0 / 0.5607 GB, free: 4.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3456, allocations: 0 / 0.5607 GB, free: 4.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3456, allocations: 4 kB / 0.5607 GB, free: 4.203 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.0005858/0.3462, allocations: 363.5 kB / 0.561 GB, free: 3.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3462, allocations: 12.03 kB / 0.561 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.3463, allocations: 8.891 kB / 0.5611 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.3466, allocations: 163.2 kB / 0.5612 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3466, allocations: 4.375 kB / 0.5612 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.3466, allocations: 4.125 kB / 0.5612 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.3467, allocations: 53.61 kB / 0.5613 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3467, allocations: 0 / 0.5613 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3467, allocations: 3.984 kB / 0.5613 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3467, allocations: 4 kB / 0.5613 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.007e-05/0.3468, allocations: 16 kB / 0.5613 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.347, allocations: 137.3 kB / 0.5614 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.3472, allocations: 50.61 kB / 0.5615 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.741e-05/0.3472, allocations: 20.84 kB / 0.5615 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.3473, allocations: 7.938 kB / 0.5615 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.3474, allocations: 71.31 kB / 0.5616 GB, free: 3.188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.3474, allocations: 0 / 0.5616 GB, free: 3.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003202/0.3477, allocations: 105.6 kB / 0.5617 GB, free: 3.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.3478, allocations: 51.41 kB / 0.5617 GB, free: 3.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.3481, allocations: 279.8 kB / 0.562 GB, free: 2.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.3481, allocations: 29.64 kB / 0.562 GB, free: 2.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.3482, allocations: 120.1 kB / 0.5621 GB, free: 2.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.3483, allocations: 11.91 kB / 0.5621 GB, free: 2.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.3483, allocations: 25.66 kB / 0.5622 GB, free: 2.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3485, allocations: 326.8 kB / 0.5625 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.492e-05/0.3485, allocations: 12 kB / 0.5625 GB, free: 2.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.61e-05/0.3486, allocations: 37.95 kB / 0.5625 GB, free: 2.148 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.3487, allocations: 49.7 kB / 0.5626 GB, free: 2.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3487, allocations: 0 / 0.5626 GB, free: 2.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001926/0.3489, allocations: 93.45 kB / 0.5627 GB, free: 1.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3489, allocations: 4 kB / 0.5627 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3489, allocations: 0 / 0.5627 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.3489, allocations: 4 kB / 0.5627 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.138e-05/0.349, allocations: 8 kB / 0.5627 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.349, allocations: 0 / 0.5627 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.708e-05/0.3491, allocations: 19.92 kB / 0.5627 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.3491, allocations: 3.984 kB / 0.5627 GB, free: 1.957 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.0001447/0.3492, allocations: 140.6 kB / 0.5628 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.3493, allocations: 19.84 kB / 0.5628 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.3495, allocations: 94.77 kB / 0.5629 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3495, allocations: 0 / 0.5629 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3495, allocations: 4 kB / 0.5629 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.3495, allocations: 3.984 kB / 0.5629 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.3497, allocations: 137.3 kB / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3497, allocations: 0 / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.3497, allocations: 15.98 kB / 0.5631 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3497, allocations: 3.938 kB / 0.5631 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3497, allocations: 0 / 0.5631 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3497, allocations: 3.938 kB / 0.5631 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3497, allocations: 0 / 0.5631 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.3499, allocations: 121.2 kB / 0.5632 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.35, allocations: 15.84 kB / 0.5632 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.35, allocations: 4 kB / 0.5632 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.252e-05/0.35, allocations: 7.984 kB / 0.5632 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.3501, allocations: 4 kB / 0.5632 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.3501, allocations: 4 kB / 0.5632 GB, free: 1.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002053/0.3503, allocations: 204.6 kB / 0.5634 GB, free: 1.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3503, allocations: 3.938 kB / 0.5634 GB, free: 1.117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.3505, allocations: 20 kB / 0.5635 GB, free: 1.098 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 (6): * Single equations (assignments): 4 * 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.001636/0.3521, allocations: 438.5 kB / 0.5639 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.3523, allocations: 51.91 kB / 0.5639 GB, free: 0.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3523, allocations: 0 / 0.5639 GB, free: 0.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.2e-05/0.3524, allocations: 16 kB / 0.5639 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.3527, allocations: 35.22 kB / 0.564 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.3531, allocations: 278.4 kB / 0.5642 GB, free: 460 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.989e-05/0.3532, allocations: 105.7 kB / 0.5643 GB, free: 336 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.212e-05/0.3533, allocations: 16.47 kB / 0.5644 GB, free: 320 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.3533, allocations: 15.44 kB / 0.5644 GB, free: 304 kB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3533, allocations: 0 / 0.5644 GB, free: 304 kB / 398.1 MB Notification: Performance of Templates: time 0.004884/0.3582, allocations: 1.728 MB / 0.5661 GB, free: 14.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.275522727519274]