Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001091, allocations: 200.7 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.256/1.256, allocations: 226.5 MB / 243.1 MB, free: 12.37 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006976/0.0006978, allocations: 96.31 kB / 295.1 MB, free: 4.535 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1743/0.1743, allocations: 44.84 MB / 392 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002853/0.0002853, allocations: 8 kB / 464.7 MB, free: 68.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08971/0.09001, allocations: 62.96 MB / 0.5153 GB, free: 5.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.001442/0.09149, allocations: 1.351 MB / 0.5167 GB, free: 3.723 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006111/0.09212, allocations: 0.4953 MB / 0.5171 GB, free: 3.223 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.09217, allocations: 0 / 0.5171 GB, free: 3.223 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.09253, allocations: 447.2 kB / 0.5176 GB, free: 2.785 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.0928, allocations: 283.4 kB / 0.5178 GB, free: 2.508 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.09304, allocations: 107.8 kB / 0.5179 GB, free: 2.402 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.09318, allocations: 135.7 kB / 0.5181 GB, free: 2.27 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.325e-05/0.09326, allocations: 15.98 kB / 0.5181 GB, free: 2.254 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.214e-05/0.09334, allocations: 107.7 kB / 0.5182 GB, free: 2.148 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.09348, allocations: 167.7 kB / 0.5183 GB, free: 1.984 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.0935, allocations: 4 kB / 0.5183 GB, free: 1.98 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.671e-05/0.09358, allocations: 40 kB / 0.5184 GB, free: 1.941 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.09365, allocations: 83.67 kB / 0.5185 GB, free: 1.859 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.09369, allocations: 69.52 kB / 0.5185 GB, free: 1.785 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.09384, allocations: 195.6 kB / 0.5187 GB, free: 1.594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.09385, allocations: 0 / 0.5187 GB, free: 1.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09386, allocations: 0 / 0.5187 GB, free: 1.594 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.09387, allocations: 0 / 0.5187 GB, free: 1.594 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000449/0.09432, allocations: 0.6069 MB / 0.5193 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.09436, allocations: 8.031 kB / 0.5193 GB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.09441, allocations: 43.44 kB / 0.5194 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.09458, allocations: 275.3 kB / 0.5196 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.09459, allocations: 4 kB / 0.5196 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.09462, allocations: 8 kB / 0.5196 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.09474, allocations: 61.61 kB / 0.5197 GB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.09476, allocations: 0 / 0.5197 GB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.09477, allocations: 4 kB / 0.5197 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.09478, allocations: 0 / 0.5197 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.473e-05/0.09487, allocations: 31.98 kB / 0.5197 GB, free: 476 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.09519, allocations: 396.6 kB / 0.5201 GB, free: 28 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.09532, allocations: 54.48 kB / 0.5202 GB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.09538, allocations: 24.94 kB / 0.5202 GB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.09541, allocations: 3.984 kB / 0.5202 GB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.09543, allocations: 30.56 kB / 0.5202 GB, free: 15.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.09544, allocations: 0 / 0.5202 GB, free: 15.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008574/0.0963, allocations: 335.8 kB / 0.5205 GB, free: 15.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.09634, allocations: 51.41 kB / 0.5206 GB, free: 15.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007381/0.09708, allocations: 0.8652 MB / 0.5214 GB, free: 14.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.0971, allocations: 25.7 kB / 0.5215 GB, free: 14.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.09726, allocations: 232 kB / 0.5217 GB, free: 14.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.09729, allocations: 27.59 kB / 0.5217 GB, free: 14.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.0973, allocations: 4 kB / 0.5217 GB, free: 14.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.09743, allocations: 362.8 kB / 0.5221 GB, free: 13.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.924e-05/0.09752, allocations: 23.98 kB / 0.5221 GB, free: 13.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.057e-05/0.09759, allocations: 31.98 kB / 0.5221 GB, free: 13.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.06e-05/0.09768, allocations: 35.98 kB / 0.5221 GB, free: 13.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.09769, allocations: 0 / 0.5221 GB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002305/0.09792, allocations: 149.2 kB / 0.5223 GB, free: 13.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.09794, allocations: 4 kB / 0.5223 GB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.09795, allocations: 0 / 0.5223 GB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.09797, allocations: 3.953 kB / 0.5223 GB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.564e-05/0.09807, allocations: 31.98 kB / 0.5223 GB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.09808, allocations: 0 / 0.5223 GB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.09816, allocations: 8 kB / 0.5223 GB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.09817, allocations: 0 / 0.5223 GB, free: 13.68 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 (8): * Single equations (assignments): 8 * 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.0001675/0.09834, allocations: 213.8 kB / 0.5225 GB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.0984, allocations: 43.44 kB / 0.5226 GB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.0987, allocations: 165.4 kB / 0.5227 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.09871, allocations: 4 kB / 0.5227 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.09873, allocations: 3.953 kB / 0.5227 GB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.09873, allocations: 0 / 0.5227 GB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005559/0.09929, allocations: 0.507 MB / 0.5232 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.09931, allocations: 4 kB / 0.5232 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.178e-05/0.09938, allocations: 19.98 kB / 0.5233 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.0994, allocations: 3.953 kB / 0.5233 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.09941, allocations: 0 / 0.5233 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.09941, allocations: 4.031 kB / 0.5233 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.09942, allocations: 7.984 kB / 0.5233 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.09967, allocations: 235.8 kB / 0.5235 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.09975, allocations: 120.6 kB / 0.5236 GB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.09978, allocations: 3.953 kB / 0.5236 GB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.299e-05/0.09987, allocations: 4 kB / 0.5236 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.09991, allocations: 15.92 kB / 0.5236 GB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.09992, allocations: 4 kB / 0.5236 GB, free: 12.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005509/0.1005, allocations: 0.6511 MB / 0.5243 GB, free: 11.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1005, allocations: 3.938 kB / 0.5243 GB, free: 11.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000227/0.1007, allocations: 32 kB / 0.5243 GB, free: 11.53 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0008605/0.1016, allocations: 450.1 kB / 0.5247 GB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.1018, allocations: 87.86 kB / 0.5248 GB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1018, allocations: 3.938 kB / 0.5248 GB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.366e-05/0.1019, allocations: 35.92 kB / 0.5249 GB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.1022, allocations: 26.3 kB / 0.5249 GB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000995/0.1032, allocations: 0.8987 MB / 0.5258 GB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.1036, allocations: 0.8262 MB / 0.5266 GB, free: 9.316 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.1037, allocations: 15.44 kB / 0.5266 GB, free: 9.301 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1037, allocations: 0 / 0.5266 GB, free: 9.301 MB / 362.7 MB Notification: Performance of Templates: time 0.00592/0.1096, allocations: 3.887 MB / 0.5304 GB, free: 5.414 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches