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/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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 198.1 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, allocations: 227.2 MB / 245 MB, free: 7.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008314/0.0008314, allocations: 104.9 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002009/0.0002009, allocations: 4 kB / 357.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1888, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08425/0.2731, allocations: 78.18 MB / 487.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.2733, allocations: 63.97 kB / 487.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01057/0.2839, allocations: 4.281 MB / 491.9 MB, free: 8.105 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.284, allocations: 0 / 491.9 MB, free: 8.105 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.284, allocations: 4 kB / 491.9 MB, free: 8.102 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.0006255/0.2846, allocations: 0.4955 MB / 492.4 MB, free: 7.555 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2847, allocations: 8.031 kB / 492.4 MB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.2847, allocations: 27.72 kB / 492.5 MB, free: 7.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.285, allocations: 231.5 kB / 492.7 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.285, allocations: 20.5 kB / 492.7 MB, free: 7.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.2851, allocations: 27.91 kB / 492.7 MB, free: 7.203 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.2855, allocations: 239.4 kB / 493 MB, free: 6.953 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.2855, allocations: 8 kB / 493 MB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.2855, allocations: 11.94 kB / 493 MB, free: 6.934 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.2855, allocations: 8 kB / 493 MB, free: 6.926 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.2858, allocations: 158.6 kB / 493.2 MB, free: 6.773 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009619/0.2868, allocations: 0.8049 MB / 494 MB, free: 5.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/0.2872, allocations: 295.7 kB / 494.2 MB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.2872, allocations: 0 / 494.2 MB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.2873, allocations: 42.66 kB / 494.3 MB, free: 5.543 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.182e-06/0.2873, allocations: 0 / 494.3 MB, free: 5.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.002343/0.2896, allocations: 1.957 MB / 496.2 MB, free: 3.328 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.2897, allocations: 110.8 kB / 496.4 MB, free: 3.195 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.2898, allocations: 166.3 kB / 496.5 MB, free: 3.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.2899, allocations: 37.7 kB / 496.6 MB, free: 2.977 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.29, allocations: 132.8 kB / 496.7 MB, free: 2.844 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.2901, allocations: 169.6 kB / 496.8 MB, free: 2.676 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.2901, allocations: 4 kB / 496.9 MB, free: 2.672 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2902, allocations: 346.8 kB / 497.2 MB, free: 2.324 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.2903, allocations: 88.84 kB / 497.3 MB, free: 2.238 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.2905, allocations: 150.3 kB / 497.4 MB, free: 2.066 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.2907, allocations: 122.2 kB / 497.5 MB, free: 1.949 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2907, allocations: 0 / 497.5 MB, free: 1.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004268/0.2911, allocations: 339.4 kB / 497.9 MB, free: 1.613 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2912, allocations: 8 kB / 497.9 MB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2912, allocations: 0 / 497.9 MB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2912, allocations: 7.984 kB / 497.9 MB, free: 1.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.2915, allocations: 87.91 kB / 498 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.2915, allocations: 4 kB / 498 MB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.2916, allocations: 12 kB / 498 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.2916, allocations: 24.03 kB / 498 MB, free: 1.473 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.0001202/0.2918, allocations: 149.7 kB / 498.2 MB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.2918, allocations: 27.72 kB / 498.2 MB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.744e-05/0.2919, allocations: 41.88 kB / 498.2 MB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2919, allocations: 4 kB / 498.2 MB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2919, allocations: 4 kB / 498.2 MB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.292, allocations: 3.984 kB / 498.2 MB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.2931, allocations: 1.05 MB / 499.3 MB, free: 104 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.2932, allocations: 3.938 kB / 499.3 MB, free: 100 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003508/0.2935, allocations: 87.91 kB / 499.4 MB, free: 12 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.2935, allocations: 4 kB / 499.4 MB, free: 8 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.2936, allocations: 12.08 kB / 499.4 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.555e-06/0.2936, allocations: 12.27 kB / 499.4 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.2936, allocations: 7.938 kB / 499.4 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007063/0.2943, allocations: 0.8416 MB / 0.4885 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.2944, allocations: 104.8 kB / 0.4886 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.2944, allocations: 16.05 kB / 0.4886 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.2946, allocations: 11.94 kB / 0.4887 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.2947, allocations: 35.95 kB / 0.4887 GB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.2947, allocations: 16 kB / 0.4887 GB, free: 14.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.568e-05/0.2948, allocations: 135.2 kB / 0.4888 GB, free: 14.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2948, allocations: 0 / 0.4888 GB, free: 14.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003908/0.2952, allocations: 76 kB / 0.4889 GB, free: 14.61 MB / 378.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.0001327/0.2954, allocations: 123 kB / 0.489 GB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003672/0.2957, allocations: 262.4 kB / 0.4893 GB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2957, allocations: 4 kB / 0.4893 GB, free: 14.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.2959, allocations: 143.7 kB / 0.4894 GB, free: 14.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004632/0.2964, allocations: 59.92 kB / 0.4895 GB, free: 14.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.2977, allocations: 1.095 MB / 0.4905 GB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.298, allocations: 0.7725 MB / 0.4913 GB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.2981, allocations: 26.97 kB / 0.4913 GB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/0.2982, allocations: 31.38 kB / 0.4914 GB, free: 12.02 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.2982, allocations: 0 / 0.4914 GB, free: 12.02 MB / 378.7 MB Notification: Performance of Templates: time 0.005328/0.3036, allocations: 2.639 MB / 0.4939 GB, free: 9.41 MB / 378.7 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","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches