Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 107.1 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 188.2 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 47.92 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2642, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003513/0.2677, allocations: 2.414 MB / 403.8 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005393/0.2683, allocations: 243.1 kB / 404 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.2684, allocations: 11.88 kB / 404.1 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.2686, allocations: 51.56 kB / 404.1 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.2688, allocations: 71.28 kB / 404.2 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.269, allocations: 59.92 kB / 404.2 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.2693, allocations: 290.6 kB / 404.5 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.2695, allocations: 105.7 kB / 404.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.2696, allocations: 115.6 kB / 404.7 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.2698, allocations: 111.5 kB / 404.8 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.2698, allocations: 20 kB / 404.9 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.609e-05/0.2699, allocations: 24 kB / 404.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.2699, allocations: 51.78 kB / 404.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.27, allocations: 135.4 kB / 405.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.2704, allocations: 300 kB / 405.4 MB, free: 4.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2704, allocations: 0 / 405.4 MB, free: 4.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2704, allocations: 0 / 405.4 MB, free: 4.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.2704, allocations: 0 / 405.4 MB, free: 4.91 MB / 318.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.0007498/0.2711, allocations: 0.5419 MB / 405.9 MB, free: 4.316 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2712, allocations: 15.97 kB / 405.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.2713, allocations: 28.66 kB / 405.9 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.2716, allocations: 249.2 kB / 406.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.2716, allocations: 16.94 kB / 406.2 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.003e-05/0.2717, allocations: 28.38 kB / 406.2 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.272, allocations: 244 kB / 406.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.2721, allocations: 192 / 406.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.2721, allocations: 19.94 kB / 406.5 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2721, allocations: 8 kB / 406.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.2724, allocations: 163.8 kB / 406.7 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009871/0.2734, allocations: 0.793 MB / 407.5 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.2739, allocations: 287.8 kB / 407.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.2741, allocations: 130.7 kB / 407.9 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.2742, allocations: 7.938 kB / 407.9 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.2742, allocations: 46.5 kB / 407.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.2742, allocations: 0 / 407.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002653/0.2769, allocations: 1.943 MB / 409.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.2769, allocations: 106.8 kB / 410 MB, free: 15.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.2772, allocations: 191.8 kB / 410.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.2772, allocations: 37.8 kB / 410.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.233e-05/0.2773, allocations: 144.6 kB / 410.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.2774, allocations: 157.7 kB / 410.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.516e-05/0.2775, allocations: 74.05 kB / 410.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2777, allocations: 338.8 kB / 410.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.2778, allocations: 88.84 kB / 411 MB, free: 14.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.278, allocations: 170.2 kB / 411.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.2784, allocations: 267.5 kB / 411.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2784, allocations: 0 / 411.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005097/0.2789, allocations: 345.1 kB / 411.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.2789, allocations: 11.94 kB / 411.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2789, allocations: 0 / 411.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.279, allocations: 7.984 kB / 411.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.2793, allocations: 91.91 kB / 411.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.2793, allocations: 0 / 411.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.2794, allocations: 8 kB / 411.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.2795, allocations: 16 kB / 411.9 MB, free: 13.82 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.0001546/0.2796, allocations: 158.4 kB / 412 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.108e-05/0.2797, allocations: 39.55 kB / 412.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.559e-05/0.2798, allocations: 33.88 kB / 412.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.2798, allocations: 4 kB / 412.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.2799, allocations: 4 kB / 412.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.2799, allocations: 3.984 kB / 412.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.2812, allocations: 1.046 MB / 413.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.2812, allocations: 0 / 413.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.2816, allocations: 100.1 kB / 413.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.2816, allocations: 7.938 kB / 413.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.2817, allocations: 8 kB / 413.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.2817, allocations: 12 kB / 413.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2817, allocations: 0 / 413.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007612/0.2824, allocations: 0.7246 MB / 414 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.087e-05/0.2825, allocations: 104.8 kB / 414.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.2826, allocations: 12 kB / 414.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.2828, allocations: 12 kB / 414.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.2828, allocations: 35.89 kB / 414.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.2829, allocations: 12.09 kB / 414.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.283, allocations: 144.4 kB / 414.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.283, allocations: 0 / 414.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004426/0.2835, allocations: 72 kB / 414.4 MB, free: 11.14 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.0001521/0.2836, allocations: 115.2 kB / 414.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004498/0.2841, allocations: 271.8 kB / 414.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2841, allocations: 0 / 414.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.2843, allocations: 148.4 kB / 414.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00069/0.285, allocations: 64.14 kB / 415 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.2863, allocations: 0.9371 MB / 415.9 MB, free: 9.551 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.2867, allocations: 0.7683 MB / 416.7 MB, free: 8.758 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.897e-05/0.2868, allocations: 27.44 kB / 416.7 MB, free: 8.73 MB / 334.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2868, allocations: 4 kB / 416.7 MB, free: 8.727 MB / 334.1 MB Notification: Performance of Templates: time 0.005929/0.2927, allocations: 3.48 MB / 420.2 MB, free: 5.254 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches