Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 195.1 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.374/1.374, allocations: 226.5 MB / 243.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007572/0.0007572, allocations: 93.06 kB / 295.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2868/0.2868, allocations: 44.82 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002389/0.0002389, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2671, allocations: 62.95 MB / 0.5159 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.001624/0.2687, allocations: 1.363 MB / 0.5172 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007323/0.2695, allocations: 0.5129 MB / 0.5177 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.2696, allocations: 0 / 0.5177 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.2698, allocations: 70 kB / 0.5178 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.2701, allocations: 77.8 kB / 0.5178 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.2703, allocations: 122.6 kB / 0.518 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.2705, allocations: 74.09 kB / 0.518 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.2706, allocations: 18.44 kB / 0.5181 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.881e-05/0.2706, allocations: 26.72 kB / 0.5181 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.399e-05/0.2707, allocations: 42.44 kB / 0.5181 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.2707, allocations: 3.938 kB / 0.5181 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.377e-05/0.2708, allocations: 48.7 kB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.2709, allocations: 22.92 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.2709, allocations: 54.59 kB / 0.5182 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.2711, allocations: 88.69 kB / 0.5183 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2711, allocations: 0 / 0.5183 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2711, allocations: 0 / 0.5183 GB, free: 35.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2711, allocations: 0 / 0.5183 GB, free: 35.46 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.0004037/0.2715, allocations: 408.5 kB / 0.5187 GB, free: 35.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2715, allocations: 13.66 kB / 0.5187 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.2716, allocations: 14.28 kB / 0.5187 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.2717, allocations: 202.9 kB / 0.5189 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.2718, allocations: 384 / 0.5189 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.2718, allocations: 3.312 kB / 0.5189 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.272, allocations: 73.41 kB / 0.519 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.272, allocations: 0 / 0.519 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.272, allocations: 6.781 kB / 0.519 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.272, allocations: 4 kB / 0.519 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.2722, allocations: 43.09 kB / 0.5191 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.2725, allocations: 309.2 kB / 0.5194 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.2727, allocations: 70.83 kB / 0.5194 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.676e-05/0.2728, allocations: 27.61 kB / 0.5194 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.2728, allocations: 0 / 0.5194 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.23e-05/0.2728, allocations: 34.56 kB / 0.5195 GB, free: 34.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.2728, allocations: 0 / 0.5195 GB, free: 34.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001244/0.2741, allocations: 472.1 kB / 0.5199 GB, free: 34.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/0.2741, allocations: 58.38 kB / 0.52 GB, free: 34.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.2742, allocations: 215.8 kB / 0.5202 GB, free: 34.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.2743, allocations: 25.7 kB / 0.5202 GB, free: 34.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.2743, allocations: 112.9 kB / 0.5203 GB, free: 33.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.2743, allocations: 33.73 kB / 0.5204 GB, free: 33.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.2743, allocations: 2.938 kB / 0.5204 GB, free: 33.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.936e-05/0.2744, allocations: 328 kB / 0.5207 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.2745, allocations: 50.39 kB / 0.5207 GB, free: 33.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.2746, allocations: 53.14 kB / 0.5208 GB, free: 33.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.2748, allocations: 112.8 kB / 0.5209 GB, free: 33.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.2748, allocations: 2.656 kB / 0.5209 GB, free: 33.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002645/0.2751, allocations: 166.4 kB / 0.521 GB, free: 33.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2751, allocations: 5.906 kB / 0.521 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2751, allocations: 0 / 0.521 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.2752, allocations: 4 kB / 0.5211 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.713e-05/0.2753, allocations: 34.47 kB / 0.5211 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2753, allocations: 0 / 0.5211 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.707e-05/0.2753, allocations: 15.36 kB / 0.5211 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.2754, allocations: 3.984 kB / 0.5211 GB, free: 33.41 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.743e-05/0.2754, allocations: 136.9 kB / 0.5212 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.2755, allocations: 13.78 kB / 0.5212 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.2758, allocations: 182.9 kB / 0.5214 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2758, allocations: 3.938 kB / 0.5214 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2758, allocations: 0 / 0.5214 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2758, allocations: 0 / 0.5214 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005144/0.2763, allocations: 490.9 kB / 0.5219 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2764, allocations: 0 / 0.5219 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.191e-05/0.2764, allocations: 29.66 kB / 0.5219 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2765, allocations: 4.062 kB / 0.5219 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.2765, allocations: 2.906 kB / 0.5219 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2765, allocations: 3.938 kB / 0.5219 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2765, allocations: 0 / 0.5219 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.2768, allocations: 274.2 kB / 0.5222 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.2768, allocations: 90.55 kB / 0.5223 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.2768, allocations: 7.328 kB / 0.5223 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.515e-05/0.2769, allocations: 15.91 kB / 0.5223 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.277, allocations: 20.62 kB / 0.5223 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.277, allocations: 11.53 kB / 0.5223 GB, free: 32.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.729e-05/0.2771, allocations: 157.2 kB / 0.5225 GB, free: 32.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2771, allocations: 0 / 0.5225 GB, free: 32.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002318/0.2773, allocations: 27.31 kB / 0.5225 GB, free: 32.39 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.0008501/0.2782, allocations: 441.4 kB / 0.5229 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000277/0.2785, allocations: 133.7 kB / 0.5231 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2785, allocations: 0 / 0.5231 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.2786, allocations: 70.62 kB / 0.5231 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.2789, allocations: 25.98 kB / 0.5231 GB, free: 32.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.2793, allocations: 335.9 kB / 0.5235 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.2795, allocations: 0.7076 MB / 0.5242 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.2795, allocations: 23.88 kB / 0.5242 GB, free: 31.14 MB / 378.7 MB Notification: Performance of SimCode: time 4.2e-07/0.2795, allocations: 0 / 0.5242 GB, free: 31.14 MB / 378.7 MB Notification: Performance of Templates: time 0.002907/0.2824, allocations: 1.945 MB / 0.5261 GB, free: 30.91 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches