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.001474/0.001474, allocations: 181.3 kB / 16.39 MB, free: 5.766 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.379/1.379, allocations: 223.2 MB / 240.3 MB, free: 11.87 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.0007247/0.0007246, allocations: 100.5 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002372/0.0002372, allocations: 4 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2169, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09128/0.3082, allocations: 77.38 MB / 478.9 MB, free: 3.102 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001819/0.3084, allocations: 59.97 kB / 478.9 MB, free: 3.043 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01043/0.3189, allocations: 4.293 MB / 483.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3189, allocations: 0 / 483.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.3189, allocations: 4 kB / 483.2 MB, free: 14.74 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.0006956/0.3196, allocations: 499.2 kB / 483.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3197, allocations: 11.97 kB / 483.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.577e-05/0.3198, allocations: 35.62 kB / 483.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.32, allocations: 233 kB / 484 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.3201, allocations: 12.56 kB / 484 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.3201, allocations: 31.91 kB / 484 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.3205, allocations: 239.3 kB / 484.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.3205, allocations: 4.438 kB / 484.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.3206, allocations: 8 kB / 484.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3206, allocations: 8 kB / 484.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.3208, allocations: 163.9 kB / 484.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.3219, allocations: 0.8009 MB / 485.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/0.3225, allocations: 299.6 kB / 485.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.3225, allocations: 8 kB / 485.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.3225, allocations: 38.66 kB / 485.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.3225, allocations: 0 / 485.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.002526/0.3251, allocations: 1.95 MB / 487.5 MB, free: 9.973 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.3251, allocations: 118.8 kB / 487.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.3253, allocations: 163.5 kB / 487.8 MB, free: 9.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.3253, allocations: 37.7 kB / 487.8 MB, free: 9.617 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.788e-05/0.3254, allocations: 132.8 kB / 488 MB, free: 9.484 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.3255, allocations: 165.6 kB / 488.1 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.3255, allocations: 4 kB / 488.1 MB, free: 9.316 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3257, allocations: 338.8 kB / 488.5 MB, free: 8.977 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.3258, allocations: 88.83 kB / 488.6 MB, free: 8.891 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.326, allocations: 158.3 kB / 488.7 MB, free: 8.715 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.3262, allocations: 120 kB / 488.8 MB, free: 8.602 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3262, allocations: 0 / 488.8 MB, free: 8.602 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004714/0.3267, allocations: 347.3 kB / 489.2 MB, free: 8.258 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3267, allocations: 4 kB / 489.2 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3267, allocations: 4 kB / 489.2 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3268, allocations: 4 kB / 489.2 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.3271, allocations: 87.91 kB / 489.3 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.3271, allocations: 7.938 kB / 489.3 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.3272, allocations: 16.92 kB / 489.3 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.3273, allocations: 16 kB / 489.3 MB, free: 8.121 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.0001219/0.3274, allocations: 145.9 kB / 489.5 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.003e-05/0.3275, allocations: 35.67 kB / 489.5 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.025e-05/0.3275, allocations: 37.88 kB / 489.5 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3276, allocations: 7.984 kB / 489.5 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3276, allocations: 0 / 489.5 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.3276, allocations: 4 kB / 489.5 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.329, allocations: 1.054 MB / 490.6 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.3291, allocations: 4 kB / 490.6 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/0.3295, allocations: 87.89 kB / 490.7 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.3295, allocations: 4 kB / 490.7 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.3296, allocations: 12 kB / 490.7 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.3296, allocations: 7.953 kB / 490.7 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.3296, allocations: 7.938 kB / 490.7 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009031/0.3305, allocations: 0.8449 MB / 491.6 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/0.3306, allocations: 100.8 kB / 491.7 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.3306, allocations: 12.06 kB / 491.7 MB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.3309, allocations: 11.98 kB / 491.7 MB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.331, allocations: 35.86 kB / 491.7 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.331, allocations: 20 kB / 491.7 MB, free: 5.465 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.3311, allocations: 135.3 kB / 491.9 MB, free: 5.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3311, allocations: 0 / 491.9 MB, free: 5.332 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004739/0.3316, allocations: 76 kB / 491.9 MB, free: 5.258 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.0001666/0.3318, allocations: 115.1 kB / 492.1 MB, free: 5.137 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004909/0.3323, allocations: 267.5 kB / 492.3 MB, free: 4.879 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3323, allocations: 4.188 kB / 492.3 MB, free: 4.875 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.3325, allocations: 139.7 kB / 492.5 MB, free: 4.738 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/0.3331, allocations: 60.03 kB / 492.5 MB, free: 4.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.3348, allocations: 1.085 MB / 493.6 MB, free: 3.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.3352, allocations: 0.7725 MB / 494.4 MB, free: 2.738 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001684/0.3354, allocations: 38.89 kB / 494.4 MB, free: 2.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.981e-05/0.3355, allocations: 35.36 kB / 494.4 MB, free: 2.668 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.3355, allocations: 0 / 494.4 MB, free: 2.668 MB / 362.7 MB Notification: Performance of Templates: time 0.005937/0.3414, allocations: 2.644 MB / 497.1 MB, free: 56 kB / 362.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/jenkins/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