Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001582/0.001582, 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.002009/0.002009, 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.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.2329/0.2329, allocations: 44.91 MB / 359.6 MB, free: 6.281 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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") [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.002306/0.002306, allocations: 67.89 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.366, allocations: 65.48 MB / 0.5583 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003887/0.3699, allocations: 2.074 MB / 0.5603 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.3721, allocations: 1.147 MB / 0.5614 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.3723, allocations: 7.938 kB / 0.5614 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005523/0.3728, allocations: 267.1 kB / 0.5617 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005648/0.3734, allocations: 255.1 kB / 0.5619 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.3749, allocations: 0.6647 MB / 0.5626 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005045/0.3754, allocations: 358.8 kB / 0.5629 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.3756, allocations: 55.58 kB / 0.563 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.3758, allocations: 159.3 kB / 0.5631 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.3761, allocations: 223.2 kB / 0.5633 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.3761, allocations: 16 kB / 0.5633 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.3763, allocations: 115.9 kB / 0.5634 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.3765, allocations: 95.67 kB / 0.5635 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.3766, allocations: 119 kB / 0.5637 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004803/0.3771, allocations: 357.9 kB / 0.564 GB, free: 1.824 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3771, allocations: 0 / 0.564 GB, free: 1.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3771, allocations: 0 / 0.564 GB, free: 1.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.924e-06/0.3771, allocations: 0 / 0.564 GB, free: 1.824 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008233/0.3779, allocations: 0.6049 MB / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.378, allocations: 11.98 kB / 0.5646 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.234e-05/0.378, allocations: 52.61 kB / 0.5646 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.3784, allocations: 268.6 kB / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3785, allocations: 4.375 kB / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.3785, allocations: 12.38 kB / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.3788, allocations: 133.6 kB / 0.565 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.3788, allocations: 0 / 0.565 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.3788, allocations: 4 kB / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3788, allocations: 4 kB / 0.5651 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.379, allocations: 95.86 kB / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007347/0.3797, allocations: 487.4 kB / 0.5656 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.38, allocations: 110.4 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.581e-05/0.3801, allocations: 36.84 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.3801, allocations: 7.984 kB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.3801, allocations: 34.56 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.3801, allocations: 0 / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001066/0.3812, allocations: 454.9 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.3812, allocations: 55.31 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006523/0.3819, allocations: 0.5683 MB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.3819, allocations: 29.7 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.3821, allocations: 208.4 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/0.3821, allocations: 59.48 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.3822, allocations: 33.7 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3824, allocations: 354.8 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.3825, allocations: 67.95 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.3827, allocations: 67.95 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.383, allocations: 163.1 kB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.383, allocations: 3.938 kB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004014/0.3834, allocations: 229.2 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3834, allocations: 8 kB / 0.568 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3834, allocations: 0 / 0.568 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3834, allocations: 3.938 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.3836, allocations: 39.91 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.3836, allocations: 0 / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.079e-05/0.3836, allocations: 12 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.3837, allocations: 7.984 kB / 0.5681 GB, free: 13.46 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 (17): * Single equations (assignments): 17 * 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.0001895/0.3838, allocations: 181.8 kB / 0.5682 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.377e-05/0.3839, allocations: 39.72 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005497/0.3845, allocations: 284.1 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3845, allocations: 4 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3845, allocations: 0 / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3845, allocations: 4 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009703/0.3855, allocations: 0.6495 MB / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3855, allocations: 4 kB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.3856, allocations: 27.98 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3856, allocations: 0 / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.3856, allocations: 8 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3856, allocations: 0 / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.3856, allocations: 3.938 kB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.3861, allocations: 339 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.3861, allocations: 31.77 kB / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.3861, allocations: 4 kB / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.645e-05/0.3862, allocations: 11.94 kB / 0.5696 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.3863, allocations: 15.91 kB / 0.5696 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.3863, allocations: 4 kB / 0.5696 GB, free: 11.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004653/0.3868, allocations: 431.1 kB / 0.57 GB, free: 11.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3868, allocations: 0 / 0.57 GB, free: 11.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.3871, allocations: 47.94 kB / 0.5701 GB, free: 11.32 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 (17): * Single equations (assignments): 17 * 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.002822/0.3899, allocations: 0.7067 MB / 0.5708 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003978/0.3903, allocations: 155.8 kB / 0.5709 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3903, allocations: 4 kB / 0.5709 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.3905, allocations: 83.89 kB / 0.571 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005948/0.3911, allocations: 88 kB / 0.5711 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.3923, allocations: 0.7556 MB / 0.5718 GB, free: 9.824 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.3927, allocations: 0.8143 MB / 0.5726 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.075e-05/0.3928, allocations: 35.42 kB / 0.5726 GB, free: 8.953 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3928, allocations: 3.938 kB / 0.5726 GB, free: 8.949 MB / 414.1 MB Notification: Performance of Templates: time 0.008234/0.4011, allocations: 4.81 MB / 0.5773 GB, free: 4.141 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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: 8.341497771907598]