Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001555/0.001555, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.0018/0.0018, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2394/0.2394, allocations: 46.94 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 63.91 kB / 0.4966 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3595, allocations: 66.04 MB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003249/0.3627, allocations: 1.643 MB / 0.5627 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3639, allocations: 0.5348 MB / 0.5632 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.3639, allocations: 0 / 0.5632 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005951/0.3645, allocations: 451.2 kB / 0.5637 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004843/0.365, allocations: 303.2 kB / 0.5639 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.3653, allocations: 127.3 kB / 0.5641 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.3655, allocations: 171.6 kB / 0.5642 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3656, allocations: 15.98 kB / 0.5642 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.3658, allocations: 103.8 kB / 0.5643 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003314/0.3661, allocations: 247.5 kB / 0.5646 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.3661, allocations: 4 kB / 0.5646 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.513e-05/0.3662, allocations: 35.92 kB / 0.5646 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.3664, allocations: 83.69 kB / 0.5647 GB, free: 468 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.943e-05/0.3665, allocations: 71.23 kB / 0.5648 GB, free: 396 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.3668, allocations: 269 kB / 0.565 GB, free: 132 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3668, allocations: 0 / 0.565 GB, free: 132 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3668, allocations: 0 / 0.565 GB, free: 132 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3668, allocations: 4 kB / 0.565 GB, free: 128 kB / 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.0008358/0.3676, allocations: 0.5816 MB / 0.5656 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3677, allocations: 8.031 kB / 0.5656 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.873e-05/0.3677, allocations: 44.66 kB / 0.5656 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.368, allocations: 238.8 kB / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3681, allocations: 384 / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.3681, allocations: 4.375 kB / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.3682, allocations: 65.77 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3683, allocations: 0 / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3683, allocations: 4 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3683, allocations: 4 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.3684, allocations: 27.92 kB / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.3689, allocations: 328.3 kB / 0.5663 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.3692, allocations: 42.56 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/0.3693, allocations: 16.94 kB / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.3693, allocations: 0 / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.689e-05/0.3693, allocations: 34.5 kB / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.3693, allocations: 0 / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008615/0.3702, allocations: 232.7 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.3703, allocations: 51.41 kB / 0.5666 GB, free: 14.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.3716, allocations: 0.8651 MB / 0.5675 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.3716, allocations: 33.7 kB / 0.5675 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.3719, allocations: 212 kB / 0.5677 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.3719, allocations: 15.89 kB / 0.5677 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.372, allocations: 17.72 kB / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002504/0.3722, allocations: 362.7 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.3723, allocations: 19.98 kB / 0.5681 GB, free: 12.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.896e-05/0.3724, allocations: 20.17 kB / 0.5681 GB, free: 12.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.3726, allocations: 52.83 kB / 0.5682 GB, free: 12.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3726, allocations: 0 / 0.5682 GB, free: 12.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003712/0.373, allocations: 121.3 kB / 0.5683 GB, free: 12.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.373, allocations: 7.984 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.373, allocations: 0 / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.373, allocations: 4 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3732, allocations: 12 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3732, allocations: 0 / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.3733, allocations: 11.98 kB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.3733, allocations: 0 / 0.5683 GB, free: 12.54 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 (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 0.0003318/0.3736, allocations: 209.7 kB / 0.5685 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.3738, allocations: 47.7 kB / 0.5686 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000403/0.3742, allocations: 137.1 kB / 0.5687 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3742, allocations: 0 / 0.5687 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3742, allocations: 0 / 0.5687 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3742, allocations: 4 kB / 0.5687 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007842/0.375, allocations: 398.1 kB / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.375, allocations: 0 / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.373e-05/0.3751, allocations: 19.98 kB / 0.5691 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3751, allocations: 288 / 0.5691 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.3751, allocations: 0 / 0.5691 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3751, allocations: 192 / 0.5691 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.3751, allocations: 15.88 kB / 0.5691 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.3755, allocations: 215.2 kB / 0.5693 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.3755, allocations: 35.7 kB / 0.5694 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.3756, allocations: 0 / 0.5694 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.3757, allocations: 4 kB / 0.5694 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.3758, allocations: 11.92 kB / 0.5694 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.3758, allocations: 3.938 kB / 0.5694 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001099/0.3769, allocations: 0.6511 MB / 0.57 GB, free: 10.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3769, allocations: 0 / 0.57 GB, free: 10.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004868/0.3774, allocations: 27.94 kB / 0.5701 GB, free: 10.71 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 (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.002171/0.3795, allocations: 433.9 kB / 0.5705 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.3798, allocations: 51.89 kB / 0.5705 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3798, allocations: 0 / 0.5705 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.3799, allocations: 23.98 kB / 0.5705 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005813/0.3805, allocations: 23.97 kB / 0.5706 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.3822, allocations: 0.8139 MB / 0.5714 GB, free: 9.531 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.3825, allocations: 216.2 kB / 0.5716 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.888e-05/0.3826, allocations: 19.69 kB / 0.5716 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.3826, allocations: 11.44 kB / 0.5716 GB, free: 9.273 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3826, allocations: 0 / 0.5716 GB, free: 9.273 MB / 414.1 MB Notification: Performance of Templates: time 0.007522/0.3901, allocations: 1.65 MB / 0.5732 GB, free: 7.629 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.198704740032554]