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/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.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.001201, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.459/1.459, 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.00103/0.00103, allocations: 114 kB / 291.9 MB, free: 10.94 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.3667/0.3667, allocations: 44.12 MB / 386.1 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009956/0.0009957, allocations: 59.86 kB / 457.8 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3563, allocations: 60.8 MB / 0.5064 GB, free: 38.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003738/0.3601, allocations: 2.092 MB / 0.5084 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.3617, allocations: 1.146 MB / 0.5096 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.884e-05/0.3618, allocations: 2.406 kB / 0.5096 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.3621, allocations: 41.17 kB / 0.5096 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.3624, allocations: 136.2 kB / 0.5097 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.3635, allocations: 0.5639 MB / 0.5103 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.3638, allocations: 297.2 kB / 0.5106 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.364, allocations: 74.84 kB / 0.5106 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.3641, allocations: 125.7 kB / 0.5108 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.3643, allocations: 185.3 kB / 0.5109 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.3644, allocations: 11 kB / 0.5109 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.3645, allocations: 60.75 kB / 0.511 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.3646, allocations: 147.5 kB / 0.5111 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.3648, allocations: 159.8 kB / 0.5113 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.365, allocations: 377.4 kB / 0.5117 GB, free: 35.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3651, allocations: 3.703 kB / 0.5117 GB, free: 35.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3651, allocations: 0 / 0.5117 GB, free: 35.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3651, allocations: 3.938 kB / 0.5117 GB, free: 35.02 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.0008676/0.3659, allocations: 0.7644 MB / 0.5124 GB, free: 34.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.366, allocations: 8.531 kB / 0.5124 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.192e-05/0.3661, allocations: 53.66 kB / 0.5125 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/0.3665, allocations: 457.8 kB / 0.5129 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.3666, allocations: 8.594 kB / 0.5129 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.3666, allocations: 15.34 kB / 0.5129 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.3669, allocations: 162.8 kB / 0.5131 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.3669, allocations: 3.938 kB / 0.5131 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3669, allocations: 3.031 kB / 0.5131 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.367, allocations: 0 / 0.5131 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.3672, allocations: 118.8 kB / 0.5132 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000884/0.3681, allocations: 0.7053 MB / 0.5139 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.3684, allocations: 135 kB / 0.514 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.3685, allocations: 71.09 kB / 0.5141 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.3686, allocations: 2.438 kB / 0.5141 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.3686, allocations: 30.56 kB / 0.5141 GB, free: 33.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.3686, allocations: 224 / 0.5141 GB, free: 33.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001859/0.3705, allocations: 0.7379 MB / 0.5148 GB, free: 33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.3705, allocations: 83.55 kB / 0.5149 GB, free: 32.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008006/0.3713, allocations: 0.854 MB / 0.5157 GB, free: 32.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3714, allocations: 32.7 kB / 0.5158 GB, free: 32.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.3715, allocations: 246.6 kB / 0.516 GB, free: 32.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.3716, allocations: 67.52 kB / 0.5161 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/0.3717, allocations: 46.31 kB / 0.5161 GB, free: 32.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.3717, allocations: 375.2 kB / 0.5165 GB, free: 31.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.372, allocations: 105.3 kB / 0.5166 GB, free: 31.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.3722, allocations: 136.8 kB / 0.5167 GB, free: 31.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.3727, allocations: 254.3 kB / 0.517 GB, free: 31.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3727, allocations: 0 / 0.517 GB, free: 31.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006241/0.3734, allocations: 336.2 kB / 0.5173 GB, free: 31.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3734, allocations: 6.094 kB / 0.5173 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3734, allocations: 0 / 0.5173 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.3734, allocations: 2.844 kB / 0.5173 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.3737, allocations: 59.56 kB / 0.5173 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3737, allocations: 0 / 0.5173 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.3739, allocations: 18.12 kB / 0.5174 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.3739, allocations: 16.8 kB / 0.5174 GB, free: 31.65 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.0001567/0.3741, allocations: 216.2 kB / 0.5176 GB, free: 31.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-05/0.3742, allocations: 57.09 kB / 0.5176 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007599/0.3749, allocations: 397.8 kB / 0.518 GB, free: 31.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.375, allocations: 2.625 kB / 0.518 GB, free: 31.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.375, allocations: 0 / 0.518 GB, free: 31.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.375, allocations: 6.281 kB / 0.518 GB, free: 31.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.3764, allocations: 0.9349 MB / 0.5189 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3765, allocations: 3.938 kB / 0.5189 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.3767, allocations: 50.08 kB / 0.519 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3767, allocations: 3.484 kB / 0.519 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.3768, allocations: 8.984 kB / 0.519 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3768, allocations: 11.88 kB / 0.519 GB, free: 30.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3768, allocations: 3 kB / 0.519 GB, free: 30.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.3781, allocations: 1.31 MB / 0.5203 GB, free: 29.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.3783, allocations: 133.5 kB / 0.5204 GB, free: 29.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.3783, allocations: 7.094 kB / 0.5204 GB, free: 29.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.3786, allocations: 22.12 kB / 0.5204 GB, free: 29.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.3787, allocations: 22.83 kB / 0.5205 GB, free: 29.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.3787, allocations: 9.562 kB / 0.5205 GB, free: 29.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006108/0.3793, allocations: 0.6196 MB / 0.5211 GB, free: 29.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3793, allocations: 384 / 0.5211 GB, free: 29.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004598/0.3798, allocations: 65.16 kB / 0.5211 GB, free: 29.42 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.0009228/0.3807, allocations: 408.2 kB / 0.5215 GB, free: 29.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006091/0.3813, allocations: 268.9 kB / 0.5218 GB, free: 29.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3813, allocations: 2.812 kB / 0.5218 GB, free: 29.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.3816, allocations: 137 kB / 0.5219 GB, free: 29.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006081/0.3822, allocations: 81.72 kB / 0.522 GB, free: 29.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.3835, allocations: 1.279 MB / 0.5233 GB, free: 28.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.3838, allocations: 0.8889 MB / 0.5241 GB, free: 27.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002104/0.3841, allocations: 98.25 kB / 0.5242 GB, free: 27.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.3842, allocations: 41.31 kB / 0.5243 GB, free: 27.59 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3842, allocations: 4 kB / 0.5243 GB, free: 27.58 MB / 378.7 MB Notification: Performance of Templates: time 0.006966/0.3911, allocations: 4.226 MB / 0.5284 GB, free: 27.24 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches