Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001421/0.001421, 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.001725/0.001725, allocations: 215.3 kB / 23.73 MB, free: 4.156 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2349/0.2349, allocations: 44.93 MB / 358.8 MB, free: 6.066 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [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.002169/0.002169, allocations: 71.91 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3585, allocations: 65.47 MB / 0.5575 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004673/0.3632, allocations: 1.973 MB / 0.5594 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.366, allocations: 1.299 MB / 0.5607 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.3661, allocations: 4 kB / 0.5607 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.3664, allocations: 59.48 kB / 0.5607 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000567/0.367, allocations: 211.1 kB / 0.5609 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.3685, allocations: 0.6065 MB / 0.5615 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004865/0.3689, allocations: 327 kB / 0.5618 GB, free: 3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.3691, allocations: 44.7 kB / 0.5619 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003678/0.3695, allocations: 143.4 kB / 0.562 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.3699, allocations: 199.2 kB / 0.5622 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.783e-05/0.3699, allocations: 16 kB / 0.5622 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.3701, allocations: 67.98 kB / 0.5623 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.3704, allocations: 151.4 kB / 0.5624 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.3706, allocations: 123 kB / 0.5625 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006663/0.3712, allocations: 412.5 kB / 0.5629 GB, free: 1.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3713, allocations: 0 / 0.5629 GB, free: 1.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3713, allocations: 0 / 0.5629 GB, free: 1.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.3713, allocations: 0 / 0.5629 GB, free: 1.871 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001425/0.3727, allocations: 0.7173 MB / 0.5636 GB, free: 1.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3727, allocations: 12.03 kB / 0.5636 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/0.3731, allocations: 76.55 kB / 0.5637 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008838/0.374, allocations: 406.5 kB / 0.5641 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.374, allocations: 8.375 kB / 0.5641 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/0.3741, allocations: 16.06 kB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.3744, allocations: 148.9 kB / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.3744, allocations: 3.953 kB / 0.5643 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.3745, allocations: 8 kB / 0.5643 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.3745, allocations: 0 / 0.5643 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.3747, allocations: 91.94 kB / 0.5644 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.376, allocations: 0.5977 MB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.3763, allocations: 113.4 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.3764, allocations: 45.81 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.3764, allocations: 7.938 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.3764, allocations: 34.56 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.3764, allocations: 0 / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001782/0.3782, allocations: 0.558 MB / 0.5657 GB, free: 14.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.443e-05/0.3783, allocations: 85.09 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.3797, allocations: 0.8702 MB / 0.5666 GB, free: 13.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.3797, allocations: 29.7 kB / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.38, allocations: 260.3 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.58e-05/0.3801, allocations: 55.53 kB / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.3802, allocations: 33.7 kB / 0.567 GB, free: 13.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002685/0.3804, allocations: 370.8 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.3806, allocations: 55.95 kB / 0.5674 GB, free: 13.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.3808, allocations: 86.41 kB / 0.5675 GB, free: 13.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/0.3812, allocations: 161.7 kB / 0.5676 GB, free: 12.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3812, allocations: 3.938 kB / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005564/0.3818, allocations: 249.2 kB / 0.5679 GB, free: 12.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.3818, allocations: 4 kB / 0.5679 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.3818, allocations: 0 / 0.5679 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.3818, allocations: 4 kB / 0.5679 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.382, allocations: 43.91 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.382, allocations: 4 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.3822, allocations: 19.92 kB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.3822, allocations: 4 kB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002694/0.3825, allocations: 213.7 kB / 0.5681 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.3826, allocations: 67.58 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006679/0.3833, allocations: 282.2 kB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3833, allocations: 0 / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3833, allocations: 3.938 kB / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3833, allocations: 0 / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.3846, allocations: 0.7122 MB / 0.5692 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3846, allocations: 3.938 kB / 0.5692 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.3848, allocations: 39.97 kB / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/0.3848, allocations: 8 kB / 0.5692 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.3848, allocations: 3.938 kB / 0.5692 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3848, allocations: 4 kB / 0.5692 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.3848, allocations: 7.922 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006474/0.3855, allocations: 418.2 kB / 0.5696 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.3856, allocations: 55.67 kB / 0.5697 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.744e-05/0.3857, allocations: 11.98 kB / 0.5697 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.3859, allocations: 8 kB / 0.5697 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.715e-05/0.386, allocations: 27.89 kB / 0.5697 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.386, allocations: 8 kB / 0.5697 GB, free: 10.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008428/0.3868, allocations: 0.6432 MB / 0.5704 GB, free: 9.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3868, allocations: 0 / 0.5704 GB, free: 9.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003835/0.3872, allocations: 48 kB / 0.5704 GB, free: 9.902 MB / 414.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 (16): * Single equations (assignments): 16 * 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.001792/0.389, allocations: 436.2 kB / 0.5708 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004912/0.3895, allocations: 159.8 kB / 0.571 GB, free: 9.492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.3895, allocations: 4 kB / 0.571 GB, free: 9.488 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.3897, allocations: 79.89 kB / 0.5711 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.3903, allocations: 81.84 kB / 0.5711 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.3921, allocations: 0.9539 MB / 0.5721 GB, free: 8.348 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.3924, allocations: 278.8 kB / 0.5723 GB, free: 8.055 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002327/0.3927, allocations: 91.53 kB / 0.5724 GB, free: 7.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.3928, allocations: 35.42 kB / 0.5725 GB, free: 7.934 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3928, allocations: 0 / 0.5725 GB, free: 7.934 MB / 414.1 MB Notification: Performance of Templates: time 0.01041/0.4032, allocations: 4.513 MB / 0.5769 GB, free: 3.461 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.375570317730308]