Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001502, allocations: 200 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.349/1.349, allocations: 226.6 MB / 243.4 MB, free: 6.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008183/0.0008184, allocations: 104 kB / 295.5 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.38/0.38, allocations: 44.82 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002846, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3769, allocations: 62.96 MB / 0.5159 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.001626/0.3786, allocations: 1.304 MB / 0.5171 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007366/0.3793, allocations: 0.49 MB / 0.5176 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.3794, allocations: 6.719 kB / 0.5176 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004511/0.3799, allocations: 439.9 kB / 0.5181 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.3802, allocations: 269.2 kB / 0.5183 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.3805, allocations: 111.3 kB / 0.5184 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.3806, allocations: 128 kB / 0.5185 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.206e-05/0.3807, allocations: 14.92 kB / 0.5186 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.766e-05/0.3808, allocations: 106.4 kB / 0.5187 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.381, allocations: 164.3 kB / 0.5188 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.381, allocations: 0 / 0.5188 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.317e-05/0.3811, allocations: 17.64 kB / 0.5188 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.95e-05/0.3812, allocations: 85.25 kB / 0.5189 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.943e-05/0.3812, allocations: 106.9 kB / 0.519 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.3814, allocations: 183.3 kB / 0.5192 GB, free: 35.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3814, allocations: 0 / 0.5192 GB, free: 35.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3814, allocations: 3.422 kB / 0.5192 GB, free: 35.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.3815, allocations: 0 / 0.5192 GB, free: 35.63 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.0005031/0.382, allocations: 0.5764 MB / 0.5198 GB, free: 35.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.382, allocations: 12.56 kB / 0.5198 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.3821, allocations: 44.19 kB / 0.5198 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.3823, allocations: 299.8 kB / 0.5201 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.3823, allocations: 4.375 kB / 0.5201 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.3823, allocations: 384 / 0.5201 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.3824, allocations: 48.86 kB / 0.5201 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.3824, allocations: 3.938 kB / 0.5201 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.3824, allocations: 6.781 kB / 0.5202 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3825, allocations: 0 / 0.5202 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.592e-05/0.3825, allocations: 26.2 kB / 0.5202 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.3829, allocations: 383.7 kB / 0.5205 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.094e-05/0.383, allocations: 30.53 kB / 0.5206 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.383, allocations: 13.02 kB / 0.5206 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.3831, allocations: 0 / 0.5206 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.3831, allocations: 41.47 kB / 0.5206 GB, free: 34.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3831, allocations: 0 / 0.5206 GB, free: 34.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002336/0.3833, allocations: 107.1 kB / 0.5207 GB, free: 34.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.3834, allocations: 54.28 kB / 0.5208 GB, free: 34.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007628/0.3841, allocations: 0.8698 MB / 0.5216 GB, free: 33.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.3842, allocations: 25.83 kB / 0.5217 GB, free: 33.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.3843, allocations: 225.7 kB / 0.5219 GB, free: 33.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.3843, allocations: 3.906 kB / 0.5219 GB, free: 33.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/0.3844, allocations: 0 / 0.5219 GB, free: 33.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.3845, allocations: 364.7 kB / 0.5222 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.141e-05/0.3845, allocations: 12.72 kB / 0.5222 GB, free: 33.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.3846, allocations: 9.297 kB / 0.5222 GB, free: 33.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.213e-05/0.3846, allocations: 32.02 kB / 0.5223 GB, free: 33.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3846, allocations: 0 / 0.5223 GB, free: 33.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001295/0.3848, allocations: 92.69 kB / 0.5224 GB, free: 33.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3848, allocations: 2.594 kB / 0.5224 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.3848, allocations: 2.594 kB / 0.5224 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3848, allocations: 4.031 kB / 0.5224 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.921e-05/0.3849, allocations: 8.953 kB / 0.5224 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.3849, allocations: 0 / 0.5224 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.385, allocations: 6.594 kB / 0.5224 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.385, allocations: 0 / 0.5224 GB, free: 33.25 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.000174/0.3852, allocations: 218.2 kB / 0.5226 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.3852, allocations: 36.66 kB / 0.5226 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.3854, allocations: 117 kB / 0.5227 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3854, allocations: 0 / 0.5227 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3855, allocations: 0 / 0.5227 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3855, allocations: 0 / 0.5227 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.3857, allocations: 293.6 kB / 0.523 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3857, allocations: 0 / 0.523 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.3858, allocations: 5.656 kB / 0.523 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.3858, allocations: 3.656 kB / 0.523 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.3858, allocations: 0 / 0.523 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3858, allocations: 6.938 kB / 0.523 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3858, allocations: 0 / 0.523 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.386, allocations: 184.8 kB / 0.5232 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/0.3861, allocations: 115.7 kB / 0.5233 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.3861, allocations: 3.938 kB / 0.5233 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.3862, allocations: 11.06 kB / 0.5233 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.3862, allocations: 3.188 kB / 0.5233 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-06/0.3862, allocations: 0 / 0.5233 GB, free: 32.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005794/0.3868, allocations: 0.6523 MB / 0.524 GB, free: 32.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3868, allocations: 0 / 0.524 GB, free: 32.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.3871, allocations: 24.91 kB / 0.524 GB, free: 32.26 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.0008/0.3879, allocations: 346.2 kB / 0.5243 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.388, allocations: 23.08 kB / 0.5244 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.388, allocations: 0 / 0.5244 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.115e-05/0.3881, allocations: 15.06 kB / 0.5244 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.3884, allocations: 28.78 kB / 0.5244 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008717/0.3893, allocations: 0.8394 MB / 0.5252 GB, free: 31.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.3896, allocations: 0.8164 MB / 0.526 GB, free: 30.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.3896, allocations: 9.969 kB / 0.526 GB, free: 30.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3896, allocations: 0 / 0.526 GB, free: 30.91 MB / 378.7 MB Notification: Performance of Templates: time 0.00553/0.3952, allocations: 3.395 MB / 0.5293 GB, free: 30.15 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches