Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001463/0.001463, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001743/0.001743, allocations: 211.1 kB / 23.73 MB, free: 4.523 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.666/1.666, 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.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.243/0.243, allocations: 46.94 MB / 360.9 MB, free: 4.051 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.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.1.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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 71.88 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3426, allocations: 66.04 MB / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003645/0.3462, allocations: 2.034 MB / 0.5631 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.3488, allocations: 1.346 MB / 0.5644 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.3489, allocations: 4 kB / 0.5644 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.3492, allocations: 59.44 kB / 0.5644 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005658/0.3498, allocations: 215.1 kB / 0.5647 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.3513, allocations: 0.6256 MB / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005078/0.3518, allocations: 358.9 kB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.352, allocations: 56.62 kB / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.3523, allocations: 163.3 kB / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.3526, allocations: 223.2 kB / 0.566 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.956e-05/0.3527, allocations: 16 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.3528, allocations: 63.97 kB / 0.5661 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.353, allocations: 155.5 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.3531, allocations: 134.8 kB / 0.5664 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005334/0.3537, allocations: 428.5 kB / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3537, allocations: 3.938 kB / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3537, allocations: 3.938 kB / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3537, allocations: 4 kB / 0.5668 GB, free: 14.33 MB / 414.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.001184/0.3549, allocations: 0.7407 MB / 0.5675 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3549, allocations: 16.02 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004529/0.3554, allocations: 92.48 kB / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007948/0.3562, allocations: 427.2 kB / 0.568 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.3562, allocations: 8.375 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.3562, allocations: 24.08 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.3566, allocations: 164.8 kB / 0.5682 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.3566, allocations: 0 / 0.5682 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.3567, allocations: 8 kB / 0.5682 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.3567, allocations: 3.984 kB / 0.5682 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003664/0.357, allocations: 115.9 kB / 0.5683 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.3581, allocations: 0.6251 MB / 0.569 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.3585, allocations: 129.2 kB / 0.5691 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.3586, allocations: 61.8 kB / 0.5691 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.3587, allocations: 4 kB / 0.5691 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.3587, allocations: 38.56 kB / 0.5692 GB, free: 11.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.3587, allocations: 0 / 0.5692 GB, free: 11.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002287/0.361, allocations: 0.7607 MB / 0.5699 GB, free: 10.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/0.3611, allocations: 81.09 kB / 0.57 GB, free: 10.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.3622, allocations: 0.9025 MB / 0.5709 GB, free: 9.977 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.3623, allocations: 29.7 kB / 0.5709 GB, free: 9.941 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.3625, allocations: 268.3 kB / 0.5712 GB, free: 9.672 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.441e-05/0.3626, allocations: 67.42 kB / 0.5712 GB, free: 9.605 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.3627, allocations: 45.91 kB / 0.5713 GB, free: 9.555 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002368/0.363, allocations: 374.8 kB / 0.5716 GB, free: 9.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.3633, allocations: 115.8 kB / 0.5717 GB, free: 9.066 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.3636, allocations: 133.6 kB / 0.5719 GB, free: 8.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006353/0.3643, allocations: 253.7 kB / 0.5721 GB, free: 8.676 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3643, allocations: 3.938 kB / 0.5721 GB, free: 8.672 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000828/0.3651, allocations: 337.8 kB / 0.5724 GB, free: 8.336 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3651, allocations: 8 kB / 0.5724 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3651, allocations: 4 kB / 0.5724 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3651, allocations: 0 / 0.5724 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.3655, allocations: 59.89 kB / 0.5725 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3655, allocations: 0 / 0.5725 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.3657, allocations: 19.97 kB / 0.5725 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.3657, allocations: 12 kB / 0.5725 GB, free: 8.234 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.0002795/0.366, allocations: 225.6 kB / 0.5727 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.3661, allocations: 63.58 kB / 0.5728 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00095/0.367, allocations: 398.4 kB / 0.5732 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.3671, allocations: 4 kB / 0.5732 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.3671, allocations: 0 / 0.5732 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3671, allocations: 0 / 0.5732 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.3687, allocations: 0.8485 MB / 0.574 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3687, allocations: 0 / 0.574 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.369, allocations: 55.88 kB / 0.5741 GB, free: 6.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.369, allocations: 4 kB / 0.5741 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.369, allocations: 8 kB / 0.5741 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.369, allocations: 4 kB / 0.5741 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.369, allocations: 0 / 0.5741 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008933/0.3699, allocations: 0.5198 MB / 0.5746 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.37, allocations: 63.61 kB / 0.5747 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.3701, allocations: 8 kB / 0.5747 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.3704, allocations: 15.98 kB / 0.5747 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.907e-05/0.3704, allocations: 27.89 kB / 0.5747 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.3705, allocations: 8 kB / 0.5747 GB, free: 5.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008215/0.3713, allocations: 0.663 MB / 0.5754 GB, free: 5.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3713, allocations: 3.938 kB / 0.5754 GB, free: 5.266 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004154/0.3717, allocations: 59.94 kB / 0.5754 GB, free: 5.207 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.001732/0.3734, allocations: 452.4 kB / 0.5759 GB, free: 4.941 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007674/0.3742, allocations: 251.8 kB / 0.5761 GB, free: 4.695 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3742, allocations: 0 / 0.5761 GB, free: 4.695 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003571/0.3746, allocations: 136.4 kB / 0.5762 GB, free: 4.562 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00068/0.3752, allocations: 85.91 kB / 0.5763 GB, free: 4.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.377, allocations: 1.021 MB / 0.5773 GB, free: 3.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.3773, allocations: 295.4 kB / 0.5776 GB, free: 3.117 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002596/0.3775, allocations: 99.19 kB / 0.5777 GB, free: 3.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.3777, allocations: 47.41 kB / 0.5777 GB, free: 2.973 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3777, allocations: 0 / 0.5777 GB, free: 2.973 MB / 414.1 MB Notification: Performance of Templates: time 0.01148/0.3892, allocations: 5.085 MB / 0.5827 GB, free: 13.93 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.539910731837153]