Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 194.3 kB / 16.09 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 226.5 MB / 243.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007336/0.0007335, allocations: 100.3 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2825/0.2825, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002569/0.000257, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2703, allocations: 62.96 MB / 0.5159 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.001516/0.2718, allocations: 1.334 MB / 0.5172 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005588/0.2724, allocations: 0.6637 MB / 0.5178 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.2724, allocations: 0 / 0.5178 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.2726, allocations: 28 kB / 0.5179 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.2728, allocations: 33.62 kB / 0.5179 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.815e-06/0.2728, allocations: 0 / 0.5179 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.2729, allocations: 43.12 kB / 0.5179 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.992e-05/0.273, allocations: 0 / 0.5179 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.135e-05/0.273, allocations: 23.42 kB / 0.518 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/0.273, allocations: 15.41 kB / 0.518 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.2731, allocations: 0 / 0.518 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.192e-05/0.2731, allocations: 13.81 kB / 0.518 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.37e-05/0.2731, allocations: 17.11 kB / 0.518 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.2732, allocations: 51.88 kB / 0.518 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.573e-05/0.2733, allocations: 48.59 kB / 0.5181 GB, free: 35.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2733, allocations: 4 kB / 0.5181 GB, free: 35.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2733, allocations: 2.969 kB / 0.5181 GB, free: 35.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.2733, allocations: 0 / 0.5181 GB, free: 35.45 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002189/0.2735, allocations: 347 kB / 0.5184 GB, free: 35.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.2736, allocations: 9.375 kB / 0.5184 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.2736, allocations: 7.344 kB / 0.5184 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.88e-05/0.2737, allocations: 170.3 kB / 0.5186 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.2737, allocations: 7.359 kB / 0.5186 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-06/0.2737, allocations: 384 / 0.5186 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.2739, allocations: 131.2 kB / 0.5187 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.2739, allocations: 192 / 0.5187 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.2739, allocations: 3.938 kB / 0.5187 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/0.2739, allocations: 28.2 kB / 0.5188 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.899e-05/0.274, allocations: 39.81 kB / 0.5188 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.2744, allocations: 0.8972 MB / 0.5197 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.734e-05/0.2744, allocations: 173.1 kB / 0.5198 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.317e-05/0.2744, allocations: 83.14 kB / 0.5199 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.2745, allocations: 79.22 kB / 0.52 GB, free: 33.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.2745, allocations: 109.3 kB / 0.5201 GB, free: 33.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.2745, allocations: 96 / 0.5201 GB, free: 33.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 5.586e-05/0.2746, allocations: 43.19 kB / 0.5202 GB, free: 33.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.2746, allocations: 130.7 kB / 0.5203 GB, free: 33.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.2747, allocations: 185 kB / 0.5205 GB, free: 33.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.198e-06/0.2747, allocations: 25.7 kB / 0.5205 GB, free: 33.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.2748, allocations: 150.6 kB / 0.5206 GB, free: 32.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.466e-06/0.2748, allocations: 6.688 kB / 0.5206 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.2748, allocations: 4 kB / 0.5206 GB, free: 32.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.763e-05/0.2749, allocations: 320.9 kB / 0.5209 GB, free: 32.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.949e-05/0.2749, allocations: 33.61 kB / 0.521 GB, free: 32.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-05/0.275, allocations: 156 kB / 0.5211 GB, free: 32.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.2751, allocations: 209.7 kB / 0.5213 GB, free: 32.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2751, allocations: 0 / 0.5213 GB, free: 32.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002319/0.2754, allocations: 202.1 kB / 0.5215 GB, free: 32.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2754, allocations: 8.406 kB / 0.5215 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2754, allocations: 5.812 kB / 0.5215 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2754, allocations: 5.875 kB / 0.5215 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.2755, allocations: 35.31 kB / 0.5216 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.2755, allocations: 13.02 kB / 0.5216 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.873e-05/0.2756, allocations: 21.62 kB / 0.5216 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.2756, allocations: 9.25 kB / 0.5216 GB, free: 32.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 7.161e-05/0.2757, allocations: 214 kB / 0.5218 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.2758, allocations: 115.6 kB / 0.5219 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.2758, allocations: 117.8 kB / 0.522 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.2758, allocations: 184.2 kB / 0.5222 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.301e-05/0.2758, allocations: 179.2 kB / 0.5224 GB, free: 31.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/0.2759, allocations: 176.3 kB / 0.5225 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.276, allocations: 430.3 kB / 0.523 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.276, allocations: 108 kB / 0.5231 GB, free: 30.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.48e-05/0.2761, allocations: 108.9 kB / 0.5232 GB, free: 30.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.978e-05/0.2761, allocations: 180.3 kB / 0.5233 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.2761, allocations: 176.3 kB / 0.5235 GB, free: 30.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.143e-05/0.2761, allocations: 190.4 kB / 0.5237 GB, free: 29.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.021e-05/0.2762, allocations: 176.3 kB / 0.5239 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.697e-05/0.2762, allocations: 317 kB / 0.5242 GB, free: 29.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.2763, allocations: 188.9 kB / 0.5243 GB, free: 29.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.2763, allocations: 183.1 kB / 0.5245 GB, free: 28.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.212e-05/0.2764, allocations: 104.3 kB / 0.5246 GB, free: 28.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.2764, allocations: 184.2 kB / 0.5248 GB, free: 28.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.2764, allocations: 103.9 kB / 0.5249 GB, free: 28.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.5e-05/0.2765, allocations: 131.8 kB / 0.525 GB, free: 28.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.2765, allocations: 0 / 0.525 GB, free: 28.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.2767, allocations: 19.69 kB / 0.525 GB, free: 28.48 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 (0): * Single equations (assignments): 0 * 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.000385/0.2771, allocations: 272.5 kB / 0.5253 GB, free: 28.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000108/0.2772, allocations: 74.22 kB / 0.5254 GB, free: 28.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2772, allocations: 2.938 kB / 0.5254 GB, free: 28.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.2772, allocations: 0 / 0.5254 GB, free: 28.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.2775, allocations: 0.5356 MB / 0.5259 GB, free: 27.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.2778, allocations: 302.6 kB / 0.5262 GB, free: 27.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.2779, allocations: 0.7023 MB / 0.5269 GB, free: 26.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.278, allocations: 15.56 kB / 0.5269 GB, free: 26.75 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.278, allocations: 0 / 0.5269 GB, free: 26.75 MB / 378.7 MB Notification: Performance of Templates: time 0.002112/0.2801, allocations: 1.27 MB / 0.5281 GB, free: 26.65 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches