Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 200.1 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.293/1.293, allocations: 226.5 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.0007245/0.0007247, allocations: 94.3 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.1754/0.1754, allocations: 44.84 MB / 392 MB, free: 11.36 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002828, allocations: 8 kB / 464.7 MB, free: 68.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09438/0.09468, allocations: 62.95 MB / 0.5153 GB, free: 5.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.001577/0.09631, allocations: 1.366 MB / 0.5167 GB, free: 3.723 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006776/0.09701, allocations: 0.5188 MB / 0.5172 GB, free: 3.199 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.711e-05/0.09707, allocations: 3.938 kB / 0.5172 GB, free: 3.195 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.0973, allocations: 47.86 kB / 0.5172 GB, free: 3.148 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.09749, allocations: 75.73 kB / 0.5173 GB, free: 3.074 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.09782, allocations: 159 kB / 0.5174 GB, free: 2.922 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.09794, allocations: 67.83 kB / 0.5175 GB, free: 2.855 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.735e-05/0.09803, allocations: 24.19 kB / 0.5175 GB, free: 2.828 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.273e-05/0.09808, allocations: 31.84 kB / 0.5176 GB, free: 2.797 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.27e-05/0.09816, allocations: 35.84 kB / 0.5176 GB, free: 2.762 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.09818, allocations: 4 kB / 0.5176 GB, free: 2.758 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-05/0.09826, allocations: 47.97 kB / 0.5176 GB, free: 2.711 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.215e-05/0.09831, allocations: 15.92 kB / 0.5177 GB, free: 2.695 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.09834, allocations: 37.64 kB / 0.5177 GB, free: 2.652 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.09846, allocations: 83.81 kB / 0.5178 GB, free: 2.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.09847, allocations: 0 / 0.5178 GB, free: 2.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.09848, allocations: 0 / 0.5178 GB, free: 2.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.09849, allocations: 0 / 0.5178 GB, free: 2.57 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.0003712/0.09886, allocations: 407.2 kB / 0.5182 GB, free: 2.125 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.0989, allocations: 12.03 kB / 0.5182 GB, free: 2.113 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.09894, allocations: 7.906 kB / 0.5182 GB, free: 2.105 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.09909, allocations: 196.3 kB / 0.5184 GB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.09911, allocations: 0 / 0.5184 GB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.09914, allocations: 4 kB / 0.5184 GB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.0993, allocations: 73.66 kB / 0.5184 GB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.09933, allocations: 11.88 kB / 0.5184 GB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.09934, allocations: 0 / 0.5184 GB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.09935, allocations: 0 / 0.5184 GB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.09949, allocations: 47.97 kB / 0.5185 GB, free: 1.734 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.09984, allocations: 328.7 kB / 0.5188 GB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.1001, allocations: 62.58 kB / 0.5189 GB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.052e-05/0.1001, allocations: 36.97 kB / 0.5189 GB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1002, allocations: 0 / 0.5189 GB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.1002, allocations: 34.56 kB / 0.5189 GB, free: 1.211 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1002, allocations: 3.938 kB / 0.5189 GB, free: 1.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001329/0.1015, allocations: 0.4894 MB / 0.5194 GB, free: 0.7109 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.1016, allocations: 63.33 kB / 0.5195 GB, free: 0.6367 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.1017, allocations: 177.4 kB / 0.5196 GB, free: 468 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.1017, allocations: 25.7 kB / 0.5197 GB, free: 436 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.1017, allocations: 104.1 kB / 0.5198 GB, free: 328 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.1018, allocations: 43.39 kB / 0.5198 GB, free: 284 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.1018, allocations: 4 kB / 0.5198 GB, free: 280 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.428e-05/0.1019, allocations: 322.8 kB / 0.5201 GB, free: 15.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.102, allocations: 51.97 kB / 0.5202 GB, free: 15.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1022, allocations: 71.95 kB / 0.5202 GB, free: 15.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.1023, allocations: 59.97 kB / 0.5203 GB, free: 15.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1023, allocations: 3.938 kB / 0.5203 GB, free: 15.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003371/0.1027, allocations: 177.5 kB / 0.5205 GB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1027, allocations: 8 kB / 0.5205 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1027, allocations: 4 kB / 0.5205 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1027, allocations: 3.953 kB / 0.5205 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1028, allocations: 31.92 kB / 0.5205 GB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1029, allocations: 0 / 0.5205 GB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.601e-05/0.1029, allocations: 19.98 kB / 0.5205 GB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.1029, allocations: 0 / 0.5205 GB, free: 15.52 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 (11): * Single equations (assignments): 11 * 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.0001217/0.1031, allocations: 133.8 kB / 0.5207 GB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.1031, allocations: 11.81 kB / 0.5207 GB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004188/0.1035, allocations: 202.6 kB / 0.5209 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1035, allocations: 4 kB / 0.5209 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1036, allocations: 7.938 kB / 0.5209 GB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1036, allocations: 0 / 0.5209 GB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006706/0.1042, allocations: 0.5116 MB / 0.5214 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1043, allocations: 4 kB / 0.5214 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.1044, allocations: 36 kB / 0.5214 GB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1044, allocations: 0 / 0.5214 GB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1044, allocations: 0 / 0.5214 GB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.1044, allocations: 4 kB / 0.5214 GB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1044, allocations: 0 / 0.5214 GB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.1048, allocations: 293 kB / 0.5217 GB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.1048, allocations: 92.98 kB / 0.5218 GB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1049, allocations: 7.953 kB / 0.5218 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.105, allocations: 16 kB / 0.5218 GB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.105, allocations: 7.984 kB / 0.5218 GB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.105, allocations: 7.984 kB / 0.5218 GB, free: 14.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.1052, allocations: 139.1 kB / 0.522 GB, free: 13.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1052, allocations: 0 / 0.522 GB, free: 13.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.1054, allocations: 20 kB / 0.522 GB, free: 13.92 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008922/0.1063, allocations: 457.7 kB / 0.5224 GB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.1067, allocations: 147.8 kB / 0.5226 GB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1067, allocations: 0 / 0.5226 GB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.1068, allocations: 80.02 kB / 0.5226 GB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.1072, allocations: 21.14 kB / 0.5227 GB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.1077, allocations: 336.6 kB / 0.523 GB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1079, allocations: 0.7121 MB / 0.5237 GB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.108, allocations: 15.44 kB / 0.5237 GB, free: 12.27 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.108, allocations: 0 / 0.5237 GB, free: 12.27 MB / 362.7 MB Notification: Performance of Templates: time 0.003437/0.1114, allocations: 2.019 MB / 0.5257 GB, free: 10.26 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches