Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 198.6 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.252/1.252, allocations: 226.6 MB / 243.4 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000828/0.000828, allocations: 102.3 kB / 295.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3314/0.3314, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002651/0.0002652, allocations: 12 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2738, allocations: 62.96 MB / 0.5159 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.001517/0.2754, allocations: 1.364 MB / 0.5172 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006652/0.2761, allocations: 0.5263 MB / 0.5177 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.2761, allocations: 2.469 kB / 0.5177 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.2763, allocations: 57.95 kB / 0.5178 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.2765, allocations: 77.77 kB / 0.5179 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.2768, allocations: 159.4 kB / 0.518 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.277, allocations: 77.45 kB / 0.5181 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.882e-05/0.2771, allocations: 26.94 kB / 0.5181 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.407e-05/0.2771, allocations: 29.38 kB / 0.5181 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.35e-05/0.2772, allocations: 43.8 kB / 0.5182 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.2772, allocations: 0 / 0.5182 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.465e-05/0.2773, allocations: 35.16 kB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.735e-05/0.2773, allocations: 27.7 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.2774, allocations: 55.23 kB / 0.5183 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.2775, allocations: 87.12 kB / 0.5184 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2775, allocations: 3.938 kB / 0.5184 GB, free: 35.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2775, allocations: 4 kB / 0.5184 GB, free: 35.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.2775, allocations: 0 / 0.5184 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003563/0.2779, allocations: 405.2 kB / 0.5188 GB, free: 35.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.2779, allocations: 9.969 kB / 0.5188 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.278, allocations: 10.78 kB / 0.5188 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.2781, allocations: 202.7 kB / 0.519 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.2781, allocations: 4.375 kB / 0.519 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.855e-05/0.2782, allocations: 7.438 kB / 0.519 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.2783, allocations: 71.27 kB / 0.5191 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.2783, allocations: 0 / 0.5191 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.2784, allocations: 4 kB / 0.5191 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2784, allocations: 7.766 kB / 0.5191 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.2785, allocations: 50.91 kB / 0.5191 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.2789, allocations: 326.8 kB / 0.5194 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.2791, allocations: 67.69 kB / 0.5195 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.118e-05/0.2791, allocations: 29.61 kB / 0.5195 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.2792, allocations: 3.328 kB / 0.5195 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.2792, allocations: 34.56 kB / 0.5196 GB, free: 34.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.2792, allocations: 0 / 0.5196 GB, free: 34.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001293/0.2805, allocations: 0.4956 MB / 0.52 GB, free: 34.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.2805, allocations: 62.25 kB / 0.5201 GB, free: 34.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.2807, allocations: 191.4 kB / 0.5203 GB, free: 34.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.2807, allocations: 25.7 kB / 0.5203 GB, free: 34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.2807, allocations: 109.2 kB / 0.5204 GB, free: 33.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.2808, allocations: 40.47 kB / 0.5204 GB, free: 33.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.2808, allocations: 0 / 0.5204 GB, free: 33.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.661e-05/0.2808, allocations: 325.1 kB / 0.5208 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.281, allocations: 65.47 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.2811, allocations: 61.2 kB / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.2813, allocations: 146 kB / 0.521 GB, free: 33.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.2813, allocations: 0 / 0.521 GB, free: 33.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002846/0.2816, allocations: 176.7 kB / 0.5212 GB, free: 33.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.2816, allocations: 8.781 kB / 0.5212 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.2817, allocations: 0 / 0.5212 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.2817, allocations: 0 / 0.5212 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.2818, allocations: 45.64 kB / 0.5212 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2818, allocations: 2.875 kB / 0.5212 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.583e-05/0.2819, allocations: 8.844 kB / 0.5213 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.2819, allocations: 10.5 kB / 0.5213 GB, free: 33.38 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.761e-05/0.2819, allocations: 125.6 kB / 0.5214 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.282, allocations: 16.86 kB / 0.5214 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003534/0.2823, allocations: 206.6 kB / 0.5216 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2823, allocations: 3.938 kB / 0.5216 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2824, allocations: 7 kB / 0.5216 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2824, allocations: 3.422 kB / 0.5216 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005638/0.2829, allocations: 0.5071 MB / 0.5221 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2829, allocations: 0 / 0.5221 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-05/0.283, allocations: 36.41 kB / 0.5221 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2831, allocations: 0 / 0.5221 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2831, allocations: 6.562 kB / 0.5221 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2831, allocations: 2.781 kB / 0.5221 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2831, allocations: 4 kB / 0.5221 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.2834, allocations: 291.9 kB / 0.5224 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.2834, allocations: 90.36 kB / 0.5225 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.2835, allocations: 0 / 0.5225 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/0.2835, allocations: 18.16 kB / 0.5225 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.2836, allocations: 12.64 kB / 0.5225 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.2836, allocations: 6.578 kB / 0.5226 GB, free: 32.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.422e-05/0.2837, allocations: 148.6 kB / 0.5227 GB, free: 32.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2837, allocations: 0 / 0.5227 GB, free: 32.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000233/0.2839, allocations: 27.88 kB / 0.5227 GB, free: 32.35 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.0008531/0.2848, allocations: 452.3 kB / 0.5231 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.2851, allocations: 143.4 kB / 0.5233 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2851, allocations: 0 / 0.5233 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.2853, allocations: 80.11 kB / 0.5234 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.2856, allocations: 19.78 kB / 0.5234 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/0.286, allocations: 350.3 kB / 0.5237 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.2861, allocations: 0.7178 MB / 0.5244 GB, free: 31.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.2862, allocations: 18.98 kB / 0.5244 GB, free: 31.09 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2862, allocations: 0 / 0.5244 GB, free: 31.09 MB / 378.7 MB Notification: Performance of Templates: time 0.003199/0.2894, allocations: 2.053 MB / 0.5264 GB, free: 30.87 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches