Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.00154/0.00154, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001623/0.001623, allocations: 209.8 kB / 23.74 MB, free: 4.691 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 8 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.2525/0.2525, allocations: 46.92 MB / 360.8 MB, free: 4.262 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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 71.91 kB / 0.4967 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3696, allocations: 66.02 MB / 0.5611 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003196/0.3728, allocations: 1.624 MB / 0.5627 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3739, allocations: 0.5776 MB / 0.5633 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.226e-05/0.374, allocations: 0 / 0.5633 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.3742, allocations: 31.78 kB / 0.5633 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.3745, allocations: 71.69 kB / 0.5634 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.3748, allocations: 123.6 kB / 0.5635 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.375, allocations: 75.77 kB / 0.5636 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.3751, allocations: 11.98 kB / 0.5636 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.985e-05/0.3751, allocations: 27.86 kB / 0.5636 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.3753, allocations: 35.84 kB / 0.5637 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.3753, allocations: 4 kB / 0.5637 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.3755, allocations: 99.92 kB / 0.5638 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.3755, allocations: 15.88 kB / 0.5638 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.3756, allocations: 31.8 kB / 0.5638 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.3758, allocations: 145.9 kB / 0.5639 GB, free: 1.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.3758, allocations: 0 / 0.5639 GB, free: 1.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3758, allocations: 0 / 0.5639 GB, free: 1.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3758, allocations: 0 / 0.5639 GB, free: 1.527 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.0005135/0.3764, allocations: 332.1 kB / 0.5643 GB, free: 1.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3764, allocations: 8.031 kB / 0.5643 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.3764, allocations: 8.891 kB / 0.5643 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.3767, allocations: 138.3 kB / 0.5644 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.3767, allocations: 12.38 kB / 0.5644 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.3767, allocations: 384 / 0.5644 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.3769, allocations: 67.52 kB / 0.5645 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3769, allocations: 0 / 0.5645 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.3769, allocations: 4 kB / 0.5645 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3769, allocations: 0 / 0.5645 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.377, allocations: 19.98 kB / 0.5645 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.3775, allocations: 275.9 kB / 0.5648 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.3776, allocations: 46.56 kB / 0.5648 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.907e-05/0.3777, allocations: 24.94 kB / 0.5648 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.3777, allocations: 0 / 0.5648 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.3778, allocations: 30.56 kB / 0.5649 GB, free: 464 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3778, allocations: 4 kB / 0.5649 GB, free: 460 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006688/0.3784, allocations: 181.3 kB / 0.565 GB, free: 272 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.3785, allocations: 88.98 kB / 0.5651 GB, free: 164 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.3787, allocations: 156 kB / 0.5653 GB, free: 0 / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.998e-05/0.3787, allocations: 25.7 kB / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.3788, allocations: 96.08 kB / 0.5654 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.3788, allocations: 35.77 kB / 0.5654 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.3789, allocations: 21.72 kB / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3791, allocations: 326.8 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.913e-05/0.3791, allocations: 31.97 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.254e-05/0.3792, allocations: 37.78 kB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.3794, allocations: 80.98 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3794, allocations: 0 / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002424/0.3797, allocations: 109.5 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3797, allocations: 4 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.3797, allocations: 3.984 kB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3797, allocations: 0 / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3798, allocations: 16 kB / 0.566 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3798, allocations: 3.984 kB / 0.566 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.3799, allocations: 12.28 kB / 0.566 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.3799, allocations: 3.938 kB / 0.566 GB, free: 15.17 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 (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.0001032/0.38, allocations: 113.8 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.38, allocations: 11.95 kB / 0.5662 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.3803, allocations: 126.2 kB / 0.5663 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3803, allocations: 0 / 0.5663 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3803, allocations: 0 / 0.5663 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3803, allocations: 0 / 0.5663 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005472/0.3809, allocations: 365.4 kB / 0.5666 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3809, allocations: 0 / 0.5666 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.1e-05/0.3809, allocations: 15.98 kB / 0.5666 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3809, allocations: 4 kB / 0.5667 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.3809, allocations: 3.938 kB / 0.5667 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.381, allocations: 0 / 0.5667 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.381, allocations: 0 / 0.5667 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.3812, allocations: 207.4 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.3813, allocations: 7.953 kB / 0.5669 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.3813, allocations: 7.938 kB / 0.5669 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.3814, allocations: 7.938 kB / 0.5669 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.3814, allocations: 11.92 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.3814, allocations: 4 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.3815, allocations: 115.2 kB / 0.567 GB, free: 14.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3815, allocations: 4 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003029/0.3818, allocations: 39.86 kB / 0.567 GB, free: 14.05 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.001843/0.3837, allocations: 0.5014 MB / 0.5675 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.3839, allocations: 63.95 kB / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3839, allocations: 0 / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.358e-05/0.384, allocations: 39.91 kB / 0.5676 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3843, allocations: 15.98 kB / 0.5676 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.3848, allocations: 185.9 kB / 0.5678 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.3852, allocations: 0.7002 MB / 0.5685 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.3853, allocations: 28.95 kB / 0.5685 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.3854, allocations: 19.42 kB / 0.5686 GB, free: 12.64 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3854, allocations: 0 / 0.5686 GB, free: 12.64 MB / 414.1 MB Notification: Performance of Templates: time 0.005714/0.3911, allocations: 1.987 MB / 0.5705 GB, free: 10.66 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.441791882971302]