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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 176.3 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 223.3 MB / 241.4 MB, free: 11.74 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009285/0.0009287, allocations: 95.7 kB / 292.6 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002834/0.0002835, allocations: 12 kB / 352.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.197, allocations: 50.4 MB / 402.7 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09129/0.2883, allocations: 77.4 MB / 480.1 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.2886, allocations: 65.31 kB / 480.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01135/0.3, allocations: 4.282 MB / 484.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3, allocations: 0 / 484.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.3, allocations: 4 kB / 484.5 MB, free: 14.61 MB / 362.7 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.0007103/0.3008, allocations: 0.4994 MB / 485 MB, free: 14.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3008, allocations: 8.031 kB / 485 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.434e-05/0.3009, allocations: 32.56 kB / 485 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.3012, allocations: 234.2 kB / 485.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.3012, allocations: 20.94 kB / 485.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.3013, allocations: 28.28 kB / 485.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.3017, allocations: 240 kB / 485.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.3017, allocations: 0.625 kB / 485.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.3017, allocations: 19.88 kB / 485.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.3017, allocations: 4 kB / 485.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.302, allocations: 159.8 kB / 485.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.3031, allocations: 0.8163 MB / 486.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000506/0.3036, allocations: 287.7 kB / 486.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.3039, allocations: 134.5 kB / 487 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.3039, allocations: 4 kB / 487 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.3039, allocations: 38.72 kB / 487 MB, free: 11.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.694e-06/0.3039, allocations: 0 / 487 MB, free: 11.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.002568/0.3065, allocations: 1.963 MB / 489 MB, free: 9.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.3066, allocations: 107.8 kB / 489.1 MB, free: 9.551 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.3068, allocations: 187.8 kB / 489.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.3068, allocations: 33.7 kB / 489.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.3069, allocations: 136.8 kB / 489.4 MB, free: 9.176 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.307, allocations: 161.6 kB / 489.6 MB, free: 9.016 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.469e-05/0.307, allocations: 8 kB / 489.6 MB, free: 9.008 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3072, allocations: 346.8 kB / 489.9 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.3073, allocations: 84.84 kB / 490 MB, free: 8.578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.3076, allocations: 154.3 kB / 490.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.308, allocations: 276.9 kB / 490.4 MB, free: 8.117 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.308, allocations: 3.938 kB / 490.4 MB, free: 8.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004845/0.3085, allocations: 337.1 kB / 490.8 MB, free: 7.781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3085, allocations: 7.938 kB / 490.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3085, allocations: 7.984 kB / 490.8 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3085, allocations: 4 kB / 490.8 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.3088, allocations: 87.84 kB / 490.9 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.3089, allocations: 8.094 kB / 490.9 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.309, allocations: 12 kB / 490.9 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.309, allocations: 16 kB / 490.9 MB, free: 7.641 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.3092, allocations: 149.8 kB / 491 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.57e-05/0.3092, allocations: 31.66 kB / 491.1 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.628e-05/0.3093, allocations: 33.88 kB / 491.1 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.3093, allocations: 8 kB / 491.1 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3093, allocations: 0 / 491.1 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.3094, allocations: 7.984 kB / 491.1 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.3107, allocations: 1.058 MB / 492.2 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3108, allocations: 0 / 492.2 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.3111, allocations: 92.17 kB / 492.3 MB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.3111, allocations: 11.94 kB / 492.3 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.3112, allocations: 8 kB / 492.3 MB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.524e-05/0.3112, allocations: 11.94 kB / 492.3 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3112, allocations: 0 / 492.3 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007529/0.3119, allocations: 0.7132 MB / 493 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.312, allocations: 104.8 kB / 493.1 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.3121, allocations: 19.98 kB / 493.1 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.3123, allocations: 8 kB / 493.1 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.3123, allocations: 31.95 kB / 493.2 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.3124, allocations: 15.98 kB / 493.2 MB, free: 5.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.3125, allocations: 139.2 kB / 493.3 MB, free: 5.043 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3125, allocations: 3.938 kB / 493.3 MB, free: 5.039 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004163/0.3129, allocations: 80 kB / 493.4 MB, free: 4.961 MB / 362.7 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,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001367/0.313, allocations: 118.2 kB / 493.5 MB, free: 4.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004166/0.3135, allocations: 259.9 kB / 493.8 MB, free: 4.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3135, allocations: 96 / 493.8 MB, free: 4.586 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.3137, allocations: 148.3 kB / 493.9 MB, free: 4.441 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006942/0.3144, allocations: 63.33 kB / 494 MB, free: 4.383 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.3159, allocations: 1.092 MB / 495.1 MB, free: 3.227 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.3163, allocations: 0.7686 MB / 495.8 MB, free: 2.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.3164, allocations: 26.97 kB / 495.9 MB, free: 2.406 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.3165, allocations: 31.44 kB / 495.9 MB, free: 2.379 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3165, allocations: 4 kB / 495.9 MB, free: 2.375 MB / 362.7 MB Notification: Performance of Templates: time 0.006079/0.3226, allocations: 2.718 MB / 498.6 MB, free: 15.69 MB / 378.7 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","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches