Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 195.1 kB / 16.1 MB, free: 5.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 226.5 MB / 243.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007168/0.0007169, allocations: 92.84 kB / 295.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.299/0.299, allocations: 44.83 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.294, allocations: 62.95 MB / 0.5159 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.001727/0.2958, allocations: 1.35 MB / 0.5172 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.2972, allocations: 1.123 MB / 0.5183 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.2973, allocations: 0 / 0.5183 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.2975, allocations: 32.42 kB / 0.5183 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.2977, allocations: 68.16 kB / 0.5184 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.298, allocations: 151.7 kB / 0.5185 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.2981, allocations: 68.25 kB / 0.5186 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2983, allocations: 23.39 kB / 0.5186 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.2983, allocations: 32.3 kB / 0.5186 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.2984, allocations: 28.11 kB / 0.5187 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.2984, allocations: 2.969 kB / 0.5187 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.2986, allocations: 81.78 kB / 0.5188 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.2986, allocations: 20.36 kB / 0.5188 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.2987, allocations: 48.47 kB / 0.5188 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.2988, allocations: 116.3 kB / 0.5189 GB, free: 34.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2988, allocations: 0 / 0.5189 GB, free: 34.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2988, allocations: 0 / 0.5189 GB, free: 34.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.2989, allocations: 2.625 kB / 0.5189 GB, free: 34.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003867/0.2992, allocations: 395 kB / 0.5193 GB, free: 34.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2993, allocations: 10.09 kB / 0.5193 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.2993, allocations: 8.25 kB / 0.5193 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.2995, allocations: 197.4 kB / 0.5195 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.088e-06/0.2995, allocations: 3.344 kB / 0.5195 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.2995, allocations: 4.375 kB / 0.5195 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.2997, allocations: 101.9 kB / 0.5196 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2997, allocations: 0 / 0.5196 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2997, allocations: 0 / 0.5196 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2997, allocations: 6.938 kB / 0.5196 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.2999, allocations: 47.75 kB / 0.5197 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.3002, allocations: 306.8 kB / 0.52 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.3004, allocations: 56.44 kB / 0.52 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.729e-05/0.3004, allocations: 30.23 kB / 0.52 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.3005, allocations: 0 / 0.52 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.3005, allocations: 37.34 kB / 0.5201 GB, free: 33.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.3005, allocations: 0 / 0.5201 GB, free: 33.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007538/0.3013, allocations: 260 kB / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.3013, allocations: 81.11 kB / 0.5204 GB, free: 33.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3014, allocations: 148.4 kB / 0.5205 GB, free: 33.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.3014, allocations: 25.7 kB / 0.5206 GB, free: 33.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.3015, allocations: 98.44 kB / 0.5207 GB, free: 33.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.3015, allocations: 29.88 kB / 0.5207 GB, free: 33.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/0.3015, allocations: 0 / 0.5207 GB, free: 33.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.638e-05/0.3016, allocations: 317.8 kB / 0.521 GB, free: 33.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.3017, allocations: 51.14 kB / 0.521 GB, free: 33.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.3018, allocations: 60 kB / 0.5211 GB, free: 33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.302, allocations: 108.4 kB / 0.5212 GB, free: 32.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.302, allocations: 0 / 0.5212 GB, free: 32.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002576/0.3023, allocations: 137.2 kB / 0.5213 GB, free: 32.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3023, allocations: 5.562 kB / 0.5213 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3023, allocations: 0 / 0.5213 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3023, allocations: 3.938 kB / 0.5213 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.3025, allocations: 28 kB / 0.5214 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3025, allocations: 2.812 kB / 0.5214 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.321e-05/0.3025, allocations: 19.86 kB / 0.5214 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.078e-06/0.3026, allocations: 2.781 kB / 0.5214 GB, free: 32.89 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 (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 6.978e-05/0.3026, allocations: 119.2 kB / 0.5215 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.3027, allocations: 13.25 kB / 0.5215 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.303, allocations: 155.6 kB / 0.5217 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.303, allocations: 0 / 0.5217 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.303, allocations: 0 / 0.5217 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.303, allocations: 11.16 kB / 0.5217 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004677/0.3035, allocations: 429.1 kB / 0.5221 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3035, allocations: 0 / 0.5221 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.954e-05/0.3036, allocations: 26.17 kB / 0.5221 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3036, allocations: 0 / 0.5221 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3036, allocations: 3.938 kB / 0.5221 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3036, allocations: 2.5 kB / 0.5221 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3036, allocations: 0 / 0.5221 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.3039, allocations: 246 kB / 0.5224 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.3039, allocations: 86.98 kB / 0.5224 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.304, allocations: 11.94 kB / 0.5225 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.3041, allocations: 15.06 kB / 0.5225 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.3041, allocations: 6.125 kB / 0.5225 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.3041, allocations: 0 / 0.5225 GB, free: 32.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.5e-05/0.3042, allocations: 117.2 kB / 0.5226 GB, free: 31.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3042, allocations: 0 / 0.5226 GB, free: 31.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002669/0.3045, allocations: 46.83 kB / 0.5226 GB, free: 31.96 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 (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.000916/0.3054, allocations: 492.8 kB / 0.5231 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002883/0.3057, allocations: 104 kB / 0.5232 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3057, allocations: 0 / 0.5232 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.3058, allocations: 56.47 kB / 0.5233 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.3061, allocations: 17.97 kB / 0.5233 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/0.3065, allocations: 246.8 kB / 0.5235 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.3066, allocations: 0.6963 MB / 0.5242 GB, free: 30.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.3067, allocations: 16.77 kB / 0.5242 GB, free: 30.78 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3067, allocations: 4 kB / 0.5242 GB, free: 30.78 MB / 378.7 MB Notification: Performance of Templates: time 0.003259/0.3099, allocations: 2.155 MB / 0.5263 GB, free: 30.52 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches