Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001299/0.001299, allocations: 121.7 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.001679/0.001679, allocations: 199.8 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2329/0.2329, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 75.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3595, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.00308/0.3626, allocations: 1.597 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.3644, allocations: 1.167 MB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.809e-05/0.3644, allocations: 0 / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.3647, allocations: 33.25 kB / 0.5337 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.3651, allocations: 84.77 kB / 0.5338 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.3654, allocations: 105.8 kB / 0.5339 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.3656, allocations: 67.8 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.3657, allocations: 10.59 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.322e-05/0.3658, allocations: 33.81 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.3659, allocations: 26.95 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.366, allocations: 4.625 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.3662, allocations: 103.5 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.798e-05/0.3662, allocations: 15.36 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.3663, allocations: 24.58 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.3665, allocations: 143 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3665, allocations: 0 / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3665, allocations: 0 / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3665, allocations: 5.125 kB / 0.5343 GB, free: 11.03 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005607/0.3671, allocations: 395.7 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3671, allocations: 9.219 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.3672, allocations: 8.281 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.3675, allocations: 197.2 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3675, allocations: 5.438 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.3675, allocations: 2.531 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.3677, allocations: 75.7 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3678, allocations: 0.9375 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3678, allocations: 0 / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3678, allocations: 0.9375 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.3679, allocations: 25.91 kB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.3684, allocations: 280 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.3687, allocations: 57.3 kB / 0.5353 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.541e-05/0.3688, allocations: 11.73 kB / 0.5354 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.3689, allocations: 5.453 kB / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/0.3689, allocations: 35.94 kB / 0.5354 GB, free: 9.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.3689, allocations: 0 / 0.5354 GB, free: 9.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007615/0.3697, allocations: 150.2 kB / 0.5355 GB, free: 9.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.3698, allocations: 78.48 kB / 0.5356 GB, free: 9.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.37, allocations: 143.8 kB / 0.5358 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.37, allocations: 31.08 kB / 0.5358 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.891e-05/0.3701, allocations: 90.88 kB / 0.5359 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.3701, allocations: 22.41 kB / 0.5359 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.701e-05/0.3702, allocations: 17.84 kB / 0.5359 GB, free: 9.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.3704, allocations: 329.5 kB / 0.5362 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.729e-05/0.3705, allocations: 18.98 kB / 0.5362 GB, free: 9.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.217e-05/0.3706, allocations: 33.02 kB / 0.5363 GB, free: 9.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.3708, allocations: 59.44 kB / 0.5363 GB, free: 9.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3708, allocations: 3.938 kB / 0.5363 GB, free: 9.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002243/0.371, allocations: 83.64 kB / 0.5364 GB, free: 8.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.3711, allocations: 5.5 kB / 0.5364 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3711, allocations: 0 / 0.5364 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-05/0.3711, allocations: 3.984 kB / 0.5364 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.966e-05/0.3712, allocations: 14.45 kB / 0.5364 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3712, allocations: 0 / 0.5364 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.43e-05/0.3713, allocations: 11.52 kB / 0.5364 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.3713, allocations: 6.094 kB / 0.5364 GB, free: 8.965 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 (5): * Single equations (assignments): 5 * 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.0001374/0.3715, allocations: 118.2 kB / 0.5366 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.3715, allocations: 3.219 kB / 0.5366 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003261/0.3718, allocations: 103.6 kB / 0.5367 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3718, allocations: 1.125 kB / 0.5367 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3719, allocations: 0 / 0.5367 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3719, allocations: 5.438 kB / 0.5367 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005609/0.3724, allocations: 366.5 kB / 0.537 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3725, allocations: 4 kB / 0.537 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.146e-05/0.3725, allocations: 13.61 kB / 0.537 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3725, allocations: 5.062 kB / 0.537 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3726, allocations: 1.281 kB / 0.537 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.3726, allocations: 7.938 kB / 0.5371 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3726, allocations: 1.031 kB / 0.5371 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.3729, allocations: 181.9 kB / 0.5372 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.3729, allocations: 79.52 kB / 0.5373 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.373, allocations: 5.375 kB / 0.5373 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.094e-05/0.3731, allocations: 10.58 kB / 0.5373 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.3731, allocations: 2.719 kB / 0.5373 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-06/0.3731, allocations: 1.188 kB / 0.5373 GB, free: 8.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.3733, allocations: 114.7 kB / 0.5374 GB, free: 8.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3733, allocations: 3.938 kB / 0.5374 GB, free: 8.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003432/0.3736, allocations: 40.19 kB / 0.5375 GB, free: 7.996 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 (5): * Single equations (assignments): 5 * 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.00121/0.3749, allocations: 497.3 kB / 0.5379 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.3751, allocations: 58.52 kB / 0.538 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3751, allocations: 1.188 kB / 0.538 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.547e-05/0.3752, allocations: 28.83 kB / 0.538 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.3756, allocations: 18.27 kB / 0.538 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.376, allocations: 178.4 kB / 0.5382 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.3763, allocations: 0.6902 MB / 0.5389 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.402e-05/0.3764, allocations: 16.92 kB / 0.5389 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.3765, allocations: 18.02 kB / 0.5389 GB, free: 6.82 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3765, allocations: 0 / 0.5389 GB, free: 6.82 MB / 398.1 MB Notification: Performance of Templates: time 0.0054/0.3819, allocations: 1.782 MB / 0.5407 GB, free: 5.887 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches