Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 193.8 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.672/1.672, allocations: 226.5 MB / 243.4 MB, free: 6.441 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008604/0.0008604, allocations: 99.03 kB / 295.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3304/0.3304, allocations: 44.82 MB / 392.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002673, allocations: 11.98 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2853, allocations: 62.96 MB / 0.5159 GB, free: 37.33 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.001754/0.2871, allocations: 1.367 MB / 0.5172 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008448/0.288, allocations: 0.5312 MB / 0.5177 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.288, allocations: 2.75 kB / 0.5177 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.2883, allocations: 47.17 kB / 0.5178 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.2885, allocations: 74.91 kB / 0.5178 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.2889, allocations: 164.7 kB / 0.518 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.2891, allocations: 74.45 kB / 0.5181 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.428e-05/0.2892, allocations: 20.88 kB / 0.5181 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.759e-05/0.2892, allocations: 32.75 kB / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.02e-05/0.2893, allocations: 36.67 kB / 0.5182 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.2893, allocations: 2.688 kB / 0.5182 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.074e-05/0.2894, allocations: 36.36 kB / 0.5182 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.2895, allocations: 23.14 kB / 0.5182 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.2895, allocations: 59.31 kB / 0.5183 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.2896, allocations: 80.34 kB / 0.5184 GB, free: 35.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2897, allocations: 2.844 kB / 0.5184 GB, free: 35.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2897, allocations: 0 / 0.5184 GB, free: 35.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.2897, allocations: 0 / 0.5184 GB, free: 35.68 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003956/0.2901, allocations: 401.4 kB / 0.5187 GB, free: 35.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2901, allocations: 9.844 kB / 0.5187 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.2902, allocations: 14.69 kB / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.2903, allocations: 202 kB / 0.519 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.2903, allocations: 4.312 kB / 0.519 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.2904, allocations: 3.312 kB / 0.519 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.2905, allocations: 77.88 kB / 0.519 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2905, allocations: 0 / 0.519 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.2906, allocations: 2.969 kB / 0.519 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2906, allocations: 0 / 0.519 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.2907, allocations: 53.47 kB / 0.5191 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.2911, allocations: 327.8 kB / 0.5194 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.2913, allocations: 57.69 kB / 0.5195 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.235e-05/0.2914, allocations: 33.28 kB / 0.5195 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.2914, allocations: 0 / 0.5195 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/0.2914, allocations: 41.25 kB / 0.5195 GB, free: 34.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.2914, allocations: 0 / 0.5195 GB, free: 34.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001328/0.2928, allocations: 0.4921 MB / 0.52 GB, free: 34.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.2928, allocations: 58.31 kB / 0.5201 GB, free: 34.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.2929, allocations: 175.4 kB / 0.5202 GB, free: 34.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.293, allocations: 25.7 kB / 0.5203 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.496e-05/0.293, allocations: 105.2 kB / 0.5204 GB, free: 34.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.293, allocations: 34.7 kB / 0.5204 GB, free: 34.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.293, allocations: 4 kB / 0.5204 GB, free: 34.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.813e-05/0.2931, allocations: 326.1 kB / 0.5207 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.2932, allocations: 58.3 kB / 0.5208 GB, free: 33.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.2933, allocations: 64.42 kB / 0.5208 GB, free: 33.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.2936, allocations: 142.8 kB / 0.521 GB, free: 33.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2936, allocations: 0 / 0.521 GB, free: 33.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002865/0.2939, allocations: 181.4 kB / 0.5211 GB, free: 33.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2939, allocations: 5.781 kB / 0.5211 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2939, allocations: 0 / 0.5211 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2939, allocations: 4 kB / 0.5211 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.2941, allocations: 34.34 kB / 0.5212 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2941, allocations: 4 kB / 0.5212 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.737e-05/0.2941, allocations: 19.53 kB / 0.5212 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.2941, allocations: 2.906 kB / 0.5212 GB, free: 33.63 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 (11): * Single equations (assignments): 11 * 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 6.832e-05/0.2942, allocations: 133.6 kB / 0.5213 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.2943, allocations: 13.19 kB / 0.5213 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003538/0.2946, allocations: 200.7 kB / 0.5215 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.2946, allocations: 7.875 kB / 0.5215 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2946, allocations: 0 / 0.5215 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2946, allocations: 0 / 0.5215 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005371/0.2952, allocations: 0.5126 MB / 0.522 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2952, allocations: 0 / 0.522 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.273e-05/0.2953, allocations: 29.66 kB / 0.5221 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2953, allocations: 6.906 kB / 0.5221 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.2953, allocations: 6.969 kB / 0.5221 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.2953, allocations: 3.938 kB / 0.5221 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2953, allocations: 0 / 0.5221 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.2956, allocations: 291 kB / 0.5224 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.2957, allocations: 88 kB / 0.5224 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.2957, allocations: 6.406 kB / 0.5225 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.704e-05/0.2958, allocations: 16.91 kB / 0.5225 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.2958, allocations: 16.86 kB / 0.5225 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.2959, allocations: 3.188 kB / 0.5225 GB, free: 32.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.172e-05/0.2959, allocations: 138.2 kB / 0.5226 GB, free: 32.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2959, allocations: 0 / 0.5226 GB, free: 32.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002464/0.2962, allocations: 23.84 kB / 0.5226 GB, free: 32.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008409/0.297, allocations: 456.7 kB / 0.5231 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.2973, allocations: 143.1 kB / 0.5232 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2973, allocations: 0 / 0.5232 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.2975, allocations: 77.45 kB / 0.5233 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.2978, allocations: 23.64 kB / 0.5233 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.2982, allocations: 335 kB / 0.5236 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.2984, allocations: 0.7096 MB / 0.5243 GB, free: 31.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.2984, allocations: 23.27 kB / 0.5243 GB, free: 31.34 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.2984, allocations: 0 / 0.5243 GB, free: 31.34 MB / 378.7 MB Notification: Performance of Templates: time 0.002916/0.3013, allocations: 2.013 MB / 0.5263 GB, free: 31.12 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches