Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001485/0.001485, 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.597/1.597, allocations: 226.6 MB / 243.4 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008574/0.0008573, allocations: 97.06 kB / 295.5 MB, free: 6.859 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3833/0.3833, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002742, allocations: 11.98 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2803, allocations: 62.96 MB / 0.5159 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.001511/0.2818, allocations: 1.346 MB / 0.5172 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.2829, allocations: 1.097 MB / 0.5183 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.283, allocations: 0 / 0.5183 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.2831, allocations: 24.06 kB / 0.5183 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.2833, allocations: 67.42 kB / 0.5184 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.2836, allocations: 118.1 kB / 0.5185 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.2837, allocations: 56.19 kB / 0.5185 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.198e-05/0.2838, allocations: 17.88 kB / 0.5185 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.052e-05/0.2839, allocations: 24 kB / 0.5186 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.284, allocations: 30.08 kB / 0.5186 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.284, allocations: 6.531 kB / 0.5186 GB, free: 35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.2841, allocations: 87.11 kB / 0.5187 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.2842, allocations: 17.06 kB / 0.5187 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.2842, allocations: 50.58 kB / 0.5187 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.2844, allocations: 102.5 kB / 0.5188 GB, free: 34.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2844, allocations: 0 / 0.5188 GB, free: 34.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2844, allocations: 2.875 kB / 0.5188 GB, free: 34.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.2844, allocations: 0 / 0.5188 GB, free: 34.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000373/0.2848, allocations: 393.9 kB / 0.5192 GB, free: 34.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.2848, allocations: 8.688 kB / 0.5192 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.2848, allocations: 7.781 kB / 0.5192 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.285, allocations: 198.8 kB / 0.5194 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.285, allocations: 3.375 kB / 0.5194 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.285, allocations: 384 / 0.5194 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.2852, allocations: 86.05 kB / 0.5195 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2852, allocations: 0 / 0.5195 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2852, allocations: 4 kB / 0.5195 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2852, allocations: 3.938 kB / 0.5195 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.2854, allocations: 42.33 kB / 0.5196 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.2856, allocations: 297.7 kB / 0.5198 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.2858, allocations: 47.52 kB / 0.5199 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/0.2858, allocations: 30.19 kB / 0.5199 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.2859, allocations: 4 kB / 0.5199 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.2859, allocations: 33.5 kB / 0.52 GB, free: 33.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2859, allocations: 0 / 0.52 GB, free: 33.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006649/0.2866, allocations: 247.3 kB / 0.5202 GB, free: 33.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.2866, allocations: 80.48 kB / 0.5203 GB, free: 33.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.2867, allocations: 143.7 kB / 0.5204 GB, free: 33.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.2867, allocations: 28.23 kB / 0.5204 GB, free: 33.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.2868, allocations: 94.11 kB / 0.5205 GB, free: 33.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.2868, allocations: 18.34 kB / 0.5205 GB, free: 33.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/0.2868, allocations: 4 kB / 0.5205 GB, free: 33.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.246e-05/0.2868, allocations: 320.9 kB / 0.5208 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.2869, allocations: 44.06 kB / 0.5209 GB, free: 33.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.2871, allocations: 59.31 kB / 0.5209 GB, free: 33.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.2872, allocations: 84.62 kB / 0.521 GB, free: 32.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.2873, allocations: 32 / 0.521 GB, free: 32.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002375/0.2875, allocations: 134.8 kB / 0.5212 GB, free: 32.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2875, allocations: 5.875 kB / 0.5212 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2875, allocations: 7.469 kB / 0.5212 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2875, allocations: 0 / 0.5212 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.2877, allocations: 21.58 kB / 0.5212 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.2877, allocations: 3.938 kB / 0.5212 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.2877, allocations: 18.08 kB / 0.5212 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.2877, allocations: 3.062 kB / 0.5212 GB, free: 32.91 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 (7): * Single equations (assignments): 7 * 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 5.364e-05/0.2878, allocations: 116.8 kB / 0.5213 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.2878, allocations: 9.656 kB / 0.5213 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.2881, allocations: 139.7 kB / 0.5215 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2881, allocations: 0 / 0.5215 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2881, allocations: 0 / 0.5215 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2882, allocations: 3.938 kB / 0.5215 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.2886, allocations: 421.2 kB / 0.5219 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2886, allocations: 0 / 0.5219 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.751e-05/0.2887, allocations: 23.42 kB / 0.5219 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2887, allocations: 3.938 kB / 0.5219 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.2887, allocations: 3.938 kB / 0.5219 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2887, allocations: 6.844 kB / 0.5219 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2887, allocations: 3.234 kB / 0.5219 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.2889, allocations: 223.2 kB / 0.5221 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.289, allocations: 91.55 kB / 0.5222 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.289, allocations: 10.02 kB / 0.5222 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.2891, allocations: 12.03 kB / 0.5222 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.2891, allocations: 6.156 kB / 0.5222 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.2891, allocations: 2.875 kB / 0.5222 GB, free: 32.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.865e-05/0.2892, allocations: 115.5 kB / 0.5223 GB, free: 32.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2892, allocations: 0 / 0.5223 GB, free: 32.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.2895, allocations: 42.34 kB / 0.5224 GB, free: 32 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 (7): * Single equations (assignments): 7 * 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.0008729/0.2904, allocations: 493.2 kB / 0.5229 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.2906, allocations: 95.84 kB / 0.523 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2906, allocations: 0 / 0.523 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.2907, allocations: 48.25 kB / 0.523 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.291, allocations: 20.5 kB / 0.523 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.2913, allocations: 215 kB / 0.5232 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.573e-05/0.2915, allocations: 0.6942 MB / 0.5239 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.171e-05/0.2915, allocations: 25.19 kB / 0.5239 GB, free: 30.83 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2915, allocations: 3.938 kB / 0.5239 GB, free: 30.82 MB / 378.7 MB Notification: Performance of Templates: time 0.002945/0.2945, allocations: 2.062 MB / 0.5259 GB, free: 30.58 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches