Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001259/0.001259, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001288, allocations: 204 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2094/0.2094, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 76.09 kB / 482 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3646, allocations: 62.43 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.00313/0.3678, allocations: 1.618 MB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3689, allocations: 0.5517 MB / 0.5338 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.969e-05/0.3689, allocations: 0 / 0.5338 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.3693, allocations: 77.92 kB / 0.5339 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.3696, allocations: 106.1 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.3699, allocations: 111.4 kB / 0.5341 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.3701, allocations: 80.89 kB / 0.5342 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3702, allocations: 20.22 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.055e-05/0.3703, allocations: 40.41 kB / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.3704, allocations: 56.69 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.3705, allocations: 2.75 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.542e-05/0.3706, allocations: 44.86 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.3706, allocations: 20.17 kB / 0.5343 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.3707, allocations: 38.55 kB / 0.5344 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.3709, allocations: 104.8 kB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3709, allocations: 1.375 kB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3709, allocations: 0 / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.3709, allocations: 0 / 0.5345 GB, free: 11.46 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.0005197/0.3714, allocations: 417.5 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3715, allocations: 9.625 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.3715, allocations: 10.34 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.3717, allocations: 199.8 kB / 0.5351 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.3718, allocations: 1.75 kB / 0.5351 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.3718, allocations: 7.062 kB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.372, allocations: 63.53 kB / 0.5352 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.372, allocations: 3.906 kB / 0.5352 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.372, allocations: 5.375 kB / 0.5352 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.372, allocations: 0 / 0.5352 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.973e-05/0.3721, allocations: 32.28 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.3726, allocations: 291.5 kB / 0.5355 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.3727, allocations: 56.64 kB / 0.5355 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.3728, allocations: 16.64 kB / 0.5355 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.3728, allocations: 1.062 kB / 0.5355 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.3728, allocations: 35.75 kB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3728, allocations: 0 / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009395/0.3738, allocations: 249.9 kB / 0.5358 GB, free: 10.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.3738, allocations: 60.73 kB / 0.5359 GB, free: 10.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.3741, allocations: 210.5 kB / 0.5361 GB, free: 9.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.3741, allocations: 30.8 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.3742, allocations: 110 kB / 0.5362 GB, free: 9.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.3743, allocations: 30.89 kB / 0.5362 GB, free: 9.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.3743, allocations: 19.28 kB / 0.5363 GB, free: 9.777 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3744, allocations: 326.9 kB / 0.5366 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.613e-05/0.3745, allocations: 28.83 kB / 0.5366 GB, free: 9.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.289e-05/0.3746, allocations: 27.91 kB / 0.5366 GB, free: 9.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.3748, allocations: 78.19 kB / 0.5367 GB, free: 9.387 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3748, allocations: 0 / 0.5367 GB, free: 9.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002281/0.375, allocations: 109.2 kB / 0.5368 GB, free: 9.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.375, allocations: 10.31 kB / 0.5368 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3751, allocations: 0 / 0.5368 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3751, allocations: 0 / 0.5368 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3752, allocations: 21.86 kB / 0.5368 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3752, allocations: 1.406 kB / 0.5368 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.247e-05/0.3752, allocations: 6.438 kB / 0.5368 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.3753, allocations: 2.688 kB / 0.5368 GB, free: 9.305 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.951e-05/0.3754, allocations: 128.8 kB / 0.537 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.3754, allocations: 17.03 kB / 0.537 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.3757, allocations: 134.7 kB / 0.5371 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3757, allocations: 1.375 kB / 0.5371 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3757, allocations: 0 / 0.5371 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3758, allocations: 3.938 kB / 0.5371 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005291/0.3763, allocations: 423.9 kB / 0.5375 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3763, allocations: 4.031 kB / 0.5375 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.808e-05/0.3764, allocations: 18.45 kB / 0.5375 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3764, allocations: 5.25 kB / 0.5375 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.3764, allocations: 1.344 kB / 0.5375 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3764, allocations: 1.469 kB / 0.5375 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3764, allocations: 0 / 0.5375 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.3767, allocations: 220.5 kB / 0.5378 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.809e-05/0.3768, allocations: 87.7 kB / 0.5378 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.3768, allocations: 5.406 kB / 0.5378 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.3769, allocations: 8.234 kB / 0.5379 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.3769, allocations: 3.188 kB / 0.5379 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.3769, allocations: 6.188 kB / 0.5379 GB, free: 8.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.3771, allocations: 171.3 kB / 0.538 GB, free: 8.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3771, allocations: 0 / 0.538 GB, free: 8.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00026/0.3774, allocations: 31.33 kB / 0.5381 GB, free: 8.227 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.001075/0.3784, allocations: 457.9 kB / 0.5385 GB, free: 7.992 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.3787, allocations: 79.64 kB / 0.5386 GB, free: 7.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3787, allocations: 0 / 0.5386 GB, free: 7.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.3788, allocations: 44.03 kB / 0.5386 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.3792, allocations: 12 kB / 0.5386 GB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005827/0.3798, allocations: 294.5 kB / 0.5389 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.3801, allocations: 0.7211 MB / 0.5396 GB, free: 6.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.3802, allocations: 13.22 kB / 0.5396 GB, free: 6.977 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3802, allocations: 1.312 kB / 0.5396 GB, free: 6.977 MB / 398.1 MB Notification: Performance of Templates: time 0.003817/0.384, allocations: 1.821 MB / 0.5414 GB, free: 6.035 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches