Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001074/0.001074, allocations: 198.5 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 226.5 MB / 243.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007741/0.000774, allocations: 91.2 kB / 295.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3471/0.3471, allocations: 44.82 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002662/0.0002662, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3646, allocations: 62.96 MB / 0.5159 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.001876/0.3665, allocations: 1.302 MB / 0.5171 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008035/0.3673, allocations: 496.8 kB / 0.5176 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.167e-05/0.3674, allocations: 0 / 0.5176 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005287/0.3679, allocations: 454.7 kB / 0.5181 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.3683, allocations: 262 kB / 0.5183 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.3687, allocations: 114 kB / 0.5184 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.3688, allocations: 130.3 kB / 0.5185 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3689, allocations: 10.23 kB / 0.5185 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.303e-05/0.369, allocations: 105.4 kB / 0.5187 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.3692, allocations: 165.8 kB / 0.5188 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.3693, allocations: 0 / 0.5188 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.258e-05/0.3693, allocations: 19.31 kB / 0.5188 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.033e-05/0.3694, allocations: 75.84 kB / 0.5189 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.438e-05/0.3695, allocations: 121 kB / 0.519 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.3697, allocations: 179 kB / 0.5192 GB, free: 35.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3697, allocations: 0 / 0.5192 GB, free: 35.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3697, allocations: 0 / 0.5192 GB, free: 35.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.3697, allocations: 4 kB / 0.5192 GB, free: 35.65 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005894/0.3703, allocations: 0.576 MB / 0.5198 GB, free: 35.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3704, allocations: 13.98 kB / 0.5198 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.3704, allocations: 41.94 kB / 0.5198 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.3707, allocations: 289.6 kB / 0.5201 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.3707, allocations: 8.312 kB / 0.5201 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.3707, allocations: 384 / 0.5201 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.3709, allocations: 54.58 kB / 0.5201 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3709, allocations: 6.75 kB / 0.5201 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.3709, allocations: 0 / 0.5201 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.3709, allocations: 0 / 0.5201 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.062e-05/0.371, allocations: 24.56 kB / 0.5202 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.3714, allocations: 385 kB / 0.5205 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.419e-05/0.3715, allocations: 37.44 kB / 0.5206 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.874e-05/0.3716, allocations: 13.94 kB / 0.5206 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.3716, allocations: 0 / 0.5206 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.3717, allocations: 33.41 kB / 0.5206 GB, free: 34.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.3717, allocations: 0 / 0.5206 GB, free: 34.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002569/0.3719, allocations: 114.4 kB / 0.5207 GB, free: 34.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.372, allocations: 51.41 kB / 0.5208 GB, free: 34.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007937/0.3728, allocations: 0.8684 MB / 0.5216 GB, free: 33.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.3728, allocations: 25.7 kB / 0.5216 GB, free: 33.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.3729, allocations: 218.4 kB / 0.5219 GB, free: 33.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.3729, allocations: 10.41 kB / 0.5219 GB, free: 33.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.373, allocations: 4.125 kB / 0.5219 GB, free: 33.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3731, allocations: 360.3 kB / 0.5222 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.035e-05/0.3731, allocations: 11.61 kB / 0.5222 GB, free: 33.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.153e-05/0.3732, allocations: 9.406 kB / 0.5222 GB, free: 33.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.533e-05/0.3732, allocations: 26.36 kB / 0.5223 GB, free: 33.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3732, allocations: 6.875 kB / 0.5223 GB, free: 33.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001332/0.3734, allocations: 94.64 kB / 0.5224 GB, free: 33.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3734, allocations: 5.812 kB / 0.5224 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3734, allocations: 0 / 0.5224 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3734, allocations: 0 / 0.5224 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.021e-05/0.3735, allocations: 5.844 kB / 0.5224 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3735, allocations: 0 / 0.5224 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.3736, allocations: 14.36 kB / 0.5224 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.3736, allocations: 0 / 0.5224 GB, free: 33.28 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 0.0001472/0.3737, allocations: 209.6 kB / 0.5226 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.3738, allocations: 37.28 kB / 0.5226 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.374, allocations: 116.6 kB / 0.5227 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.374, allocations: 0 / 0.5227 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.374, allocations: 4.031 kB / 0.5227 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.374, allocations: 0 / 0.5227 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.3743, allocations: 289.1 kB / 0.523 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3743, allocations: 3.984 kB / 0.523 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.3743, allocations: 5.969 kB / 0.523 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3743, allocations: 0 / 0.523 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.3743, allocations: 0 / 0.523 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.3744, allocations: 2.969 kB / 0.523 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3744, allocations: 0 / 0.523 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.3745, allocations: 198.2 kB / 0.5232 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.3746, allocations: 111.9 kB / 0.5233 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.3746, allocations: 2.5 kB / 0.5233 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.87e-05/0.3747, allocations: 10.44 kB / 0.5233 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.3747, allocations: 3.938 kB / 0.5233 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.3747, allocations: 0 / 0.5233 GB, free: 32.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005494/0.3753, allocations: 0.6637 MB / 0.524 GB, free: 32.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3753, allocations: 0 / 0.524 GB, free: 32.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.3755, allocations: 18.41 kB / 0.524 GB, free: 32.28 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 (2): * Single equations (assignments): 2 * 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.0007789/0.3763, allocations: 341.7 kB / 0.5243 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.3765, allocations: 24 kB / 0.5243 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3765, allocations: 0 / 0.5243 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.343e-05/0.3765, allocations: 18.3 kB / 0.5244 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.377, allocations: 23.12 kB / 0.5244 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009923/0.378, allocations: 0.8436 MB / 0.5252 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.3782, allocations: 0.8162 MB / 0.526 GB, free: 30.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.3782, allocations: 10.41 kB / 0.526 GB, free: 30.94 MB / 378.7 MB Notification: Performance of SimCode: time 3.9e-07/0.3783, allocations: 0 / 0.526 GB, free: 30.94 MB / 378.7 MB Notification: Performance of Templates: time 0.005942/0.3842, allocations: 3.391 MB / 0.5293 GB, free: 30.17 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches