Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009092/0.0009092, 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.246/1.246, allocations: 226.6 MB / 243.1 MB, free: 12.36 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007554/0.0007554, allocations: 89.77 kB / 295.1 MB, free: 4.438 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1761/0.1761, allocations: 44.84 MB / 392 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002275/0.0002276, allocations: 8 kB / 464.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0836/0.08384, allocations: 62.96 MB / 0.5153 GB, free: 5.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.00158/0.08546, allocations: 1.338 MB / 0.5166 GB, free: 3.738 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007057/0.08618, allocations: 0.5188 MB / 0.5171 GB, free: 3.215 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.08624, allocations: 0 / 0.5171 GB, free: 3.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004293/0.08668, allocations: 451.2 kB / 0.5176 GB, free: 2.773 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.08695, allocations: 271.4 kB / 0.5178 GB, free: 2.508 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.08727, allocations: 155.3 kB / 0.518 GB, free: 2.359 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.08742, allocations: 139.7 kB / 0.5181 GB, free: 2.223 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.705e-05/0.0875, allocations: 23.95 kB / 0.5181 GB, free: 2.199 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.97e-05/0.08758, allocations: 99.73 kB / 0.5182 GB, free: 2.102 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.08772, allocations: 171.7 kB / 0.5184 GB, free: 1.934 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.08775, allocations: 0 / 0.5184 GB, free: 1.934 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.972e-05/0.08783, allocations: 28 kB / 0.5184 GB, free: 1.906 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.095e-05/0.08791, allocations: 87.67 kB / 0.5185 GB, free: 1.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.08795, allocations: 65.52 kB / 0.5186 GB, free: 1.75 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.08809, allocations: 183.7 kB / 0.5187 GB, free: 1.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.08811, allocations: 0 / 0.5187 GB, free: 1.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.08811, allocations: 3.938 kB / 0.5187 GB, free: 1.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.08812, allocations: 4 kB / 0.5187 GB, free: 1.562 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.0004379/0.08856, allocations: 0.5951 MB / 0.5193 GB, free: 0.918 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.0886, allocations: 12.03 kB / 0.5193 GB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.08865, allocations: 39.44 kB / 0.5194 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.08884, allocations: 283.2 kB / 0.5196 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.08886, allocations: 0 / 0.5196 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.08888, allocations: 7.984 kB / 0.5197 GB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.08901, allocations: 57.62 kB / 0.5197 GB, free: 492 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.08903, allocations: 3.984 kB / 0.5197 GB, free: 488 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.08904, allocations: 0 / 0.5197 GB, free: 488 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.08905, allocations: 7.938 kB / 0.5197 GB, free: 480 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.024e-05/0.08915, allocations: 35.97 kB / 0.5198 GB, free: 444 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.08958, allocations: 396.7 kB / 0.5201 GB, free: 16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.0898, allocations: 54.5 kB / 0.5202 GB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.08987, allocations: 16.94 kB / 0.5202 GB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.0899, allocations: 0 / 0.5202 GB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.08993, allocations: 34.56 kB / 0.5202 GB, free: 15.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.08993, allocations: 0 / 0.5202 GB, free: 15.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006036/0.09054, allocations: 251.8 kB / 0.5205 GB, free: 15.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.09059, allocations: 59.34 kB / 0.5205 GB, free: 15.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007277/0.09132, allocations: 0.8737 MB / 0.5214 GB, free: 14.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.09134, allocations: 29.7 kB / 0.5214 GB, free: 14.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.09149, allocations: 220.1 kB / 0.5216 GB, free: 14.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.09152, allocations: 15.8 kB / 0.5216 GB, free: 14.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.09153, allocations: 0 / 0.5216 GB, free: 14.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.09165, allocations: 358.8 kB / 0.522 GB, free: 14.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.556e-05/0.09174, allocations: 23.98 kB / 0.522 GB, free: 14.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.09181, allocations: 35.91 kB / 0.522 GB, free: 13.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.419e-05/0.0919, allocations: 27.98 kB / 0.5221 GB, free: 13.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.0919, allocations: 0 / 0.5221 GB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000207/0.09211, allocations: 129 kB / 0.5222 GB, free: 13.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.09214, allocations: 8 kB / 0.5222 GB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.09215, allocations: 256 / 0.5222 GB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/0.09216, allocations: 0 / 0.5222 GB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.505e-05/0.09223, allocations: 23.98 kB / 0.5222 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.09224, allocations: 0 / 0.5222 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.0923, allocations: 11.94 kB / 0.5222 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.09232, allocations: 4 kB / 0.5222 GB, free: 13.77 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 (5): * Single equations (assignments): 5 * 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.0001592/0.09248, allocations: 213.8 kB / 0.5224 GB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.09253, allocations: 43.44 kB / 0.5225 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.09281, allocations: 149.1 kB / 0.5226 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.09282, allocations: 0 / 0.5226 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.09283, allocations: 0 / 0.5226 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.09283, allocations: 4 kB / 0.5226 GB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004711/0.09331, allocations: 474.4 kB / 0.5231 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.09332, allocations: 0 / 0.5231 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.09338, allocations: 15.98 kB / 0.5231 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.09339, allocations: 4 kB / 0.5231 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.09341, allocations: 7.938 kB / 0.5231 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.09341, allocations: 3.938 kB / 0.5231 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.09342, allocations: 3.953 kB / 0.5231 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.09365, allocations: 219 kB / 0.5233 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/0.09373, allocations: 120.5 kB / 0.5234 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.09376, allocations: 3.984 kB / 0.5234 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.104e-05/0.09385, allocations: 4 kB / 0.5234 GB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.09389, allocations: 7.953 kB / 0.5235 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.0939, allocations: 3.984 kB / 0.5235 GB, free: 12.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005295/0.09443, allocations: 0.655 MB / 0.5241 GB, free: 11.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09444, allocations: 0 / 0.5241 GB, free: 11.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002233/0.09467, allocations: 27.98 kB / 0.5241 GB, free: 11.73 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 (5): * Single equations (assignments): 5 * 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.0007509/0.09543, allocations: 408.4 kB / 0.5245 GB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.09563, allocations: 59.91 kB / 0.5246 GB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.09564, allocations: 0 / 0.5246 GB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.011e-05/0.09572, allocations: 35.98 kB / 0.5246 GB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.09605, allocations: 27.72 kB / 0.5246 GB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009457/0.097, allocations: 0.8627 MB / 0.5255 GB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.09735, allocations: 0.8301 MB / 0.5263 GB, free: 9.594 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.09739, allocations: 15.44 kB / 0.5263 GB, free: 9.578 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.0974, allocations: 4 kB / 0.5263 GB, free: 9.574 MB / 362.7 MB Notification: Performance of Templates: time 0.005607/0.103, allocations: 3.72 MB / 0.5299 GB, free: 5.855 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches