Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 201 kB / 15.8 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007156/0.0007157, allocations: 94.09 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1867/0.1867, allocations: 44.83 MB / 392 MB, free: 9.328 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002329/0.000233, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09133/0.09158, allocations: 62.96 MB / 0.5153 GB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.001597/0.09321, allocations: 1.343 MB / 0.5166 GB, free: 1.402 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.09457, allocations: 1.082 MB / 0.5177 GB, free: 320 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.09463, allocations: 0 / 0.5177 GB, free: 320 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.09479, allocations: 15.92 kB / 0.5177 GB, free: 304 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.09501, allocations: 71.75 kB / 0.5178 GB, free: 232 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.09531, allocations: 117.4 kB / 0.5179 GB, free: 120 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.09544, allocations: 59.83 kB / 0.5179 GB, free: 60 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.355e-05/0.09553, allocations: 11.98 kB / 0.518 GB, free: 48 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.336e-05/0.09558, allocations: 23.86 kB / 0.518 GB, free: 24 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1802/0.2758, allocations: 26.14 kB / 0.518 GB, free: 9.965 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.2759, allocations: 2.625 kB / 0.518 GB, free: 9.965 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.2762, allocations: 80.91 kB / 0.5181 GB, free: 9.965 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.311e-05/0.2763, allocations: 18.8 kB / 0.5181 GB, free: 9.965 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.2763, allocations: 34.36 kB / 0.5181 GB, free: 9.934 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.2766, allocations: 105 kB / 0.5182 GB, free: 9.934 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2766, allocations: 1.016 kB / 0.5182 GB, free: 9.934 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2766, allocations: 0 / 0.5182 GB, free: 9.934 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2766, allocations: 1.406 kB / 0.5182 GB, free: 9.934 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004667/0.2771, allocations: 402.8 kB / 0.5186 GB, free: 9.551 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.2771, allocations: 11.88 kB / 0.5186 GB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.2772, allocations: 8.219 kB / 0.5186 GB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.2774, allocations: 193.6 kB / 0.5188 GB, free: 9.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.2774, allocations: 2.594 kB / 0.5188 GB, free: 9.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.2774, allocations: 3.969 kB / 0.5188 GB, free: 9.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.2776, allocations: 79.31 kB / 0.5189 GB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2776, allocations: 0.8125 kB / 0.5189 GB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.2776, allocations: 2.25 kB / 0.5189 GB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.2777, allocations: 0.5625 kB / 0.5189 GB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.2778, allocations: 48.39 kB / 0.519 GB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.2782, allocations: 284.2 kB / 0.5192 GB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.2783, allocations: 54.06 kB / 0.5193 GB, free: 9 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.2784, allocations: 28.12 kB / 0.5193 GB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.2784, allocations: 3.625 kB / 0.5193 GB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.2784, allocations: 38.06 kB / 0.5194 GB, free: 8.949 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2785, allocations: 0 / 0.5194 GB, free: 8.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008167/0.2793, allocations: 234.3 kB / 0.5196 GB, free: 8.902 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.2793, allocations: 86.8 kB / 0.5197 GB, free: 8.801 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.2795, allocations: 148 kB / 0.5198 GB, free: 8.699 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.2795, allocations: 26.64 kB / 0.5198 GB, free: 8.668 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.2795, allocations: 96.77 kB / 0.5199 GB, free: 8.582 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.2796, allocations: 27.75 kB / 0.5199 GB, free: 8.566 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.2796, allocations: 1.75 kB / 0.5199 GB, free: 8.566 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.225e-05/0.2796, allocations: 319.9 kB / 0.5202 GB, free: 8.254 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.2798, allocations: 46.34 kB / 0.5203 GB, free: 8.246 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.2799, allocations: 53.98 kB / 0.5203 GB, free: 8.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.28, allocations: 43.69 kB / 0.5204 GB, free: 8.227 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.28, allocations: 0 / 0.5204 GB, free: 8.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002876/0.2803, allocations: 129.9 kB / 0.5205 GB, free: 8.188 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2804, allocations: 5.688 kB / 0.5205 GB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2804, allocations: 3.812 kB / 0.5205 GB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2804, allocations: 0 / 0.5205 GB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.2805, allocations: 26.61 kB / 0.5205 GB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2805, allocations: 0.75 kB / 0.5205 GB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/0.2806, allocations: 21.59 kB / 0.5206 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.2806, allocations: 3.75 kB / 0.5206 GB, free: 8.18 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 (7): * Single equations (assignments): 7 * 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.969e-05/0.2807, allocations: 118.6 kB / 0.5207 GB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.2807, allocations: 7.719 kB / 0.5207 GB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.2811, allocations: 139.8 kB / 0.5208 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.2811, allocations: 1.797 kB / 0.5208 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2811, allocations: 0 / 0.5208 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2812, allocations: 1.156 kB / 0.5208 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.2817, allocations: 413.3 kB / 0.5212 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2817, allocations: 0 / 0.5212 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.7e-05/0.2818, allocations: 35.55 kB / 0.5213 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2818, allocations: 0 / 0.5213 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2818, allocations: 5.828 kB / 0.5213 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2818, allocations: 0 / 0.5213 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2818, allocations: 5.016 kB / 0.5213 GB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.2821, allocations: 220.6 kB / 0.5215 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.2822, allocations: 89.58 kB / 0.5216 GB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.2822, allocations: 1.031 kB / 0.5216 GB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.2823, allocations: 24.38 kB / 0.5216 GB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.2824, allocations: 9.547 kB / 0.5216 GB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.2824, allocations: 2.656 kB / 0.5216 GB, free: 7.465 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.642e-05/0.2825, allocations: 112.4 kB / 0.5217 GB, free: 7.391 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2825, allocations: 3.469 kB / 0.5217 GB, free: 7.391 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002961/0.2828, allocations: 45.59 kB / 0.5218 GB, free: 7.379 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 (7): * Single equations (assignments): 7 * 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.0009667/0.2837, allocations: 480.2 kB / 0.5222 GB, free: 7.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003056/0.2841, allocations: 96.41 kB / 0.5223 GB, free: 7.156 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2841, allocations: 0 / 0.5223 GB, free: 7.156 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.2842, allocations: 54.2 kB / 0.5224 GB, free: 7.152 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.2845, allocations: 22.17 kB / 0.5224 GB, free: 7.148 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.2849, allocations: 234.2 kB / 0.5226 GB, free: 6.965 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.285, allocations: 0.6923 MB / 0.5233 GB, free: 6.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.2851, allocations: 17.31 kB / 0.5233 GB, free: 6.262 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2851, allocations: 0 / 0.5233 GB, free: 6.262 MB / 346.7 MB Notification: Performance of Templates: time 0.004037/0.2892, allocations: 2.063 MB / 0.5253 GB, free: 6.035 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches