Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.001254/0.001254, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001378/0.001378, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2317/0.2317, allocations: 44.94 MB / 358.8 MB, free: 6.059 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.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") [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.002897/0.002897, allocations: 67.91 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3543, allocations: 65.46 MB / 0.5575 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003282/0.3576, allocations: 1.604 MB / 0.559 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.3596, allocations: 1.24 MB / 0.5602 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.3597, allocations: 0 / 0.5602 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.3599, allocations: 31.84 kB / 0.5603 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.3603, allocations: 83.62 kB / 0.5603 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.3606, allocations: 115 kB / 0.5605 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.3607, allocations: 67.83 kB / 0.5605 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3608, allocations: 11.98 kB / 0.5605 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.354e-05/0.3609, allocations: 27.86 kB / 0.5606 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.361, allocations: 27.84 kB / 0.5606 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.3611, allocations: 4 kB / 0.5606 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.3612, allocations: 95.88 kB / 0.5607 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.901e-05/0.3613, allocations: 19.92 kB / 0.5607 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.3613, allocations: 15.88 kB / 0.5607 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.3616, allocations: 141.9 kB / 0.5608 GB, free: 4.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3616, allocations: 3.938 kB / 0.5609 GB, free: 4.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3616, allocations: 0 / 0.5609 GB, free: 4.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3616, allocations: 0 / 0.5609 GB, free: 4.016 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005458/0.3622, allocations: 329.7 kB / 0.5612 GB, free: 3.664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3622, allocations: 8.031 kB / 0.5612 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.3623, allocations: 8.891 kB / 0.5612 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.3625, allocations: 130.4 kB / 0.5613 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3625, allocations: 8.375 kB / 0.5613 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.3625, allocations: 4.359 kB / 0.5613 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.3627, allocations: 97.17 kB / 0.5614 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3627, allocations: 0 / 0.5614 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3627, allocations: 0 / 0.5614 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3627, allocations: 0 / 0.5614 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.637e-05/0.3628, allocations: 23.97 kB / 0.5614 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.3632, allocations: 228.5 kB / 0.5617 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.3634, allocations: 50.48 kB / 0.5617 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.3635, allocations: 16.86 kB / 0.5617 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.3635, allocations: 4 kB / 0.5617 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.3635, allocations: 34.64 kB / 0.5618 GB, free: 2.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.3635, allocations: 0 / 0.5618 GB, free: 2.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006027/0.3641, allocations: 157.4 kB / 0.5619 GB, free: 2.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.3642, allocations: 81.11 kB / 0.562 GB, free: 2.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.3644, allocations: 144.6 kB / 0.5621 GB, free: 2.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3644, allocations: 33.64 kB / 0.5622 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.3645, allocations: 92.14 kB / 0.5622 GB, free: 2.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.3645, allocations: 23.78 kB / 0.5623 GB, free: 2.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.3645, allocations: 21.72 kB / 0.5623 GB, free: 2.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3647, allocations: 318.8 kB / 0.5626 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.501e-05/0.3648, allocations: 19.98 kB / 0.5626 GB, free: 2.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-05/0.3649, allocations: 63.41 kB / 0.5627 GB, free: 1.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.365, allocations: 52.81 kB / 0.5627 GB, free: 1.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.365, allocations: 11.97 kB / 0.5627 GB, free: 1.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001951/0.3652, allocations: 81.81 kB / 0.5628 GB, free: 1.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3652, allocations: 4 kB / 0.5628 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3652, allocations: 4 kB / 0.5628 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3652, allocations: 4 kB / 0.5628 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.3653, allocations: 15.98 kB / 0.5628 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.3653, allocations: 0 / 0.5628 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.3654, allocations: 7.984 kB / 0.5628 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.3654, allocations: 4 kB / 0.5628 GB, free: 1.773 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.777e-05/0.3655, allocations: 121.8 kB / 0.563 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.3655, allocations: 3.953 kB / 0.563 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.3658, allocations: 102 kB / 0.5631 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3658, allocations: 0 / 0.5631 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3658, allocations: 0 / 0.5631 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3658, allocations: 4 kB / 0.5631 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.3662, allocations: 302.2 kB / 0.5634 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3662, allocations: 0 / 0.5634 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/0.3663, allocations: 15.92 kB / 0.5634 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3663, allocations: 0 / 0.5634 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.3663, allocations: 0 / 0.5634 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3663, allocations: 4 kB / 0.5634 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3663, allocations: 0 / 0.5634 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.3665, allocations: 183.4 kB / 0.5635 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.3666, allocations: 7.953 kB / 0.5636 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.3666, allocations: 4 kB / 0.5636 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.3667, allocations: 8.172 kB / 0.5636 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.3667, allocations: 7.938 kB / 0.5636 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.3667, allocations: 4 kB / 0.5636 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.3668, allocations: 117.8 kB / 0.5637 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3668, allocations: 0 / 0.5637 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.3671, allocations: 39.86 kB / 0.5637 GB, free: 0.7891 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001909/0.369, allocations: 0.5354 MB / 0.5643 GB, free: 480 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.3692, allocations: 51.95 kB / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3692, allocations: 4 kB / 0.5643 GB, free: 424 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.254e-05/0.3693, allocations: 23.98 kB / 0.5643 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.3697, allocations: 23.11 kB / 0.5643 GB, free: 380 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004547/0.3701, allocations: 161.6 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.174e-05/0.3702, allocations: 88.64 kB / 0.5646 GB, free: 84 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.769e-05/0.3703, allocations: 27.75 kB / 0.5646 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.3703, allocations: 15.42 kB / 0.5646 GB, free: 44 kB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3703, allocations: 0 / 0.5646 GB, free: 44 kB / 398.1 MB Notification: Performance of Templates: time 0.005293/0.3756, allocations: 1.829 MB / 0.5664 GB, free: 14.22 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.160778813064098]