Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 200.8 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.273/1.273, allocations: 226.5 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007265/0.0007265, allocations: 101.8 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1787/0.1787, allocations: 44.84 MB / 392 MB, free: 9.309 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002543/0.0002544, allocations: 4 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08951/0.08979, allocations: 62.96 MB / 0.5153 GB, free: 2.762 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.00198/0.09179, allocations: 1.362 MB / 0.5167 GB, free: 1.383 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008827/0.0927, allocations: 0.5227 MB / 0.5172 GB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.699e-05/0.09279, allocations: 3.938 kB / 0.5172 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.09303, allocations: 55.86 kB / 0.5172 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.09327, allocations: 83.72 kB / 0.5173 GB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.0937, allocations: 157.2 kB / 0.5175 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.09384, allocations: 71.81 kB / 0.5175 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.09394, allocations: 24.2 kB / 0.5175 GB, free: 480 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.235e-05/0.094, allocations: 27.86 kB / 0.5176 GB, free: 452 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.113e-05/0.09409, allocations: 39.83 kB / 0.5176 GB, free: 412 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.09411, allocations: 0 / 0.5176 GB, free: 412 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.09423, allocations: 43.98 kB / 0.5177 GB, free: 368 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.09428, allocations: 19.92 kB / 0.5177 GB, free: 348 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.09432, allocations: 37.64 kB / 0.5177 GB, free: 304 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.09447, allocations: 83.81 kB / 0.5178 GB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.09448, allocations: 0 / 0.5178 GB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.09449, allocations: 0 / 0.5178 GB, free: 220 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.0945, allocations: 0 / 0.5178 GB, free: 220 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.1669/0.2614, allocations: 403 kB / 0.5182 GB, free: 11.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2615, allocations: 12.84 kB / 0.5182 GB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.2615, allocations: 8.562 kB / 0.5182 GB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.2617, allocations: 194.9 kB / 0.5184 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.2617, allocations: 6.281 kB / 0.5184 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.2618, allocations: 4.312 kB / 0.5184 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.262, allocations: 71.16 kB / 0.5185 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.262, allocations: 0.625 kB / 0.5185 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.262, allocations: 7.25 kB / 0.5185 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.262, allocations: 1.203 kB / 0.5185 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.2622, allocations: 52.28 kB / 0.5185 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.2626, allocations: 327.8 kB / 0.5188 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.2628, allocations: 68.38 kB / 0.5189 GB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.919e-05/0.2629, allocations: 31.81 kB / 0.5189 GB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.263, allocations: 1.031 kB / 0.5189 GB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.263, allocations: 33.84 kB / 0.519 GB, free: 11.22 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.263, allocations: 5.891 kB / 0.519 GB, free: 11.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001562/0.2645, allocations: 0.4903 MB / 0.5194 GB, free: 11.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.2646, allocations: 54.62 kB / 0.5195 GB, free: 11.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.2648, allocations: 186.7 kB / 0.5197 GB, free: 10.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.2648, allocations: 32.27 kB / 0.5197 GB, free: 10.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.2648, allocations: 101.5 kB / 0.5198 GB, free: 10.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.2649, allocations: 36.72 kB / 0.5198 GB, free: 10.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-06/0.2649, allocations: 3.438 kB / 0.5198 GB, free: 10.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.2649, allocations: 322.8 kB / 0.5201 GB, free: 10.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.2651, allocations: 63.09 kB / 0.5202 GB, free: 10.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.2652, allocations: 66.88 kB / 0.5203 GB, free: 10.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.2654, allocations: 68.09 kB / 0.5203 GB, free: 10.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2654, allocations: 0 / 0.5203 GB, free: 10.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003909/0.2658, allocations: 179.7 kB / 0.5205 GB, free: 10.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2658, allocations: 9.312 kB / 0.5205 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2658, allocations: 0.5625 kB / 0.5205 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2659, allocations: 5.547 kB / 0.5205 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.266, allocations: 35.23 kB / 0.5206 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.266, allocations: 0 / 0.5206 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.2661, allocations: 15.19 kB / 0.5206 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.2661, allocations: 6 kB / 0.5206 GB, free: 10.47 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 9.297e-05/0.2662, allocations: 132.5 kB / 0.5207 GB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.2662, allocations: 10.5 kB / 0.5207 GB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/0.2667, allocations: 207.2 kB / 0.5209 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2667, allocations: 6 kB / 0.5209 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2667, allocations: 5.297 kB / 0.5209 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2667, allocations: 0.6094 kB / 0.5209 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006797/0.2674, allocations: 0.5049 MB / 0.5214 GB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2674, allocations: 1.812 kB / 0.5214 GB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.2675, allocations: 37.88 kB / 0.5214 GB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2675, allocations: 2.062 kB / 0.5214 GB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.2676, allocations: 2.375 kB / 0.5215 GB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2676, allocations: 3.828 kB / 0.5215 GB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2676, allocations: 0 / 0.5215 GB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.2679, allocations: 288.3 kB / 0.5217 GB, free: 9.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.68e-05/0.268, allocations: 87.31 kB / 0.5218 GB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.268, allocations: 11.78 kB / 0.5218 GB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.553e-05/0.2681, allocations: 17.28 kB / 0.5218 GB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.2681, allocations: 13.2 kB / 0.5219 GB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.2682, allocations: 7.594 kB / 0.5219 GB, free: 9.684 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.046e-05/0.2683, allocations: 150.5 kB / 0.522 GB, free: 9.586 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2683, allocations: 0 / 0.522 GB, free: 9.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002327/0.2685, allocations: 25.31 kB / 0.522 GB, free: 9.582 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.0008318/0.2693, allocations: 452 kB / 0.5225 GB, free: 9.371 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003682/0.2697, allocations: 139.7 kB / 0.5226 GB, free: 9.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2697, allocations: 3.938 kB / 0.5226 GB, free: 9.336 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.2699, allocations: 85.55 kB / 0.5227 GB, free: 9.309 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.2702, allocations: 15.62 kB / 0.5227 GB, free: 9.305 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.2707, allocations: 349.5 kB / 0.523 GB, free: 9.047 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.2708, allocations: 0.7106 MB / 0.5237 GB, free: 8.352 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.2708, allocations: 20.22 kB / 0.5237 GB, free: 8.34 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2709, allocations: 0 / 0.5237 GB, free: 8.34 MB / 346.7 MB Notification: Performance of Templates: time 0.003527/0.2744, allocations: 2.043 MB / 0.5257 GB, free: 8.121 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches