Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001974/0.001974, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002051/0.002051, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2644/0.2644, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 80.09 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.4564, allocations: 62.44 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003362/0.4598, allocations: 1.682 MB / 0.5327 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.4609, allocations: 0.5785 MB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.854e-05/0.461, allocations: 5.125 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006189/0.4616, allocations: 453.5 kB / 0.5337 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.4621, allocations: 297 kB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.4627, allocations: 179.5 kB / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.463, allocations: 175 kB / 0.5343 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.4631, allocations: 22.89 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.4633, allocations: 119.5 kB / 0.5344 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.4636, allocations: 207.8 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.4637, allocations: 4.406 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.4638, allocations: 52.3 kB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.4639, allocations: 87.83 kB / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.631e-05/0.464, allocations: 107 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.4644, allocations: 280.2 kB / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4644, allocations: 0 / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4644, allocations: 1.062 kB / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.4645, allocations: 0 / 0.5351 GB, free: 10.87 MB / 398.1 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.0008173/0.4653, allocations: 0.6492 MB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4653, allocations: 9.906 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.124e-05/0.4654, allocations: 42.84 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.4657, allocations: 299.2 kB / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.4657, allocations: 15 kB / 0.5361 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.4658, allocations: 10.98 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.466, allocations: 61.52 kB / 0.5362 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.466, allocations: 1.344 kB / 0.5362 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.466, allocations: 4 kB / 0.5362 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.466, allocations: 1.344 kB / 0.5362 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.4661, allocations: 31.06 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006665/0.4668, allocations: 408.7 kB / 0.5366 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.467, allocations: 47.62 kB / 0.5367 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.547e-05/0.467, allocations: 25.22 kB / 0.5367 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.4671, allocations: 1.125 kB / 0.5367 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.4671, allocations: 31.78 kB / 0.5367 GB, free: 9.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.4671, allocations: 0 / 0.5367 GB, free: 9.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001063/0.4682, allocations: 324.2 kB / 0.537 GB, free: 9.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.4682, allocations: 56.47 kB / 0.5371 GB, free: 9.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009918/0.4692, allocations: 0.866 MB / 0.5379 GB, free: 8.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.4693, allocations: 30.86 kB / 0.5379 GB, free: 8.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.4695, allocations: 226 kB / 0.5382 GB, free: 8.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.4695, allocations: 26.66 kB / 0.5382 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.4696, allocations: 24.8 kB / 0.5382 GB, free: 8.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.4698, allocations: 364.3 kB / 0.5386 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.663e-05/0.4699, allocations: 32.38 kB / 0.5386 GB, free: 8.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.461e-05/0.47, allocations: 29.08 kB / 0.5386 GB, free: 8.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.4702, allocations: 83.12 kB / 0.5387 GB, free: 8.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4702, allocations: 0 / 0.5387 GB, free: 8.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002857/0.4705, allocations: 139.4 kB / 0.5388 GB, free: 7.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.4705, allocations: 5.562 kB / 0.5388 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4705, allocations: 0 / 0.5388 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4705, allocations: 0.75 kB / 0.5388 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.4707, allocations: 21.86 kB / 0.5389 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4707, allocations: 5.094 kB / 0.5389 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.4708, allocations: 11.27 kB / 0.5389 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.4708, allocations: 6.25 kB / 0.5389 GB, free: 7.918 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002226/0.471, allocations: 214.9 kB / 0.5391 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/0.4711, allocations: 43.64 kB / 0.5391 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/0.4715, allocations: 186 kB / 0.5393 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4715, allocations: 5.062 kB / 0.5393 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4715, allocations: 5.156 kB / 0.5393 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4715, allocations: 4 kB / 0.5393 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007645/0.4723, allocations: 0.5077 MB / 0.5398 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.4723, allocations: 5 kB / 0.5398 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.746e-05/0.4724, allocations: 21.11 kB / 0.5398 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.4724, allocations: 1.062 kB / 0.5398 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.4724, allocations: 6.578 kB / 0.5398 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.4724, allocations: 1.062 kB / 0.5398 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4724, allocations: 4.031 kB / 0.5398 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.4728, allocations: 243.3 kB / 0.5401 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.474e-05/0.4729, allocations: 115.1 kB / 0.5402 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.4729, allocations: 1.219 kB / 0.5402 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-05/0.473, allocations: 11.53 kB / 0.5402 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.4731, allocations: 11.72 kB / 0.5402 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.4731, allocations: 2.406 kB / 0.5402 GB, free: 6.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007564/0.4738, allocations: 0.6583 MB / 0.5409 GB, free: 6.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4739, allocations: 3.938 kB / 0.5409 GB, free: 6.496 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.4741, allocations: 26.66 kB / 0.5409 GB, free: 6.492 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0011/0.4752, allocations: 456.4 kB / 0.5413 GB, free: 6.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.4755, allocations: 76.56 kB / 0.5414 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4755, allocations: 0 / 0.5414 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.4756, allocations: 40.2 kB / 0.5414 GB, free: 6.207 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.4761, allocations: 34.17 kB / 0.5415 GB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.4776, allocations: 0.8172 MB / 0.5423 GB, free: 5.754 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.4781, allocations: 0.8327 MB / 0.5431 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.685e-05/0.4782, allocations: 25.53 kB / 0.5431 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.4782, allocations: 17.91 kB / 0.5431 GB, free: 4.961 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4782, allocations: 3.938 kB / 0.5431 GB, free: 4.957 MB / 398.1 MB Notification: Performance of Templates: time 0.005795/0.484, allocations: 1.79 MB / 0.5449 GB, free: 3.332 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches