Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008761/0.0008761, allocations: 181.5 kB / 17.41 MB, free: 4.164 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.244/1.244, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007106/0.0007105, allocations: 89.34 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.0002971, allocations: 12 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2027, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08286/0.2856, allocations: 76.21 MB / 451.9 MB, free: 4.445 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.2858, allocations: 63.97 kB / 452 MB, free: 4.383 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01023/0.296, allocations: 4.152 MB / 456.1 MB, free: 220 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2961, allocations: 8 kB / 456.1 MB, free: 212 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.2961, allocations: 4 kB / 456.2 MB, free: 208 kB / 330.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.0005773/0.2967, allocations: 499.3 kB / 456.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2967, allocations: 12.03 kB / 456.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.2968, allocations: 24.66 kB / 456.7 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.297, allocations: 244.6 kB / 456.9 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.297, allocations: 16.94 kB / 456.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.2971, allocations: 36.27 kB / 457 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.2975, allocations: 236 kB / 457.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.2975, allocations: 4.188 kB / 457.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.2975, allocations: 11.94 kB / 457.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.2975, allocations: 8 kB / 457.2 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000258/0.2978, allocations: 159.8 kB / 457.4 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000972/0.2988, allocations: 0.8009 MB / 458.2 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.2992, allocations: 296.9 kB / 458.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.2995, allocations: 142.7 kB / 458.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.2995, allocations: 4 kB / 458.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.2995, allocations: 34.56 kB / 458.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.754e-06/0.2995, allocations: 224 / 458.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.002413/0.302, allocations: 1.954 MB / 460.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.302, allocations: 106.8 kB / 460.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.3022, allocations: 190.6 kB / 460.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.3022, allocations: 33.7 kB / 460.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.3023, allocations: 132.8 kB / 461 MB, free: 10.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.3024, allocations: 165.6 kB / 461.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.3024, allocations: 8 kB / 461.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.3026, allocations: 338.8 kB / 461.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.3027, allocations: 93.77 kB / 461.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.3029, allocations: 158.3 kB / 461.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.3033, allocations: 272.3 kB / 462.1 MB, free: 9.727 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3033, allocations: 0 / 462.1 MB, free: 9.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004555/0.3037, allocations: 341.1 kB / 462.4 MB, free: 9.387 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3038, allocations: 11.94 kB / 462.4 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3038, allocations: 0 / 462.4 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3038, allocations: 4 kB / 462.4 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.3041, allocations: 99.98 kB / 462.5 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.3041, allocations: 4 kB / 462.5 MB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.3043, allocations: 7.938 kB / 462.5 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.3043, allocations: 16 kB / 462.5 MB, free: 9.246 MB / 346.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.000131/0.3044, allocations: 149.7 kB / 462.7 MB, free: 9.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.118e-05/0.3045, allocations: 31.66 kB / 462.7 MB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.564e-05/0.3046, allocations: 37.86 kB / 462.7 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3046, allocations: 4 kB / 462.8 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3046, allocations: 8 kB / 462.8 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.3046, allocations: 3.984 kB / 462.8 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.3059, allocations: 1.062 MB / 463.8 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.3059, allocations: 4.281 kB / 463.8 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003475/0.3063, allocations: 87.91 kB / 463.9 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.3063, allocations: 11.92 kB / 463.9 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.3063, allocations: 12 kB / 463.9 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.3063, allocations: 4 kB / 463.9 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3064, allocations: 7.938 kB / 464 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007033/0.3071, allocations: 0.7093 MB / 464.7 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.3071, allocations: 112.8 kB / 464.8 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.3072, allocations: 8 kB / 464.8 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.3074, allocations: 16 kB / 464.8 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.3074, allocations: 31.95 kB / 464.8 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.3075, allocations: 12 kB / 464.8 MB, free: 6.781 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.683e-05/0.3076, allocations: 144.1 kB / 465 MB, free: 6.641 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3076, allocations: 4 kB / 465 MB, free: 6.637 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000399/0.308, allocations: 75.98 kB / 465.1 MB, free: 6.562 MB / 346.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.0001298/0.3081, allocations: 111.1 kB / 465.2 MB, free: 6.445 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003813/0.3085, allocations: 259.7 kB / 465.4 MB, free: 6.191 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3085, allocations: 0 / 465.4 MB, free: 6.191 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.3087, allocations: 150.3 kB / 465.6 MB, free: 6.047 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006777/0.3094, allocations: 66.23 kB / 465.6 MB, free: 5.984 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.3108, allocations: 1.121 MB / 466.8 MB, free: 4.793 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.3111, allocations: 0.7686 MB / 467.5 MB, free: 3.996 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.52e-05/0.3112, allocations: 27.44 kB / 467.5 MB, free: 3.969 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3112, allocations: 0 / 467.5 MB, free: 3.969 MB / 346.7 MB Notification: Performance of Templates: time 0.004655/0.3158, allocations: 3.382 MB / 470.9 MB, free: 0.5977 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches