Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 186.9 kB / 17.97 MB, free: 3.789 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 105.3 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3871/0.3871, allocations: 44.13 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 55.92 kB / 457.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3637, allocations: 60.8 MB / 0.5064 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003452/0.3672, allocations: 2.087 MB / 0.5084 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.3687, allocations: 1.04 MB / 0.5094 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.3688, allocations: 2.719 kB / 0.5095 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.369, allocations: 31.48 kB / 0.5095 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.3693, allocations: 138.1 kB / 0.5096 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00083/0.3702, allocations: 408.9 kB / 0.51 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002959/0.3705, allocations: 275.8 kB / 0.5103 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.3706, allocations: 66.06 kB / 0.5103 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.3708, allocations: 119.9 kB / 0.5104 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.371, allocations: 185.5 kB / 0.5106 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.3711, allocations: 11.62 kB / 0.5106 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.3712, allocations: 53.72 kB / 0.5107 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.3713, allocations: 134.4 kB / 0.5108 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.3714, allocations: 162.9 kB / 0.511 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.3718, allocations: 365.5 kB / 0.5113 GB, free: 35.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.3718, allocations: 0 / 0.5113 GB, free: 35.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3718, allocations: 0 / 0.5113 GB, free: 35.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.3719, allocations: 0 / 0.5113 GB, free: 35.38 MB / 378.7 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.001159/0.373, allocations: 0.755 MB / 0.5121 GB, free: 34.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3731, allocations: 7.938 kB / 0.5121 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.949e-05/0.3732, allocations: 53.19 kB / 0.5121 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005216/0.3737, allocations: 451.1 kB / 0.5125 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3737, allocations: 11.59 kB / 0.5126 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.3738, allocations: 14.81 kB / 0.5126 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.3741, allocations: 148.9 kB / 0.5127 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.3741, allocations: 0 / 0.5127 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.3741, allocations: 2.938 kB / 0.5127 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3742, allocations: 0 / 0.5127 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.3744, allocations: 106.4 kB / 0.5128 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008832/0.3753, allocations: 0.6585 MB / 0.5135 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.3756, allocations: 124.3 kB / 0.5136 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.3757, allocations: 64.8 kB / 0.5136 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.3758, allocations: 3.938 kB / 0.5136 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.3758, allocations: 45.53 kB / 0.5137 GB, free: 33.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.3758, allocations: 0 / 0.5137 GB, free: 33.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001825/0.3776, allocations: 0.6599 MB / 0.5143 GB, free: 33.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.3777, allocations: 79.83 kB / 0.5144 GB, free: 33.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009912/0.3787, allocations: 0.8507 MB / 0.5152 GB, free: 33.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.3787, allocations: 32.55 kB / 0.5153 GB, free: 32.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.3789, allocations: 252.2 kB / 0.5155 GB, free: 32.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.453e-05/0.379, allocations: 63.41 kB / 0.5156 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/0.379, allocations: 35.3 kB / 0.5156 GB, free: 32.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3792, allocations: 375.3 kB / 0.516 GB, free: 32.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.3794, allocations: 87.02 kB / 0.516 GB, free: 32.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.3797, allocations: 115.2 kB / 0.5162 GB, free: 32.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.3802, allocations: 202.2 kB / 0.5163 GB, free: 32.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3802, allocations: 5.156 kB / 0.5163 GB, free: 32.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006069/0.3808, allocations: 302.3 kB / 0.5166 GB, free: 32.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3808, allocations: 5.781 kB / 0.5166 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3808, allocations: 0 / 0.5166 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.3809, allocations: 2.844 kB / 0.5166 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.3811, allocations: 58.72 kB / 0.5167 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3812, allocations: 0 / 0.5167 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.3813, allocations: 22.27 kB / 0.5167 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.3814, allocations: 5.812 kB / 0.5167 GB, free: 32.1 MB / 378.7 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.0001611/0.3815, allocations: 213.7 kB / 0.5169 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.3816, allocations: 53.47 kB / 0.517 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007464/0.3824, allocations: 345.1 kB / 0.5173 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3824, allocations: 2.938 kB / 0.5173 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3824, allocations: 2.781 kB / 0.5173 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3824, allocations: 5.406 kB / 0.5173 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.3836, allocations: 0.8763 MB / 0.5182 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3836, allocations: 4 kB / 0.5182 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.3839, allocations: 51.14 kB / 0.5182 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3839, allocations: 3.062 kB / 0.5182 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.3839, allocations: 9.984 kB / 0.5182 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.3839, allocations: 3.938 kB / 0.5182 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3839, allocations: 0 / 0.5182 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.385, allocations: 1.236 MB / 0.5195 GB, free: 30.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.3852, allocations: 143.9 kB / 0.5196 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.3852, allocations: 6.203 kB / 0.5196 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.3855, allocations: 19.38 kB / 0.5196 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.402e-05/0.3855, allocations: 20.2 kB / 0.5196 GB, free: 30.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.3856, allocations: 7.453 kB / 0.5196 GB, free: 30.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005759/0.3862, allocations: 0.6147 MB / 0.5202 GB, free: 29.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3862, allocations: 0 / 0.5202 GB, free: 29.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004337/0.3866, allocations: 67.33 kB / 0.5203 GB, free: 29.92 MB / 378.7 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.000834/0.3874, allocations: 395.5 kB / 0.5207 GB, free: 29.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005528/0.388, allocations: 220.8 kB / 0.5209 GB, free: 29.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.388, allocations: 4 kB / 0.5209 GB, free: 29.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.3883, allocations: 121.6 kB / 0.521 GB, free: 29.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.3889, allocations: 79.33 kB / 0.5211 GB, free: 29.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.3902, allocations: 1.222 MB / 0.5223 GB, free: 28.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.3905, allocations: 0.8644 MB / 0.5231 GB, free: 28.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.3906, allocations: 71.19 kB / 0.5232 GB, free: 28.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.3908, allocations: 41.31 kB / 0.5232 GB, free: 28.14 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3908, allocations: 0 / 0.5232 GB, free: 28.14 MB / 378.7 MB Notification: Performance of Templates: time 0.00711/0.3979, allocations: 4.13 MB / 0.5273 GB, free: 27.79 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches