Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009047/0.0009047, allocations: 204.4 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008028/0.0008025, allocations: 97.12 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1803/0.1803, allocations: 44.84 MB / 392 MB, free: 9.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002454/0.0002454, allocations: 12 kB / 464.7 MB, free: 49.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09411/0.09437, allocations: 62.96 MB / 0.5153 GB, free: 2.785 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.001789/0.0962, allocations: 1.362 MB / 0.5167 GB, free: 1.406 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007764/0.09699, allocations: 0.5265 MB / 0.5172 GB, free: 0.875 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.09704, allocations: 0 / 0.5172 GB, free: 0.875 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.09726, allocations: 51.86 kB / 0.5172 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.09747, allocations: 83.72 kB / 0.5173 GB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.09786, allocations: 158.3 kB / 0.5174 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.09799, allocations: 75.81 kB / 0.5175 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.137e-05/0.09808, allocations: 20.2 kB / 0.5175 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.852e-05/0.09813, allocations: 31.86 kB / 0.5176 GB, free: 472 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.376e-05/0.09822, allocations: 43.81 kB / 0.5176 GB, free: 428 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.09824, allocations: 4 kB / 0.5176 GB, free: 424 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.327e-05/0.09833, allocations: 43.94 kB / 0.5177 GB, free: 380 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.197e-05/0.09838, allocations: 15.98 kB / 0.5177 GB, free: 364 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.09841, allocations: 41.62 kB / 0.5177 GB, free: 316 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.09853, allocations: 79.81 kB / 0.5178 GB, free: 236 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.09854, allocations: 0 / 0.5178 GB, free: 236 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09855, allocations: 0 / 0.5178 GB, free: 236 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.09856, allocations: 0 / 0.5178 GB, free: 236 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.1715/0.2701, allocations: 408.8 kB / 0.5182 GB, free: 11.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.2701, allocations: 9.844 kB / 0.5182 GB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.2702, allocations: 8.219 kB / 0.5182 GB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.2704, allocations: 197.3 kB / 0.5184 GB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.2704, allocations: 2.438 kB / 0.5184 GB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.2705, allocations: 4.5 kB / 0.5184 GB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.2707, allocations: 73.89 kB / 0.5185 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2707, allocations: 0 / 0.5185 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2707, allocations: 5.031 kB / 0.5185 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2707, allocations: 1.406 kB / 0.5185 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.2709, allocations: 56.56 kB / 0.5185 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.2713, allocations: 328.6 kB / 0.5188 GB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.2716, allocations: 66.89 kB / 0.5189 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.67e-05/0.2717, allocations: 31.67 kB / 0.5189 GB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.2717, allocations: 0.625 kB / 0.5189 GB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.2717, allocations: 37.25 kB / 0.519 GB, free: 11.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.2717, allocations: 2.734 kB / 0.519 GB, free: 11.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001559/0.2733, allocations: 0.49 MB / 0.5194 GB, free: 11.17 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.2733, allocations: 52.78 kB / 0.5195 GB, free: 11.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.2735, allocations: 192.5 kB / 0.5197 GB, free: 11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.2736, allocations: 27.14 kB / 0.5197 GB, free: 10.97 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.2736, allocations: 102.9 kB / 0.5198 GB, free: 10.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.2736, allocations: 36.69 kB / 0.5198 GB, free: 10.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.2737, allocations: 2 kB / 0.5198 GB, free: 10.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.221e-05/0.2737, allocations: 324.6 kB / 0.5201 GB, free: 10.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.2739, allocations: 63.11 kB / 0.5202 GB, free: 10.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.274, allocations: 65.83 kB / 0.5203 GB, free: 10.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.2742, allocations: 65.8 kB / 0.5203 GB, free: 10.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2742, allocations: 1 kB / 0.5203 GB, free: 10.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003531/0.2745, allocations: 189.1 kB / 0.5205 GB, free: 10.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2746, allocations: 6.562 kB / 0.5205 GB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2746, allocations: 0 / 0.5205 GB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2746, allocations: 5.359 kB / 0.5205 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.2747, allocations: 28.97 kB / 0.5206 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.2747, allocations: 1.062 kB / 0.5206 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.944e-05/0.2748, allocations: 20.86 kB / 0.5206 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.2748, allocations: 6.656 kB / 0.5206 GB, free: 10.49 MB / 346.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 8.267e-05/0.2749, allocations: 127.2 kB / 0.5207 GB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.275, allocations: 9.75 kB / 0.5207 GB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.2754, allocations: 208.8 kB / 0.5209 GB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2754, allocations: 4.875 kB / 0.5209 GB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2755, allocations: 5.844 kB / 0.5209 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2755, allocations: 0 / 0.5209 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006562/0.2761, allocations: 0.5053 MB / 0.5214 GB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2761, allocations: 4.719 kB / 0.5214 GB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.2762, allocations: 34.17 kB / 0.5215 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2763, allocations: 1.531 kB / 0.5215 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.2763, allocations: 3.594 kB / 0.5215 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2763, allocations: 2.438 kB / 0.5215 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2763, allocations: 0 / 0.5215 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.2766, allocations: 289.2 kB / 0.5217 GB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.2767, allocations: 91.47 kB / 0.5218 GB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.2767, allocations: 7.734 kB / 0.5218 GB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-05/0.2768, allocations: 15.84 kB / 0.5218 GB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.2769, allocations: 16.23 kB / 0.5219 GB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.2769, allocations: 4.797 kB / 0.5219 GB, free: 9.711 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.917e-05/0.277, allocations: 149.7 kB / 0.522 GB, free: 9.613 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.277, allocations: 0 / 0.522 GB, free: 9.613 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000233/0.2772, allocations: 32.16 kB / 0.522 GB, free: 9.605 MB / 346.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.0008216/0.278, allocations: 453.9 kB / 0.5225 GB, free: 9.395 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003487/0.2784, allocations: 144.6 kB / 0.5226 GB, free: 9.359 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2784, allocations: 3.938 kB / 0.5226 GB, free: 9.355 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.2786, allocations: 82.03 kB / 0.5227 GB, free: 9.332 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.2789, allocations: 24.52 kB / 0.5227 GB, free: 9.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.2793, allocations: 342.3 kB / 0.523 GB, free: 9.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.2795, allocations: 0.7133 MB / 0.5237 GB, free: 8.371 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.2795, allocations: 16.55 kB / 0.5238 GB, free: 8.363 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2795, allocations: 4 kB / 0.5238 GB, free: 8.359 MB / 346.7 MB Notification: Performance of Templates: time 0.003645/0.2832, allocations: 2.034 MB / 0.5257 GB, free: 8.148 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches