Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001713/0.001713, allocations: 115.8 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.002048/0.002048, allocations: 210.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 76.09 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3644, allocations: 62.44 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.00328/0.3677, allocations: 1.643 MB / 0.5333 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.3689, allocations: 0.5669 MB / 0.5338 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.369, allocations: 1.375 kB / 0.5338 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.3693, allocations: 29.47 kB / 0.5339 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.3696, allocations: 89.72 kB / 0.534 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.3701, allocations: 115.8 kB / 0.5341 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.3703, allocations: 87.5 kB / 0.5342 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.3704, allocations: 29.73 kB / 0.5342 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.786e-05/0.3705, allocations: 37.59 kB / 0.5342 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.3706, allocations: 36.22 kB / 0.5342 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.3706, allocations: 5.5 kB / 0.5343 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.3708, allocations: 50.22 kB / 0.5343 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.368e-05/0.3708, allocations: 20.17 kB / 0.5343 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.157e-05/0.3709, allocations: 34.62 kB / 0.5344 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.3712, allocations: 118.5 kB / 0.5345 GB, free: 11.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3712, allocations: 4 kB / 0.5345 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.3712, allocations: 0 / 0.5345 GB, free: 11.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3712, allocations: 5.312 kB / 0.5345 GB, free: 11.7 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005083/0.3717, allocations: 411.9 kB / 0.5349 GB, free: 11.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3717, allocations: 9.141 kB / 0.5349 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.3718, allocations: 10.34 kB / 0.5349 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.372, allocations: 199 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.372, allocations: 3.125 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.3721, allocations: 12.48 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.3722, allocations: 79.8 kB / 0.5352 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3723, allocations: 5.359 kB / 0.5352 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3723, allocations: 0 / 0.5352 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3723, allocations: 1.375 kB / 0.5352 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.3724, allocations: 48.14 kB / 0.5352 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.3729, allocations: 331.1 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.3731, allocations: 65.03 kB / 0.5356 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/0.3731, allocations: 23.78 kB / 0.5356 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.3732, allocations: 5.297 kB / 0.5356 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.3732, allocations: 35.72 kB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.3732, allocations: 1.438 kB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001114/0.3743, allocations: 327.5 kB / 0.536 GB, free: 10.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.3744, allocations: 52.56 kB / 0.536 GB, free: 10.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.3746, allocations: 166.3 kB / 0.5362 GB, free: 10.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.3746, allocations: 30.83 kB / 0.5362 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.3747, allocations: 100.7 kB / 0.5363 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.3747, allocations: 47.84 kB / 0.5364 GB, free: 9.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.3748, allocations: 27.45 kB / 0.5364 GB, free: 9.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3749, allocations: 326.2 kB / 0.5367 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.375, allocations: 48.12 kB / 0.5367 GB, free: 9.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.3752, allocations: 44 kB / 0.5368 GB, free: 9.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.3754, allocations: 119.1 kB / 0.5369 GB, free: 9.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3754, allocations: 0 / 0.5369 GB, free: 9.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000285/0.3757, allocations: 146.7 kB / 0.537 GB, free: 9.441 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3757, allocations: 9.188 kB / 0.537 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3757, allocations: 0 / 0.537 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.3757, allocations: 5.391 kB / 0.537 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.3759, allocations: 24.86 kB / 0.5371 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.3759, allocations: 1.219 kB / 0.5371 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.158e-05/0.3759, allocations: 2.625 kB / 0.5371 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.376, allocations: 12.12 kB / 0.5371 GB, free: 9.422 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 (13): * Single equations (assignments): 13 * 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.986e-05/0.3761, allocations: 125 kB / 0.5372 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.3761, allocations: 24.34 kB / 0.5372 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003927/0.3765, allocations: 179.8 kB / 0.5374 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3765, allocations: 1.562 kB / 0.5374 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3766, allocations: 0 / 0.5374 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3766, allocations: 1.5 kB / 0.5374 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006584/0.3772, allocations: 0.4975 MB / 0.5379 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3772, allocations: 1.125 kB / 0.5379 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.3774, allocations: 24.8 kB / 0.5379 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3774, allocations: 1.031 kB / 0.5379 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3774, allocations: 2.188 kB / 0.5379 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3774, allocations: 1.062 kB / 0.5379 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3774, allocations: 0 / 0.5379 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.3777, allocations: 261.1 kB / 0.5382 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.3778, allocations: 83.3 kB / 0.5382 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.3778, allocations: 5.375 kB / 0.5383 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.3779, allocations: 8.359 kB / 0.5383 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.3779, allocations: 16.97 kB / 0.5383 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.378, allocations: 7.109 kB / 0.5383 GB, free: 8.391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.83e-05/0.3781, allocations: 131 kB / 0.5384 GB, free: 8.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3781, allocations: 1.156 kB / 0.5384 GB, free: 8.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.3784, allocations: 26.78 kB / 0.5384 GB, free: 8.285 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 (13): * Single equations (assignments): 13 * 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.001073/0.3794, allocations: 450.8 kB / 0.5389 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003279/0.3798, allocations: 109.7 kB / 0.539 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3798, allocations: 0 / 0.539 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.3799, allocations: 59.81 kB / 0.539 GB, free: 7.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.3803, allocations: 25.86 kB / 0.539 GB, free: 7.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006139/0.3809, allocations: 299.6 kB / 0.5393 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.3813, allocations: 0.7085 MB / 0.54 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/0.3813, allocations: 21.64 kB / 0.54 GB, free: 7.012 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3813, allocations: 3.938 kB / 0.5401 GB, free: 7.008 MB / 398.1 MB Notification: Performance of Templates: time 0.004339/0.3857, allocations: 2.033 MB / 0.542 GB, free: 5.961 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches