Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001792/0.001792, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.00176/0.00176, allocations: 211.6 kB / 24.48 MB, free: 3.836 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.493/1.493, allocations: 230.6 MB / 258.2 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.2293/0.2293, allocations: 44.93 MB / 359.6 MB, free: 6.07 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.CombiTable1Ds.Test3,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.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.CombiTable1Ds.Test3") [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.002126/0.002126, allocations: 67.89 kB / 0.4943 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3619, allocations: 65.48 MB / 0.5582 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.004097/0.366, allocations: 1.605 MB / 0.5598 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.3673, allocations: 0.5192 MB / 0.5603 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.295e-05/0.3674, allocations: 0 / 0.5603 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.3677, allocations: 79.7 kB / 0.5604 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.368, allocations: 99.59 kB / 0.5605 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.3683, allocations: 91.75 kB / 0.5605 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.3685, allocations: 87.75 kB / 0.5606 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3686, allocations: 15.64 kB / 0.5606 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.449e-05/0.3687, allocations: 35.8 kB / 0.5607 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.3688, allocations: 51.81 kB / 0.5607 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3689, allocations: 4 kB / 0.5607 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.369, allocations: 47.98 kB / 0.5608 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.369, allocations: 19.91 kB / 0.5608 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.3691, allocations: 23.81 kB / 0.5608 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.3693, allocations: 98.3 kB / 0.5609 GB, free: 4.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3693, allocations: 8 kB / 0.5609 GB, free: 4.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3693, allocations: 0 / 0.5609 GB, free: 4.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.3693, allocations: 4 kB / 0.5609 GB, free: 4.684 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.0005896/0.3699, allocations: 333.6 kB / 0.5612 GB, free: 4.328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.37, allocations: 8.031 kB / 0.5612 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.37, allocations: 16.84 kB / 0.5613 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.3703, allocations: 142.3 kB / 0.5614 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.3703, allocations: 4.375 kB / 0.5614 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.3703, allocations: 4.375 kB / 0.5614 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.3705, allocations: 53.8 kB / 0.5615 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.3705, allocations: 11.94 kB / 0.5615 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3705, allocations: 4 kB / 0.5615 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3705, allocations: 0 / 0.5615 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.3706, allocations: 31.86 kB / 0.5615 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.3712, allocations: 236.4 kB / 0.5617 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.3713, allocations: 42.55 kB / 0.5618 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.591e-05/0.3713, allocations: 16.94 kB / 0.5618 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3714, allocations: 7.938 kB / 0.5618 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.3714, allocations: 34.56 kB / 0.5618 GB, free: 3.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3714, allocations: 0 / 0.5618 GB, free: 3.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000941/0.3723, allocations: 221.3 kB / 0.562 GB, free: 3.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.3724, allocations: 51.41 kB / 0.5621 GB, free: 3.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.3726, allocations: 199.3 kB / 0.5623 GB, free: 3.148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.3727, allocations: 33.7 kB / 0.5623 GB, free: 3.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.714e-05/0.3727, allocations: 104.1 kB / 0.5624 GB, free: 3.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.3728, allocations: 31.73 kB / 0.5624 GB, free: 2.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.3728, allocations: 21.72 kB / 0.5625 GB, free: 2.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.373, allocations: 326.8 kB / 0.5628 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.3731, allocations: 27.98 kB / 0.5628 GB, free: 2.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.36e-05/0.3732, allocations: 23.98 kB / 0.5628 GB, free: 2.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.3733, allocations: 60.77 kB / 0.5629 GB, free: 2.504 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3733, allocations: 4 kB / 0.5629 GB, free: 2.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002296/0.3736, allocations: 105.6 kB / 0.563 GB, free: 2.391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3736, allocations: 4 kB / 0.563 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3736, allocations: 0 / 0.563 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.3736, allocations: 4 kB / 0.563 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.3737, allocations: 15.98 kB / 0.563 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.3737, allocations: 320 / 0.563 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.3738, allocations: 4 kB / 0.563 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.3738, allocations: 7.938 kB / 0.563 GB, free: 2.355 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.0001192/0.3739, allocations: 133.8 kB / 0.5631 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.3739, allocations: 11.91 kB / 0.5632 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.3742, allocations: 123 kB / 0.5633 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3742, allocations: 0 / 0.5633 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3742, allocations: 0 / 0.5633 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3742, allocations: 0 / 0.5633 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005464/0.3748, allocations: 346.9 kB / 0.5636 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3748, allocations: 4 kB / 0.5636 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.3749, allocations: 19.98 kB / 0.5636 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3749, allocations: 3.938 kB / 0.5636 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3749, allocations: 0 / 0.5636 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3749, allocations: 7.938 kB / 0.5636 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3749, allocations: 0 / 0.5636 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.3752, allocations: 200.3 kB / 0.5638 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.3752, allocations: 7.953 kB / 0.5638 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.3752, allocations: 11.97 kB / 0.5639 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.3753, allocations: 11.92 kB / 0.5639 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.3753, allocations: 7.984 kB / 0.5639 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.3753, allocations: 4 kB / 0.5639 GB, free: 1.395 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.3755, allocations: 153.8 kB / 0.564 GB, free: 1.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3755, allocations: 0 / 0.564 GB, free: 1.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.3757, allocations: 27.88 kB / 0.564 GB, free: 1.219 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.001934/0.3777, allocations: 494.1 kB / 0.5645 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.3779, allocations: 59.95 kB / 0.5646 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3779, allocations: 0 / 0.5646 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.051e-05/0.378, allocations: 35.92 kB / 0.5646 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.3784, allocations: 26.8 kB / 0.5646 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006167/0.379, allocations: 277.2 kB / 0.5649 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.3791, allocations: 92.19 kB / 0.565 GB, free: 424 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.3792, allocations: 15.42 kB / 0.565 GB, free: 408 kB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3792, allocations: 0 / 0.565 GB, free: 408 kB / 398.1 MB Notification: Performance of Templates: time 0.004291/0.3835, allocations: 1.78 MB / 0.5667 GB, free: 14.62 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.8676598649472]