Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009696/0.0009696, allocations: 202.3 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 226.6 MB / 243.1 MB, free: 14.28 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007667/0.0007667, allocations: 91.69 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1943/0.1943, allocations: 44.84 MB / 392 MB, free: 9.336 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002371/0.0002371, allocations: 11.98 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09685/0.0971, allocations: 62.95 MB / 0.5153 GB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.001974/0.09911, allocations: 1.666 MB / 0.517 GB, free: 1.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1006, allocations: 1.045 MB / 0.518 GB, free: 44 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.266e-05/0.1007, allocations: 0 / 0.518 GB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1832/0.2839, allocations: 252.4 kB / 0.5182 GB, free: 9.832 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005811/0.2845, allocations: 223.5 kB / 0.5184 GB, free: 9.832 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.2863, allocations: 0.6054 MB / 0.519 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005512/0.2869, allocations: 289.8 kB / 0.5193 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.2871, allocations: 64.48 kB / 0.5194 GB, free: 9.816 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.2873, allocations: 121.2 kB / 0.5195 GB, free: 9.812 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.2875, allocations: 177.5 kB / 0.5196 GB, free: 9.777 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.2876, allocations: 3.406 kB / 0.5196 GB, free: 9.777 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.2878, allocations: 53.89 kB / 0.5197 GB, free: 9.777 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.2879, allocations: 89.8 kB / 0.5198 GB, free: 9.762 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.288, allocations: 65.86 kB / 0.5198 GB, free: 9.719 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.2883, allocations: 244.2 kB / 0.5201 GB, free: 9.707 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2884, allocations: 1.281 kB / 0.5201 GB, free: 9.707 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2884, allocations: 0 / 0.5201 GB, free: 9.707 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.2884, allocations: 4 kB / 0.5201 GB, free: 9.703 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006876/0.2891, allocations: 0.6049 MB / 0.5207 GB, free: 9.199 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2891, allocations: 9.219 kB / 0.5207 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.642e-05/0.2892, allocations: 39.17 kB / 0.5207 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.2895, allocations: 316.8 kB / 0.521 GB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.2896, allocations: 7.406 kB / 0.521 GB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.2896, allocations: 15.73 kB / 0.521 GB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.2899, allocations: 126.8 kB / 0.5212 GB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.2899, allocations: 4.609 kB / 0.5212 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.2899, allocations: 4.5 kB / 0.5212 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2899, allocations: 2.281 kB / 0.5212 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.2902, allocations: 100.3 kB / 0.5213 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006873/0.2909, allocations: 0.5077 MB / 0.5218 GB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.2911, allocations: 115.1 kB / 0.5219 GB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.175e-05/0.2912, allocations: 48.83 kB / 0.5219 GB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.2912, allocations: 7.641 kB / 0.5219 GB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.2912, allocations: 38.95 kB / 0.522 GB, free: 8.516 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.2912, allocations: 0 / 0.522 GB, free: 8.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001031/0.2923, allocations: 456.5 kB / 0.5224 GB, free: 8.402 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.2923, allocations: 53.89 kB / 0.5225 GB, free: 8.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006681/0.293, allocations: 0.5616 MB / 0.523 GB, free: 8.234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.293, allocations: 30.47 kB / 0.523 GB, free: 8.203 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.2932, allocations: 205.7 kB / 0.5232 GB, free: 8.109 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.2932, allocations: 56.69 kB / 0.5233 GB, free: 8.074 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.2932, allocations: 6.188 kB / 0.5233 GB, free: 8.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.576e-05/0.2933, allocations: 362.3 kB / 0.5236 GB, free: 7.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.2935, allocations: 71.61 kB / 0.5237 GB, free: 7.746 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.2936, allocations: 75.81 kB / 0.5238 GB, free: 7.742 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.2938, allocations: 72.81 kB / 0.5238 GB, free: 7.742 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2938, allocations: 4 kB / 0.5238 GB, free: 7.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004123/0.2942, allocations: 235.9 kB / 0.5241 GB, free: 7.684 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2943, allocations: 5.938 kB / 0.5241 GB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2943, allocations: 0 / 0.5241 GB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.2943, allocations: 1.75 kB / 0.5241 GB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.2945, allocations: 42.03 kB / 0.5241 GB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2945, allocations: 1.125 kB / 0.5241 GB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.047e-05/0.2946, allocations: 9.406 kB / 0.5241 GB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.2946, allocations: 7.188 kB / 0.5241 GB, free: 7.676 MB / 346.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 (17): * Single equations (assignments): 17 * 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.0001646/0.2948, allocations: 179.3 kB / 0.5243 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.2948, allocations: 43.59 kB / 0.5243 GB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006058/0.2954, allocations: 287.8 kB / 0.5246 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2955, allocations: 3.172 kB / 0.5246 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2955, allocations: 0 / 0.5246 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2955, allocations: 1.312 kB / 0.5246 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000949/0.2964, allocations: 0.6977 MB / 0.5253 GB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2964, allocations: 0 / 0.5253 GB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.2966, allocations: 37.06 kB / 0.5253 GB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2966, allocations: 1 kB / 0.5253 GB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.2967, allocations: 8.609 kB / 0.5254 GB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2967, allocations: 1.062 kB / 0.5254 GB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2967, allocations: 4.547 kB / 0.5254 GB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004412/0.2971, allocations: 346.9 kB / 0.5257 GB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.2972, allocations: 125.8 kB / 0.5258 GB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.2973, allocations: 5.781 kB / 0.5258 GB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.2974, allocations: 6.703 kB / 0.5258 GB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.2974, allocations: 15.88 kB / 0.5258 GB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.2975, allocations: 4.781 kB / 0.5258 GB, free: 6.754 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004525/0.2979, allocations: 423.7 kB / 0.5262 GB, free: 6.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2979, allocations: 5.062 kB / 0.5262 GB, free: 6.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003059/0.2982, allocations: 47.3 kB / 0.5263 GB, free: 6.578 MB / 346.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 (17): * Single equations (assignments): 17 * 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.001357/0.2996, allocations: 0.6985 MB / 0.527 GB, free: 6.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.2999, allocations: 170.1 kB / 0.5271 GB, free: 6.207 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3, allocations: 0 / 0.5271 GB, free: 6.207 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.3001, allocations: 96.89 kB / 0.5272 GB, free: 6.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.3006, allocations: 65.47 kB / 0.5273 GB, free: 6.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009772/0.3016, allocations: 0.7966 MB / 0.5281 GB, free: 5.699 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.3019, allocations: 0.8254 MB / 0.5289 GB, free: 4.984 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/0.302, allocations: 36.44 kB / 0.5289 GB, free: 4.973 MB / 346.7 MB Notification: Performance of SimCode: time 3.4e-07/0.302, allocations: 0 / 0.5289 GB, free: 4.973 MB / 346.7 MB Notification: Performance of Templates: time 0.007485/0.3095, allocations: 4.749 MB / 0.5335 GB, free: 4.363 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches