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.001477/0.001477, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00188/0.00188, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.248/0.248, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 79.86 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4075, allocations: 62.44 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002937/0.4105, allocations: 1.662 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.4123, allocations: 1.199 MB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.567e-05/0.4124, allocations: 1.438 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.4126, allocations: 27.44 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.4129, allocations: 93.59 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.4134, allocations: 172.3 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.4135, allocations: 75.39 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.4136, allocations: 21.61 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.356e-05/0.4137, allocations: 36.22 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.4139, allocations: 44.14 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.4139, allocations: 4.125 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.414, allocations: 89.58 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.4141, allocations: 25.41 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.4142, allocations: 25.36 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.4144, allocations: 158.6 kB / 0.5345 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.4144, allocations: 3.938 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4144, allocations: 0 / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.4144, allocations: 0 / 0.5345 GB, free: 10.91 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.0005115/0.415, allocations: 411 kB / 0.5349 GB, free: 10.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.415, allocations: 9.625 kB / 0.5349 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.4151, allocations: 8.969 kB / 0.535 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.4153, allocations: 197.8 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.4153, allocations: 1.75 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.4153, allocations: 7.125 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.4155, allocations: 90.72 kB / 0.5352 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.4155, allocations: 1.375 kB / 0.5352 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.4156, allocations: 0 / 0.5352 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4156, allocations: 1.375 kB / 0.5352 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.4157, allocations: 38.05 kB / 0.5353 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.4162, allocations: 313.2 kB / 0.5356 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.4163, allocations: 49.89 kB / 0.5356 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.61e-05/0.4164, allocations: 24.81 kB / 0.5356 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.4165, allocations: 1.031 kB / 0.5357 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.4165, allocations: 35.62 kB / 0.5357 GB, free: 9.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4165, allocations: 0 / 0.5357 GB, free: 9.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008272/0.4173, allocations: 230.2 kB / 0.5359 GB, free: 9.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.4174, allocations: 78.36 kB / 0.536 GB, free: 9.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.4175, allocations: 153.9 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.4176, allocations: 27.05 kB / 0.5362 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.4176, allocations: 99.95 kB / 0.5362 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.4177, allocations: 25.77 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.759e-05/0.4177, allocations: 28.3 kB / 0.5363 GB, free: 9.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.4178, allocations: 321 kB / 0.5366 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.418, allocations: 45.3 kB / 0.5366 GB, free: 8.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.4181, allocations: 49.75 kB / 0.5367 GB, free: 8.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.4184, allocations: 83.58 kB / 0.5368 GB, free: 8.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4184, allocations: 0 / 0.5368 GB, free: 8.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003275/0.4187, allocations: 133.1 kB / 0.5369 GB, free: 8.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.4187, allocations: 6.688 kB / 0.5369 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4187, allocations: 1.125 kB / 0.5369 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4188, allocations: 0 / 0.5369 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.4189, allocations: 22.7 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.4189, allocations: 5.109 kB / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.419, allocations: 13.88 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.419, allocations: 2.125 kB / 0.537 GB, free: 8.703 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 8.686e-05/0.4191, allocations: 128.3 kB / 0.5371 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.4191, allocations: 7.438 kB / 0.5371 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.4195, allocations: 142.8 kB / 0.5372 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4195, allocations: 5.062 kB / 0.5372 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4195, allocations: 0 / 0.5372 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4196, allocations: 3.938 kB / 0.5372 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/0.4201, allocations: 411.2 kB / 0.5376 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.4201, allocations: 0 / 0.5376 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.4203, allocations: 23.12 kB / 0.5376 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.4203, allocations: 0 / 0.5376 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.4203, allocations: 5.406 kB / 0.5376 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4203, allocations: 0 / 0.5376 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4203, allocations: 9.406 kB / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.4207, allocations: 218.8 kB / 0.5379 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.4207, allocations: 83.83 kB / 0.5379 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.4208, allocations: 9.281 kB / 0.538 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.4209, allocations: 9.891 kB / 0.538 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.4209, allocations: 10.23 kB / 0.538 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.4209, allocations: 2.375 kB / 0.538 GB, free: 7.773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.873e-05/0.421, allocations: 113.9 kB / 0.5381 GB, free: 7.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.421, allocations: 1.344 kB / 0.5381 GB, free: 7.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003139/0.4213, allocations: 38.27 kB / 0.5381 GB, free: 7.668 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.001172/0.4225, allocations: 497.8 kB / 0.5386 GB, free: 7.414 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000381/0.4229, allocations: 100.7 kB / 0.5387 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4229, allocations: 3.938 kB / 0.5387 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.4231, allocations: 44.34 kB / 0.5387 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.4235, allocations: 19.2 kB / 0.5388 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005666/0.424, allocations: 222.4 kB / 0.539 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.4244, allocations: 0.7065 MB / 0.5397 GB, free: 6.449 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.576e-05/0.4245, allocations: 27.39 kB / 0.5397 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.4245, allocations: 22.2 kB / 0.5397 GB, free: 6.418 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4245, allocations: 0 / 0.5397 GB, free: 6.418 MB / 398.1 MB Notification: Performance of Templates: time 0.005062/0.4296, allocations: 1.936 MB / 0.5416 GB, free: 5.41 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