Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.001739/0.001739, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002102/0.002102, allocations: 215.1 kB / 24.48 MB, free: 3.84 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.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.274/0.274, allocations: 44.94 MB / 359.6 MB, free: 6.121 MB / 286.1 MB " [Timeout remaining time 179] 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") [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: 77.92 kB / 0.4943 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3643, allocations: 65.47 MB / 0.5582 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003836/0.3681, allocations: 2.021 MB / 0.5602 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002522/0.3707, allocations: 1.346 MB / 0.5615 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.3708, allocations: 11.94 kB / 0.5615 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.3711, allocations: 63.5 kB / 0.5616 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005324/0.3716, allocations: 223 kB / 0.5618 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.373, allocations: 0.6183 MB / 0.5624 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004756/0.3735, allocations: 358.9 kB / 0.5627 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.3736, allocations: 52.7 kB / 0.5628 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002828/0.3739, allocations: 151.4 kB / 0.5629 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.3742, allocations: 219.1 kB / 0.5631 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.3743, allocations: 12 kB / 0.5631 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.3744, allocations: 71.98 kB / 0.5632 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.3746, allocations: 151.4 kB / 0.5633 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.3748, allocations: 138.9 kB / 0.5635 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005233/0.3753, allocations: 428.5 kB / 0.5639 GB, free: 1.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3753, allocations: 0 / 0.5639 GB, free: 1.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3753, allocations: 0 / 0.5639 GB, free: 1.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.3753, allocations: 0 / 0.5639 GB, free: 1.617 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.001144/0.3764, allocations: 0.7523 MB / 0.5646 GB, free: 0.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3765, allocations: 8.031 kB / 0.5646 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000428/0.3769, allocations: 104.4 kB / 0.5647 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007323/0.3776, allocations: 423.2 kB / 0.5651 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3777, allocations: 4.375 kB / 0.5651 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.3777, allocations: 24 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.378, allocations: 160.9 kB / 0.5653 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3781, allocations: 0 / 0.5653 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.3781, allocations: 8 kB / 0.5653 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3781, allocations: 4 kB / 0.5653 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/0.3784, allocations: 112 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.3795, allocations: 0.6289 MB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.3798, allocations: 129.2 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.38, allocations: 57.81 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.345e-05/0.38, allocations: 8.203 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3801, allocations: 42.44 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.3801, allocations: 3.938 kB / 0.5663 GB, free: 15.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002142/0.3822, allocations: 0.7611 MB / 0.567 GB, free: 14.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/0.3823, allocations: 81.11 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.3834, allocations: 0.9102 MB / 0.568 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.3834, allocations: 29.7 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.3836, allocations: 272.3 kB / 0.5683 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.123e-05/0.3837, allocations: 63.44 kB / 0.5683 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/0.3838, allocations: 41.69 kB / 0.5684 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.384, allocations: 370.8 kB / 0.5687 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.3843, allocations: 115.9 kB / 0.5688 GB, free: 12.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.3846, allocations: 129.6 kB / 0.569 GB, free: 12.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005967/0.3852, allocations: 249.5 kB / 0.5692 GB, free: 11.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3852, allocations: 3.938 kB / 0.5692 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007835/0.386, allocations: 345.2 kB / 0.5695 GB, free: 11.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.386, allocations: 10.48 kB / 0.5695 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.386, allocations: 4 kB / 0.5695 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3861, allocations: 0 / 0.5695 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.3863, allocations: 51.89 kB / 0.5696 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3864, allocations: 8 kB / 0.5696 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.3865, allocations: 19.97 kB / 0.5696 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.3866, allocations: 8 kB / 0.5696 GB, free: 11.51 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 (20): * Single equations (assignments): 20 * 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.0002706/0.3868, allocations: 225.6 kB / 0.5698 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.3869, allocations: 67.56 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000915/0.3879, allocations: 390.3 kB / 0.5703 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3879, allocations: 4 kB / 0.5703 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3879, allocations: 3.938 kB / 0.5703 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3879, allocations: 0 / 0.5703 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.3894, allocations: 0.8567 MB / 0.5711 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3894, allocations: 384 / 0.5711 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.3897, allocations: 51.95 kB / 0.5712 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3897, allocations: 3.938 kB / 0.5712 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.3897, allocations: 15.98 kB / 0.5712 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3897, allocations: 0 / 0.5712 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.3897, allocations: 7.922 kB / 0.5712 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008773/0.3906, allocations: 0.5158 MB / 0.5717 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.3907, allocations: 67.61 kB / 0.5718 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.3908, allocations: 4 kB / 0.5718 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.391, allocations: 19.97 kB / 0.5718 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.071e-05/0.3911, allocations: 23.91 kB / 0.5718 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.3911, allocations: 11.98 kB / 0.5718 GB, free: 9.188 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000808/0.3919, allocations: 0.663 MB / 0.5725 GB, free: 8.531 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3919, allocations: 0 / 0.5725 GB, free: 8.531 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003871/0.3923, allocations: 67.94 kB / 0.5725 GB, free: 8.465 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 (20): * Single equations (assignments): 20 * 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.001627/0.3939, allocations: 424.8 kB / 0.5729 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000716/0.3947, allocations: 255.8 kB / 0.5732 GB, free: 7.973 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3947, allocations: 0 / 0.5732 GB, free: 7.973 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.395, allocations: 135.8 kB / 0.5733 GB, free: 7.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.3956, allocations: 78.55 kB / 0.5734 GB, free: 7.762 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.3972, allocations: 1.038 MB / 0.5744 GB, free: 6.688 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.3975, allocations: 290.4 kB / 0.5747 GB, free: 6.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.3977, allocations: 51.41 kB / 0.5747 GB, free: 6.332 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3977, allocations: 4 kB / 0.5747 GB, free: 6.328 MB / 414.1 MB Notification: Performance of Templates: time 0.01071/0.4084, allocations: 6.557 MB / 0.5811 GB, free: 15.79 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.279643401969224]