Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001246/0.001246, allocations: 200.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 226.6 MB / 243.4 MB, free: 8.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007746/0.0007746, allocations: 95.36 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3141/0.3141, allocations: 44.83 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.0002949, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3687, allocations: 62.95 MB / 0.5159 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.001832/0.3706, allocations: 1.34 MB / 0.5172 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006906/0.3713, allocations: 0.6573 MB / 0.5178 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.3713, allocations: 0 / 0.5178 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.3716, allocations: 27.12 kB / 0.5179 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.3718, allocations: 34.31 kB / 0.5179 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.917e-06/0.3718, allocations: 0 / 0.5179 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.3719, allocations: 42.03 kB / 0.5179 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.372, allocations: 0 / 0.5179 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.067e-05/0.372, allocations: 16.5 kB / 0.5179 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.3721, allocations: 20.09 kB / 0.518 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.3721, allocations: 6.781 kB / 0.518 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.36e-05/0.3721, allocations: 15.19 kB / 0.518 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.3722, allocations: 16.02 kB / 0.518 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.3722, allocations: 44.48 kB / 0.518 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.175e-05/0.3723, allocations: 56.84 kB / 0.5181 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3723, allocations: 3.938 kB / 0.5181 GB, free: 35.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3723, allocations: 0 / 0.5181 GB, free: 35.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.3723, allocations: 0 / 0.5181 GB, free: 35.53 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002498/0.3726, allocations: 354.2 kB / 0.5184 GB, free: 35.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.3726, allocations: 12.69 kB / 0.5184 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.3727, allocations: 7.719 kB / 0.5185 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.748e-05/0.3728, allocations: 170.7 kB / 0.5186 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.3728, allocations: 384 / 0.5186 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.3728, allocations: 3.312 kB / 0.5186 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.373, allocations: 125.6 kB / 0.5187 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.373, allocations: 4.188 kB / 0.5187 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.373, allocations: 6.844 kB / 0.5187 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/0.3731, allocations: 27.97 kB / 0.5188 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.164e-05/0.3731, allocations: 41.69 kB / 0.5188 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.3736, allocations: 0.8938 MB / 0.5197 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.603e-05/0.3736, allocations: 169.1 kB / 0.5198 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.3736, allocations: 80.14 kB / 0.5199 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.3737, allocations: 79.22 kB / 0.52 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.3737, allocations: 117.2 kB / 0.5201 GB, free: 33.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.3737, allocations: 6.859 kB / 0.5201 GB, free: 33.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.052e-05/0.3738, allocations: 32.58 kB / 0.5202 GB, free: 33.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.3738, allocations: 126.7 kB / 0.5203 GB, free: 33.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.3739, allocations: 186.6 kB / 0.5204 GB, free: 33.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.819e-06/0.3739, allocations: 25.7 kB / 0.5205 GB, free: 33.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/0.374, allocations: 155 kB / 0.5206 GB, free: 33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-06/0.374, allocations: 6.625 kB / 0.5206 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.374, allocations: 4 kB / 0.5206 GB, free: 32.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.273e-05/0.3741, allocations: 321.7 kB / 0.5209 GB, free: 32.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.625e-05/0.3741, allocations: 29.22 kB / 0.521 GB, free: 32.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.514e-05/0.3742, allocations: 159.6 kB / 0.5211 GB, free: 32.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.3744, allocations: 205 kB / 0.5213 GB, free: 32.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3744, allocations: 2.906 kB / 0.5213 GB, free: 32.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002439/0.3746, allocations: 206.2 kB / 0.5215 GB, free: 32.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.3746, allocations: 3.562 kB / 0.5215 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3747, allocations: 5.938 kB / 0.5215 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3747, allocations: 6 kB / 0.5215 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.3748, allocations: 35.09 kB / 0.5216 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.3748, allocations: 9.188 kB / 0.5216 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.957e-05/0.3749, allocations: 20.59 kB / 0.5216 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.3749, allocations: 11.69 kB / 0.5216 GB, free: 32.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.38e-05/0.375, allocations: 216.6 kB / 0.5218 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.3751, allocations: 122.4 kB / 0.5219 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.3751, allocations: 111.8 kB / 0.522 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/0.3751, allocations: 187 kB / 0.5222 GB, free: 31.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.54e-05/0.3752, allocations: 176.3 kB / 0.5224 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.579e-05/0.3752, allocations: 176.3 kB / 0.5225 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.3754, allocations: 431.5 kB / 0.523 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/0.3754, allocations: 107.8 kB / 0.5231 GB, free: 30.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/0.3754, allocations: 104.9 kB / 0.5232 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.064e-05/0.3754, allocations: 183.6 kB / 0.5233 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.3755, allocations: 179.2 kB / 0.5235 GB, free: 30.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.88e-05/0.3755, allocations: 192.2 kB / 0.5237 GB, free: 29.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-05/0.3755, allocations: 176.3 kB / 0.5239 GB, free: 29.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.068e-05/0.3756, allocations: 315.8 kB / 0.5242 GB, free: 29.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.3757, allocations: 188.9 kB / 0.5243 GB, free: 29.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.3757, allocations: 183.5 kB / 0.5245 GB, free: 29.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.756e-05/0.3758, allocations: 105 kB / 0.5246 GB, free: 28.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.3758, allocations: 183 kB / 0.5248 GB, free: 28.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.3758, allocations: 105 kB / 0.5249 GB, free: 28.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.311e-05/0.3759, allocations: 128 kB / 0.525 GB, free: 28.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.3759, allocations: 0 / 0.525 GB, free: 28.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002477/0.3762, allocations: 21.66 kB / 0.525 GB, free: 28.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004352/0.3766, allocations: 276.1 kB / 0.5253 GB, free: 28.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.3767, allocations: 72.7 kB / 0.5254 GB, free: 28.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3767, allocations: 0 / 0.5254 GB, free: 28.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/0.3768, allocations: 1.25 kB / 0.5254 GB, free: 28.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.377, allocations: 0.543 MB / 0.5259 GB, free: 27.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.3774, allocations: 302.2 kB / 0.5262 GB, free: 27.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.3775, allocations: 0.7021 MB / 0.5269 GB, free: 26.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.035e-05/0.3776, allocations: 15.88 kB / 0.5269 GB, free: 26.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3776, allocations: 0 / 0.5269 GB, free: 26.82 MB / 378.7 MB Notification: Performance of Templates: time 0.002354/0.3799, allocations: 1.27 MB / 0.5281 GB, free: 26.72 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches