Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 201 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 226.6 MB / 243.1 MB, free: 12.55 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007582/0.0007584, allocations: 98.23 kB / 295.1 MB, free: 4.414 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1812/0.1812, allocations: 44.84 MB / 392 MB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000247/0.0002471, allocations: 12 kB / 464.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08481/0.08507, allocations: 62.95 MB / 0.5153 GB, free: 5.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.001703/0.08681, allocations: 1.584 MB / 0.5169 GB, free: 3.512 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.08814, allocations: 0.9944 MB / 0.5178 GB, free: 2.512 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.08829, allocations: 3.938 kB / 0.5179 GB, free: 2.508 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.08866, allocations: 263.4 kB / 0.5181 GB, free: 2.25 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.08904, allocations: 223.3 kB / 0.5183 GB, free: 2.031 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.09017, allocations: 0.5873 MB / 0.5189 GB, free: 1.461 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002914/0.09047, allocations: 271.1 kB / 0.5191 GB, free: 1.195 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.0906, allocations: 52.7 kB / 0.5192 GB, free: 1.145 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.09073, allocations: 111.5 kB / 0.5193 GB, free: 1.035 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.09089, allocations: 163.4 kB / 0.5195 GB, free: 0.875 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.09093, allocations: 7.938 kB / 0.5195 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.09104, allocations: 43.92 kB / 0.5195 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.194e-05/0.09112, allocations: 83.73 kB / 0.5196 GB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.09116, allocations: 69.45 kB / 0.5197 GB, free: 0.668 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.09136, allocations: 207.7 kB / 0.5199 GB, free: 476 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.09137, allocations: 0 / 0.5199 GB, free: 476 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09138, allocations: 0 / 0.5199 GB, free: 476 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.09139, allocations: 4 kB / 0.5199 GB, free: 472 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005689/0.09196, allocations: 0.5876 MB / 0.5204 GB, free: 15.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.092, allocations: 8.031 kB / 0.5204 GB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.09208, allocations: 39.44 kB / 0.5205 GB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.09243, allocations: 305.2 kB / 0.5208 GB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.09245, allocations: 12 kB / 0.5208 GB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.09247, allocations: 7.938 kB / 0.5208 GB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.09268, allocations: 97.64 kB / 0.5209 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.0927, allocations: 0 / 0.5209 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.09272, allocations: 0 / 0.5209 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.09272, allocations: 0 / 0.5209 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.09289, allocations: 75.95 kB / 0.521 GB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.09348, allocations: 464.4 kB / 0.5214 GB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.09362, allocations: 70.55 kB / 0.5215 GB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.144e-05/0.0937, allocations: 40.95 kB / 0.5215 GB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.09373, allocations: 4 kB / 0.5215 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.09376, allocations: 38.48 kB / 0.5215 GB, free: 14.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.09377, allocations: 0 / 0.5215 GB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003593/0.09413, allocations: 161.1 kB / 0.5217 GB, free: 14.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.09418, allocations: 51.41 kB / 0.5217 GB, free: 14.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005765/0.09476, allocations: 0.5721 MB / 0.5223 GB, free: 13.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.09479, allocations: 25.7 kB / 0.5223 GB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.09493, allocations: 204.3 kB / 0.5225 GB, free: 13.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.09496, allocations: 23.64 kB / 0.5225 GB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.09497, allocations: 4 kB / 0.5225 GB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.0951, allocations: 346.8 kB / 0.5229 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.605e-05/0.09517, allocations: 23.98 kB / 0.5229 GB, free: 13.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.82e-05/0.09524, allocations: 35.97 kB / 0.5229 GB, free: 13.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.565e-05/0.09532, allocations: 31.98 kB / 0.523 GB, free: 13.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.09533, allocations: 3.938 kB / 0.523 GB, free: 13.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002043/0.09554, allocations: 133.2 kB / 0.5231 GB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.09556, allocations: 4 kB / 0.5231 GB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.09557, allocations: 0 / 0.5231 GB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.09559, allocations: 7.938 kB / 0.5231 GB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.84e-05/0.09568, allocations: 15.95 kB / 0.5231 GB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.09569, allocations: 0 / 0.5231 GB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.52e-05/0.09575, allocations: 8.422 kB / 0.5231 GB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.09576, allocations: 4 kB / 0.5231 GB, free: 12.89 MB / 362.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 (6): * Single equations (assignments): 6 * 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 0.000145/0.09591, allocations: 169.8 kB / 0.5233 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.09597, allocations: 39.44 kB / 0.5233 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.09626, allocations: 165 kB / 0.5235 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.09627, allocations: 0 / 0.5235 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.09628, allocations: 3.953 kB / 0.5235 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.09629, allocations: 0 / 0.5235 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.09658, allocations: 293.5 kB / 0.5238 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.09659, allocations: 0 / 0.5238 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.955e-05/0.09665, allocations: 15.98 kB / 0.5238 GB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.09666, allocations: 0 / 0.5238 GB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.09668, allocations: 4 kB / 0.5238 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.09669, allocations: 4 kB / 0.5238 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.09669, allocations: 0 / 0.5238 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.09694, allocations: 234.8 kB / 0.524 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.91e-05/0.09704, allocations: 128.5 kB / 0.5241 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.09707, allocations: 3.938 kB / 0.5241 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/0.09715, allocations: 8 kB / 0.5242 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.09719, allocations: 0 / 0.5242 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.0972, allocations: 7.984 kB / 0.5242 GB, free: 11.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004031/0.09761, allocations: 427.1 kB / 0.5246 GB, free: 11.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09762, allocations: 0 / 0.5246 GB, free: 11.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002607/0.09788, allocations: 27.95 kB / 0.5246 GB, free: 11.29 MB / 362.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 (6): * Single equations (assignments): 6 * 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.001145/0.09904, allocations: 0.5947 MB / 0.5252 GB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.09923, allocations: 67.91 kB / 0.5252 GB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.09924, allocations: 0 / 0.5252 GB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.121e-05/0.09932, allocations: 35.97 kB / 0.5253 GB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.09979, allocations: 65.61 kB / 0.5253 GB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008591/0.1007, allocations: 0.687 MB / 0.526 GB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.101, allocations: 0.8024 MB / 0.5268 GB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.1011, allocations: 27.42 kB / 0.5268 GB, free: 9.172 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1011, allocations: 0 / 0.5268 GB, free: 9.172 MB / 362.7 MB Notification: Performance of Templates: time 0.005925/0.107, allocations: 3.959 MB / 0.5307 GB, free: 5.219 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches