Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001094, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, 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.361/1.361, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2088/0.2088, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 76.09 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3983, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003172/0.4015, allocations: 1.618 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.4026, allocations: 0.5327 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.97e-05/0.4027, allocations: 1.781 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.403, allocations: 77.3 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.4033, allocations: 102.1 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.4037, allocations: 91.19 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.4039, allocations: 78.19 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.404, allocations: 20.23 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.948e-05/0.4041, allocations: 31.03 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.4042, allocations: 51.16 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.4042, allocations: 4.125 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.627e-05/0.4043, allocations: 48.84 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.522e-05/0.4044, allocations: 18.8 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.4044, allocations: 33.23 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.4046, allocations: 100.8 kB / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4046, allocations: 0 / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4046, allocations: 0 / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.4046, allocations: 5.375 kB / 0.5338 GB, free: 11.54 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.0004934/0.4051, allocations: 408.1 kB / 0.5341 GB, free: 11.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.4052, allocations: 12.23 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.4052, allocations: 14.25 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.4054, allocations: 199 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.4055, allocations: 9.734 kB / 0.5344 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.4055, allocations: 3.125 kB / 0.5344 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.4056, allocations: 54.12 kB / 0.5344 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4057, allocations: 9.375 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.4057, allocations: 0 / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4057, allocations: 1.375 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.687e-05/0.4058, allocations: 35.02 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.4062, allocations: 289.5 kB / 0.5347 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.749e-05/0.4063, allocations: 43.06 kB / 0.5348 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.4063, allocations: 20.97 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.4064, allocations: 0 / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.4064, allocations: 39.84 kB / 0.5348 GB, free: 10.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.4064, allocations: 0 / 0.5348 GB, free: 10.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008974/0.4073, allocations: 225.7 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.4073, allocations: 52.56 kB / 0.5351 GB, free: 10.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.4076, allocations: 207.6 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.4076, allocations: 27.05 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.4076, allocations: 104.8 kB / 0.5354 GB, free: 9.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.4077, allocations: 30.83 kB / 0.5355 GB, free: 9.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.4077, allocations: 19.28 kB / 0.5355 GB, free: 9.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4079, allocations: 331.3 kB / 0.5358 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.4079, allocations: 21.33 kB / 0.5358 GB, free: 9.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/0.408, allocations: 26.95 kB / 0.5358 GB, free: 9.527 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.4082, allocations: 59.3 kB / 0.5359 GB, free: 9.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4082, allocations: 0 / 0.5359 GB, free: 9.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002018/0.4084, allocations: 103.9 kB / 0.536 GB, free: 9.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4084, allocations: 9.75 kB / 0.536 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4084, allocations: 320 / 0.536 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4085, allocations: 1.094 kB / 0.536 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.4086, allocations: 18.08 kB / 0.536 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4086, allocations: 0 / 0.536 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.4086, allocations: 11.59 kB / 0.536 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.4086, allocations: 6.203 kB / 0.536 GB, free: 9.41 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 9.584e-05/0.4087, allocations: 123.3 kB / 0.5362 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.4088, allocations: 20.06 kB / 0.5362 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.4091, allocations: 115.7 kB / 0.5363 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4091, allocations: 0.9688 kB / 0.5363 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4091, allocations: 1.125 kB / 0.5363 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.4091, allocations: 3.938 kB / 0.5363 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.4096, allocations: 402.5 kB / 0.5367 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4096, allocations: 0 / 0.5367 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-05/0.4097, allocations: 18.52 kB / 0.5367 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.4097, allocations: 5.188 kB / 0.5367 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.4097, allocations: 5.125 kB / 0.5367 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.4097, allocations: 8.906 kB / 0.5367 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4097, allocations: 0 / 0.5367 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.41, allocations: 204.6 kB / 0.5369 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/0.41, allocations: 87.3 kB / 0.537 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.4101, allocations: 5.109 kB / 0.537 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-05/0.4101, allocations: 3.438 kB / 0.537 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.4102, allocations: 15.91 kB / 0.537 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.4102, allocations: 3.094 kB / 0.537 GB, free: 8.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.4103, allocations: 155 kB / 0.5372 GB, free: 8.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4103, allocations: 0 / 0.5372 GB, free: 8.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.4106, allocations: 25.03 kB / 0.5372 GB, free: 8.371 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.00105/0.4117, allocations: 457.1 kB / 0.5376 GB, free: 8.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002428/0.4119, allocations: 65.83 kB / 0.5377 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4119, allocations: 1.062 kB / 0.5377 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.26e-05/0.412, allocations: 37.36 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.4124, allocations: 19.06 kB / 0.5377 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.413, allocations: 249.6 kB / 0.538 GB, free: 7.887 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.4133, allocations: 0.7059 MB / 0.5387 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.124e-05/0.4133, allocations: 15.23 kB / 0.5387 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.4134, allocations: 13.84 kB / 0.5387 GB, free: 7.16 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4134, allocations: 0 / 0.5387 GB, free: 7.16 MB / 398.1 MB Notification: Performance of Templates: time 0.004476/0.4179, allocations: 1.345 MB / 0.54 GB, free: 6.473 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches