Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.001819/0.001819, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002265/0.002265, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.263/0.263, allocations: 44.9 MB / 359.6 MB, free: 6.289 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.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") [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.002232/0.002232, allocations: 67.89 kB / 0.4943 GB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3607, allocations: 65.46 MB / 0.5583 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003212/0.3639, allocations: 1.641 MB / 0.5599 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.365, allocations: 0.5621 MB / 0.5604 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.729e-05/0.3651, allocations: 3.938 kB / 0.5604 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.3654, allocations: 131.6 kB / 0.5605 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.3658, allocations: 127.5 kB / 0.5607 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.3661, allocations: 107.7 kB / 0.5608 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.3663, allocations: 103.7 kB / 0.5609 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3664, allocations: 15.66 kB / 0.5609 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.897e-05/0.3665, allocations: 51.81 kB / 0.5609 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.3666, allocations: 91.77 kB / 0.561 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.3667, allocations: 7.938 kB / 0.561 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.867e-05/0.3668, allocations: 43.98 kB / 0.5611 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.361e-05/0.3668, allocations: 31.91 kB / 0.5611 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.3669, allocations: 39.67 kB / 0.5611 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.3671, allocations: 118.2 kB / 0.5613 GB, free: 4.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3671, allocations: 0 / 0.5613 GB, free: 4.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3671, allocations: 4 kB / 0.5613 GB, free: 4.633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3671, allocations: 7.875 kB / 0.5613 GB, free: 4.625 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.0005606/0.3677, allocations: 365.4 kB / 0.5616 GB, free: 4.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3677, allocations: 8.031 kB / 0.5616 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.3678, allocations: 16.84 kB / 0.5616 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.368, allocations: 162.4 kB / 0.5618 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.368, allocations: 4.375 kB / 0.5618 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.368, allocations: 384 / 0.5618 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3682, allocations: 69.78 kB / 0.5619 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.3682, allocations: 0 / 0.5619 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3682, allocations: 0 / 0.5619 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3682, allocations: 0 / 0.5619 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.3683, allocations: 27.92 kB / 0.5619 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.3688, allocations: 279.9 kB / 0.5622 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.3689, allocations: 50.48 kB / 0.5622 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.369, allocations: 16.86 kB / 0.5622 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.369, allocations: 0 / 0.5622 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.369, allocations: 34.64 kB / 0.5623 GB, free: 3.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.369, allocations: 4 kB / 0.5623 GB, free: 3.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000946/0.37, allocations: 257.1 kB / 0.5625 GB, free: 3.227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.37, allocations: 55.41 kB / 0.5626 GB, free: 3.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.3703, allocations: 271.8 kB / 0.5628 GB, free: 2.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.3704, allocations: 33.64 kB / 0.5628 GB, free: 2.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.295e-05/0.3704, allocations: 112.1 kB / 0.563 GB, free: 2.723 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.3705, allocations: 27.73 kB / 0.563 GB, free: 2.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.3705, allocations: 29.72 kB / 0.563 GB, free: 2.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3707, allocations: 322.8 kB / 0.5633 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.3708, allocations: 31.97 kB / 0.5633 GB, free: 2.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.542e-05/0.3709, allocations: 27.98 kB / 0.5634 GB, free: 2.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.371, allocations: 84.69 kB / 0.5635 GB, free: 2.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.371, allocations: 0 / 0.5635 GB, free: 2.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002309/0.3713, allocations: 117.5 kB / 0.5636 GB, free: 2.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3713, allocations: 4 kB / 0.5636 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3713, allocations: 0 / 0.5636 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.3713, allocations: 4 kB / 0.5636 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3714, allocations: 15.98 kB / 0.5636 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.3714, allocations: 4 kB / 0.5636 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.3715, allocations: 11.92 kB / 0.5636 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3715, allocations: 8 kB / 0.5636 GB, free: 2.023 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 (8): * Single equations (assignments): 8 * 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.000132/0.3716, allocations: 143.1 kB / 0.5637 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.3717, allocations: 11.91 kB / 0.5638 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.372, allocations: 135.3 kB / 0.5639 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.372, allocations: 0 / 0.5639 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.372, allocations: 0 / 0.5639 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.372, allocations: 3.938 kB / 0.5639 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005909/0.3726, allocations: 402.3 kB / 0.5643 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3726, allocations: 4 kB / 0.5643 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.757e-05/0.3727, allocations: 19.92 kB / 0.5643 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3727, allocations: 3.938 kB / 0.5643 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.3727, allocations: 8 kB / 0.5643 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3727, allocations: 0 / 0.5643 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3727, allocations: 0 / 0.5643 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.373, allocations: 220.3 kB / 0.5645 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.373, allocations: 15.84 kB / 0.5645 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.373, allocations: 0 / 0.5645 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.3731, allocations: 7.984 kB / 0.5645 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.3731, allocations: 0 / 0.5645 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3731, allocations: 15.88 kB / 0.5646 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.3733, allocations: 216.1 kB / 0.5648 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3733, allocations: 0 / 0.5648 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.3736, allocations: 23.94 kB / 0.5648 GB, free: 0.7305 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001829/0.3754, allocations: 459.6 kB / 0.5652 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.3757, allocations: 71.94 kB / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3757, allocations: 0 / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.3758, allocations: 39.92 kB / 0.5653 GB, free: 360 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.3762, allocations: 28.62 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007232/0.3769, allocations: 354 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.3773, allocations: 0.7235 MB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.3773, allocations: 23.42 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3773, allocations: 0 / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of Templates: time 0.00449/0.3818, allocations: 1.963 MB / 0.5683 GB, free: 13.2 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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: 7.9229305849876255]