Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001683/0.001683, allocations: 117.2 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.002232/0.002232, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.251/0.251, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 75.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4628, allocations: 62.45 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003046/0.4659, allocations: 1.654 MB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.4678, allocations: 1.204 MB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.342e-05/0.4679, allocations: 1.156 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.4681, allocations: 27.5 kB / 0.5338 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.4685, allocations: 86.3 kB / 0.5339 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.4689, allocations: 179.9 kB / 0.5341 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.4691, allocations: 74.58 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.4692, allocations: 22.48 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.146e-05/0.4693, allocations: 27.08 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.4694, allocations: 44.55 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.4695, allocations: 4.281 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.4697, allocations: 104.6 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.4697, allocations: 22.61 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.4698, allocations: 21.38 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.47, allocations: 151 kB / 0.5345 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4701, allocations: 3.984 kB / 0.5346 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.4701, allocations: 0 / 0.5346 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.4701, allocations: 0 / 0.5346 GB, free: 10.89 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004954/0.4706, allocations: 428.8 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.4706, allocations: 13.56 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.4707, allocations: 9.016 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.4708, allocations: 185.9 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.4709, allocations: 5.75 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.4709, allocations: 3.125 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.4711, allocations: 78.75 kB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.4711, allocations: 0 / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-06/0.4711, allocations: 5.375 kB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.4711, allocations: 5.359 kB / 0.5353 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.4713, allocations: 41.91 kB / 0.5353 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.4717, allocations: 305.8 kB / 0.5356 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.4719, allocations: 49.81 kB / 0.5356 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.405e-05/0.4719, allocations: 27.95 kB / 0.5357 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.472, allocations: 1.25 kB / 0.5357 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.472, allocations: 43.78 kB / 0.5357 GB, free: 9.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.472, allocations: 0 / 0.5357 GB, free: 9.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000803/0.4728, allocations: 234.2 kB / 0.5359 GB, free: 9.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.4729, allocations: 79.33 kB / 0.536 GB, free: 9.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.473, allocations: 153.5 kB / 0.5361 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.4731, allocations: 30.81 kB / 0.5362 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.4731, allocations: 95.47 kB / 0.5363 GB, free: 9.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.4732, allocations: 26.06 kB / 0.5363 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.4732, allocations: 24.12 kB / 0.5363 GB, free: 9.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.4733, allocations: 321.3 kB / 0.5366 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.4734, allocations: 37.38 kB / 0.5367 GB, free: 8.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.4736, allocations: 49.78 kB / 0.5367 GB, free: 8.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.4738, allocations: 96.06 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4738, allocations: 0 / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002794/0.4741, allocations: 124.6 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4741, allocations: 8.453 kB / 0.5369 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.4742, allocations: 1.031 kB / 0.5369 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.4742, allocations: 0 / 0.5369 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.4743, allocations: 23.14 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.4743, allocations: 1.031 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.786e-05/0.4744, allocations: 17.55 kB / 0.537 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.4744, allocations: 2.219 kB / 0.537 GB, free: 8.66 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 (7): * Single equations (assignments): 7 * 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 9.117e-05/0.4745, allocations: 116.5 kB / 0.5371 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.4745, allocations: 7.172 kB / 0.5371 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.4749, allocations: 146.5 kB / 0.5372 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.4749, allocations: 0.9375 kB / 0.5372 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.4749, allocations: 4.641 kB / 0.5372 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4749, allocations: 3.938 kB / 0.5372 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.4755, allocations: 414.9 kB / 0.5376 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.4755, allocations: 0 / 0.5376 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.317e-05/0.4756, allocations: 31.33 kB / 0.5377 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-06/0.4756, allocations: 0 / 0.5377 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.4756, allocations: 5.312 kB / 0.5377 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4756, allocations: 0 / 0.5377 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4756, allocations: 1.312 kB / 0.5377 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.476, allocations: 223.4 kB / 0.5379 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.476, allocations: 87.17 kB / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.476, allocations: 4.969 kB / 0.538 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.239e-05/0.4761, allocations: 10.98 kB / 0.538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.4762, allocations: 6.719 kB / 0.538 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.4762, allocations: 1.094 kB / 0.538 GB, free: 7.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.921e-05/0.4763, allocations: 120.9 kB / 0.5381 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4763, allocations: 3.938 kB / 0.5381 GB, free: 7.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.4766, allocations: 44.08 kB / 0.5381 GB, free: 7.617 MB / 398.1 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 (7): * Single equations (assignments): 7 * 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.001075/0.4777, allocations: 491.1 kB / 0.5386 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002997/0.478, allocations: 88.36 kB / 0.5387 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.478, allocations: 8.688 kB / 0.5387 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.4782, allocations: 49.09 kB / 0.5388 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.4785, allocations: 23.27 kB / 0.5388 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.479, allocations: 215.4 kB / 0.539 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.4793, allocations: 0.6992 MB / 0.5397 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.555e-05/0.4794, allocations: 30.38 kB / 0.5397 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.4795, allocations: 15.19 kB / 0.5397 GB, free: 6.383 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4795, allocations: 0 / 0.5397 GB, free: 6.383 MB / 398.1 MB Notification: Performance of Templates: time 0.004625/0.4841, allocations: 1.929 MB / 0.5416 GB, free: 5.379 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches