Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.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) 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(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001377, allocations: 118.2 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.001825/0.001825, allocations: 201.2 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.386/1.386, allocations: 227.4 MB / 246.9 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.89 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2674, allocations: 50.54 MB / 409.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00341/0.2709, allocations: 2.435 MB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006348/0.2716, allocations: 243.1 kB / 411.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.2718, allocations: 15.88 kB / 411.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.272, allocations: 39.58 kB / 412 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.2722, allocations: 83.25 kB / 412 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.2724, allocations: 55.94 kB / 412.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.2727, allocations: 294.6 kB / 412.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.2729, allocations: 97.67 kB / 412.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.2731, allocations: 107.6 kB / 412.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.2732, allocations: 119.4 kB / 412.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.2733, allocations: 24 kB / 412.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.912e-05/0.2733, allocations: 24 kB / 412.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.2734, allocations: 51.78 kB / 412.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.2735, allocations: 131.4 kB / 412.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.2738, allocations: 296 kB / 413.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2738, allocations: 4 kB / 413.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2738, allocations: 0 / 413.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.2738, allocations: 0 / 413.2 MB, free: 13.6 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007424/0.2746, allocations: 0.5419 MB / 413.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2746, allocations: 8.031 kB / 413.8 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.2747, allocations: 28.66 kB / 413.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.275, allocations: 248.5 kB / 414 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.275, allocations: 16.94 kB / 414.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.2751, allocations: 24.38 kB / 414.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.2754, allocations: 248 kB / 414.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.2755, allocations: 8.094 kB / 414.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.2755, allocations: 11.94 kB / 414.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.2755, allocations: 8 kB / 414.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.2758, allocations: 159.8 kB / 414.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009855/0.2768, allocations: 0.8009 MB / 415.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/0.2772, allocations: 287.7 kB / 415.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.2775, allocations: 134.7 kB / 415.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.2775, allocations: 7.938 kB / 415.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.2775, allocations: 42.5 kB / 415.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.433e-06/0.2775, allocations: 0 / 415.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002442/0.28, allocations: 1.936 MB / 417.7 MB, free: 8.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.2801, allocations: 110.8 kB / 417.8 MB, free: 8.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.2802, allocations: 191.3 kB / 418 MB, free: 8.309 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.2803, allocations: 33.7 kB / 418 MB, free: 8.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.424e-05/0.2803, allocations: 141.6 kB / 418.2 MB, free: 8.129 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.782e-05/0.2804, allocations: 157.7 kB / 418.3 MB, free: 7.973 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.413e-05/0.2805, allocations: 70.14 kB / 418.4 MB, free: 7.898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2807, allocations: 338.8 kB / 418.7 MB, free: 7.559 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.2808, allocations: 96.84 kB / 418.8 MB, free: 7.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.281, allocations: 158.3 kB / 419 MB, free: 7.289 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.2814, allocations: 275.2 kB / 419.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2814, allocations: 0 / 419.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004662/0.2818, allocations: 345 kB / 419.6 MB, free: 6.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2819, allocations: 11.94 kB / 419.6 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2819, allocations: 7.922 kB / 419.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.2819, allocations: 4 kB / 419.6 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.2822, allocations: 91.84 kB / 419.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.2822, allocations: 4 kB / 419.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.2823, allocations: 8.094 kB / 419.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.2824, allocations: 20 kB / 419.7 MB, free: 6.516 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0001187/0.2825, allocations: 157.6 kB / 419.9 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.2826, allocations: 31.66 kB / 419.9 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.918e-05/0.2827, allocations: 33.88 kB / 419.9 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.2827, allocations: 4 kB / 420 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2827, allocations: 4 kB / 420 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2827, allocations: 3.984 kB / 420 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.284, allocations: 1.047 MB / 421 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.284, allocations: 0 / 421 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003508/0.2843, allocations: 95.83 kB / 421.1 MB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/0.2843, allocations: 7.938 kB / 421.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.2844, allocations: 8 kB / 421.1 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.2844, allocations: 8 kB / 421.1 MB, free: 5.027 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2844, allocations: 0 / 421.1 MB, free: 5.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006823/0.2851, allocations: 0.7324 MB / 421.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.2852, allocations: 104.8 kB / 422 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.2852, allocations: 12 kB / 422 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.2854, allocations: 12 kB / 422 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.2855, allocations: 35.83 kB / 422 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.2855, allocations: 12 kB / 422 MB, free: 4.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.939e-05/0.2856, allocations: 148.2 kB / 422.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2856, allocations: 0 / 422.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004115/0.286, allocations: 72 kB / 422.2 MB, free: 3.848 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.000114/0.2861, allocations: 107.1 kB / 422.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004084/0.2865, allocations: 286.6 kB / 422.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2866, allocations: 192 / 422.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.2867, allocations: 151.8 kB / 422.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/0.2874, allocations: 68.94 kB / 422.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.2886, allocations: 0.9051 MB / 423.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.2889, allocations: 0.7683 MB / 424.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000114/0.2891, allocations: 38.95 kB / 424.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.2891, allocations: 27.44 kB / 424.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2891, allocations: 0 / 424.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of Templates: time 0.006049/0.2952, allocations: 3.042 MB / 427.6 MB, free: 14.39 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches