Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001543/0.001543, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001836/0.001836, 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.469/1.469, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2191/0.2191, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 79.81 kB / 481.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3887, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003091/0.3919, allocations: 1.676 MB / 0.5327 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009694/0.3929, allocations: 0.5679 MB / 0.5332 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.3929, allocations: 1.312 kB / 0.5332 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000518/0.3935, allocations: 448.2 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004349/0.3939, allocations: 300.4 kB / 0.5339 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.3943, allocations: 135 kB / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.3945, allocations: 174.5 kB / 0.5342 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.3947, allocations: 25.84 kB / 0.5342 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.3948, allocations: 111.5 kB / 0.5344 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.395, allocations: 215 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.3951, allocations: 4.062 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.3952, allocations: 52.92 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.3953, allocations: 86.48 kB / 0.5347 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.928e-05/0.3954, allocations: 107.9 kB / 0.5348 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.3957, allocations: 278.8 kB / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3957, allocations: 1.219 kB / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3957, allocations: 0 / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3957, 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.0007158/0.3964, allocations: 0.6525 MB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.3965, allocations: 8.562 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.419e-05/0.3965, allocations: 43.66 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.3968, allocations: 306.7 kB / 0.536 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.3968, allocations: 2.469 kB / 0.536 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.3969, allocations: 10.47 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.397, allocations: 63.73 kB / 0.5361 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3971, allocations: 1.812 kB / 0.5361 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3971, allocations: 0 / 0.5361 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3971, allocations: 5.906 kB / 0.5361 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.3972, allocations: 41.81 kB / 0.5362 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.3977, allocations: 402.7 kB / 0.5366 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.3979, allocations: 58.97 kB / 0.5366 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.818e-05/0.398, allocations: 28.39 kB / 0.5366 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.3981, allocations: 1.312 kB / 0.5366 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.3981, allocations: 31.69 kB / 0.5367 GB, free: 9.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.3981, allocations: 4 kB / 0.5367 GB, free: 9.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00161/0.3997, allocations: 468.1 kB / 0.5371 GB, free: 9.137 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.3998, allocations: 56.62 kB / 0.5372 GB, free: 9.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009297/0.4007, allocations: 0.8672 MB / 0.538 GB, free: 8.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.4007, allocations: 25.7 kB / 0.538 GB, free: 8.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.4009, allocations: 224.4 kB / 0.5383 GB, free: 8.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.401, allocations: 34.98 kB / 0.5383 GB, free: 8.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.401, allocations: 21.16 kB / 0.5383 GB, free: 8.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4012, allocations: 364.6 kB / 0.5387 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.4013, allocations: 44.12 kB / 0.5387 GB, free: 8.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.4015, allocations: 40.28 kB / 0.5387 GB, free: 7.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.4017, allocations: 103.9 kB / 0.5388 GB, free: 7.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.4017, allocations: 0 / 0.5388 GB, free: 7.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003561/0.4021, allocations: 172.1 kB / 0.539 GB, free: 7.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.4021, allocations: 5.188 kB / 0.539 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.4022, allocations: 0 / 0.539 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.95e-05/0.4022, allocations: 9.062 kB / 0.539 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.4023, allocations: 31.94 kB / 0.539 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4023, allocations: 1.125 kB / 0.539 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.786e-05/0.4024, allocations: 9.344 kB / 0.5391 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.4025, allocations: 7.578 kB / 0.5391 GB, free: 7.809 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 (11): * Single equations (assignments): 11 * 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.0001834/0.4026, allocations: 209.9 kB / 0.5393 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.4027, allocations: 43.84 kB / 0.5393 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/0.4031, allocations: 213.9 kB / 0.5395 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.4032, allocations: 9.047 kB / 0.5395 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4032, allocations: 4 kB / 0.5395 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4032, allocations: 1.156 kB / 0.5395 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007841/0.404, allocations: 0.569 MB / 0.5401 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.404, allocations: 4.984 kB / 0.5401 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.4041, allocations: 24.89 kB / 0.5401 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.4041, allocations: 1.312 kB / 0.5401 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.4041, allocations: 5.188 kB / 0.5401 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.4041, allocations: 1.062 kB / 0.5401 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4041, allocations: 1.469 kB / 0.5401 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.4046, allocations: 289.3 kB / 0.5404 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.411e-05/0.4047, allocations: 106.2 kB / 0.5405 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.4047, allocations: 2.188 kB / 0.5405 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.4048, allocations: 22.64 kB / 0.5405 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.4049, allocations: 8.141 kB / 0.5405 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.4049, allocations: 3.094 kB / 0.5405 GB, free: 6.641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006692/0.4055, allocations: 0.6516 MB / 0.5412 GB, free: 6.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4056, allocations: 0.7812 kB / 0.5412 GB, free: 6.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.4059, allocations: 32.11 kB / 0.5412 GB, free: 6.316 MB / 398.1 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 (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.001147/0.407, allocations: 462.5 kB / 0.5416 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003295/0.4073, allocations: 106.3 kB / 0.5417 GB, free: 6.035 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4074, allocations: 0 / 0.5417 GB, free: 6.035 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.4075, allocations: 66.55 kB / 0.5418 GB, free: 6.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.408, allocations: 41.36 kB / 0.5418 GB, free: 5.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.4093, allocations: 0.8465 MB / 0.5427 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.4097, allocations: 0.8358 MB / 0.5435 GB, free: 4.723 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.4098, allocations: 8.562 kB / 0.5435 GB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.4099, allocations: 19.42 kB / 0.5435 GB, free: 4.699 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4099, allocations: 0 / 0.5435 GB, free: 4.699 MB / 398.1 MB Notification: Performance of Templates: time 0.005362/0.4152, allocations: 1.89 MB / 0.5454 GB, free: 2.816 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches