Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001876/0.001876, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002785/0.002785, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.597/1.597, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2616/0.2616, allocations: 46.92 MB / 360.8 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 63.91 kB / 0.4967 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3609, allocations: 66.04 MB / 0.5612 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003761/0.3646, allocations: 1.672 MB / 0.5628 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.3672, allocations: 1.294 MB / 0.564 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.474e-05/0.3672, allocations: 0 / 0.564 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.3675, allocations: 35.78 kB / 0.5641 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.3678, allocations: 87.61 kB / 0.5642 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.3683, allocations: 171.3 kB / 0.5643 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.3685, allocations: 83.75 kB / 0.5644 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3686, allocations: 15.98 kB / 0.5644 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.319e-05/0.3687, allocations: 31.86 kB / 0.5645 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.3688, allocations: 39.83 kB / 0.5645 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3688, allocations: 4 kB / 0.5645 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.3691, allocations: 103.9 kB / 0.5646 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.464e-05/0.3692, allocations: 15.92 kB / 0.5646 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.111e-05/0.3693, allocations: 31.8 kB / 0.5646 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.3695, allocations: 153.8 kB / 0.5648 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3696, allocations: 3.938 kB / 0.5648 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3696, allocations: 0 / 0.5648 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.3696, allocations: 4 kB / 0.5648 GB, free: 0.6719 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005455/0.3701, allocations: 337.7 kB / 0.5651 GB, free: 320 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3702, allocations: 8.031 kB / 0.5651 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.3702, allocations: 12.83 kB / 0.5651 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.3704, allocations: 138.4 kB / 0.5653 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3704, allocations: 384 / 0.5653 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.3705, allocations: 12.31 kB / 0.5653 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.3708, allocations: 83.5 kB / 0.5654 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3708, allocations: 0 / 0.5654 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3708, allocations: 0 / 0.5654 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3708, allocations: 0 / 0.5654 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.371, allocations: 44.03 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005739/0.3715, allocations: 275.8 kB / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.3717, allocations: 54.55 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.3718, allocations: 28.88 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.3718, allocations: 3.984 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.3719, allocations: 30.56 kB / 0.5658 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3719, allocations: 0 / 0.5658 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008991/0.3728, allocations: 233.3 kB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.3729, allocations: 81.11 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.3731, allocations: 152.2 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.3732, allocations: 29.7 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.3732, allocations: 100.1 kB / 0.5663 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.3733, allocations: 23.8 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.3735, allocations: 21.7 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3736, allocations: 318.8 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.3737, allocations: 39.95 kB / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.3739, allocations: 57.62 kB / 0.5668 GB, free: 14.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.3742, allocations: 93.02 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3742, allocations: 0 / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003028/0.3745, allocations: 125.6 kB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3745, allocations: 4 kB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3745, allocations: 4.031 kB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3745, allocations: 0 / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.3747, allocations: 27.91 kB / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3747, allocations: 0 / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.3748, allocations: 15.94 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.3748, allocations: 0 / 0.567 GB, free: 14.16 MB / 414.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 (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.0001086/0.375, allocations: 125.8 kB / 0.5672 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.375, allocations: 7.953 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004753/0.3755, allocations: 138.3 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3755, allocations: 0 / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3755, allocations: 0 / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3755, allocations: 3.938 kB / 0.5673 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007168/0.3762, allocations: 389.5 kB / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3762, allocations: 3.938 kB / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.19e-05/0.3763, allocations: 23.97 kB / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3763, allocations: 0 / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.3763, allocations: 11.88 kB / 0.5677 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3763, allocations: 0 / 0.5677 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3763, allocations: 4 kB / 0.5677 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.3767, allocations: 223.4 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.3767, allocations: 3.953 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.3767, allocations: 7.938 kB / 0.5679 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.489e-05/0.3768, allocations: 7.984 kB / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.3769, allocations: 11.98 kB / 0.568 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.3769, allocations: 0 / 0.568 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.377, allocations: 115.2 kB / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.377, allocations: 4 kB / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003236/0.3773, allocations: 39.88 kB / 0.5681 GB, free: 12.98 MB / 414.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 (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 Backend phase and start with SimCode phase: time 0.001844/0.3791, allocations: 0.4936 MB / 0.5686 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003379/0.3795, allocations: 91.86 kB / 0.5687 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3795, allocations: 0 / 0.5687 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.3796, allocations: 47.97 kB / 0.5687 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.38, allocations: 27.42 kB / 0.5688 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007872/0.3808, allocations: 221.8 kB / 0.569 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.3813, allocations: 0.704 MB / 0.5697 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.378e-05/0.3814, allocations: 28.95 kB / 0.5697 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.3815, allocations: 23.42 kB / 0.5697 GB, free: 11.48 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3815, allocations: 0 / 0.5697 GB, free: 11.48 MB / 414.1 MB Notification: Performance of Templates: time 0.005479/0.387, allocations: 1.951 MB / 0.5716 GB, free: 9.535 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.522340537048876]