Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0015/0.0015, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.575/1.575, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001966/0.001965, allocations: 124.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.985e-05/2.989e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08255/0.08259, allocations: 44.51 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3174/0.4, allocations: 71.8 MB / 421.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001604/0.4002, allocations: 60.36 kB / 421.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009008/0.4092, allocations: 4.065 MB / 425.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4093, allocations: 4 kB / 425.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.4093, allocations: 7.125 kB / 425.4 MB, free: 10.27 MB / 298.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.0004583/0.4098, allocations: 475.2 kB / 425.8 MB, free: 9.844 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.4098, allocations: 7.562 kB / 425.8 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.4098, allocations: 34.67 kB / 425.9 MB, free: 9.824 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.41, allocations: 240.7 kB / 426.1 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.4101, allocations: 15.31 kB / 426.1 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.4101, allocations: 26.59 kB / 426.2 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.4104, allocations: 233 kB / 426.4 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.4104, allocations: 11.66 kB / 426.4 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.4105, allocations: 7.125 kB / 426.4 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.4105, allocations: 15.64 kB / 426.4 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.4107, allocations: 154.2 kB / 426.6 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007796/0.4115, allocations: 0.8091 MB / 427.4 MB, free: 8.887 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.4118, allocations: 283.6 kB / 427.7 MB, free: 8.793 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.412, allocations: 130 kB / 427.8 MB, free: 8.762 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.4121, allocations: 3.844 kB / 427.8 MB, free: 8.762 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.4121, allocations: 45.52 kB / 427.8 MB, free: 8.715 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/0.4121, allocations: 0 / 427.8 MB, free: 8.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001834/0.4139, allocations: 1.868 MB / 429.7 MB, free: 7.266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.414, allocations: 106.7 kB / 429.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.4141, allocations: 165.4 kB / 430 MB, free: 7.035 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.4141, allocations: 33.02 kB / 430 MB, free: 7.004 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.4142, allocations: 141.1 kB / 430.1 MB, free: 6.895 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.4142, allocations: 159.9 kB / 430.3 MB, free: 6.777 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/0.4143, allocations: 17.75 kB / 430.3 MB, free: 6.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.981e-05/0.4143, allocations: 336.2 kB / 430.6 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.4144, allocations: 85.38 kB / 430.7 MB, free: 6.449 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.4146, allocations: 150.2 kB / 430.9 MB, free: 6.383 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.4147, allocations: 113.6 kB / 431 MB, free: 6.367 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4147, allocations: 0 / 431 MB, free: 6.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003596/0.4151, allocations: 335.6 kB / 431.3 MB, free: 6.281 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.4151, allocations: 3.844 kB / 431.3 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4151, allocations: 3.844 kB / 431.3 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4152, allocations: 7.797 kB / 431.3 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.4154, allocations: 91.67 kB / 431.4 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.4155, allocations: 4.656 kB / 431.4 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.876e-05/0.4156, allocations: 14.5 kB / 431.4 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.4156, allocations: 14.97 kB / 431.4 MB, free: 6.258 MB / 298.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 () * 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 5.971e-05/0.4157, allocations: 126.5 kB / 431.6 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/0.4157, allocations: 30.94 kB / 431.6 MB, free: 6.129 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.247e-05/0.4158, allocations: 37.64 kB / 431.6 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4158, allocations: 7.688 kB / 431.6 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4158, allocations: 7.891 kB / 431.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4158, allocations: 3.984 kB / 431.7 MB, free: 6.102 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009715/0.4168, allocations: 1.056 MB / 432.7 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4168, allocations: 0 / 432.7 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003275/0.4172, allocations: 92.36 kB / 432.8 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.4172, allocations: 8.125 kB / 432.8 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.4172, allocations: 14.59 kB / 432.8 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4172, allocations: 3.875 kB / 432.8 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.4172, allocations: 7.781 kB / 432.8 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005342/0.4178, allocations: 0.8316 MB / 433.7 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.4178, allocations: 104.1 kB / 433.8 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.4178, allocations: 11.41 kB / 433.8 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.418, allocations: 10.66 kB / 433.8 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.4181, allocations: 35.16 kB / 433.8 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.4181, allocations: 18.75 kB / 433.8 MB, free: 4.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.883e-05/0.4182, allocations: 133.1 kB / 434 MB, free: 4.582 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.413e-06/0.4182, allocations: 0 / 434 MB, free: 4.582 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003507/0.4186, allocations: 79.25 kB / 434 MB, free: 4.574 MB / 298.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 () * 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.000103/0.4187, allocations: 121.1 kB / 434.2 MB, free: 4.469 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.419, allocations: 248.1 kB / 434.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.419, allocations: 0 / 434.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.4191, allocations: 143.3 kB / 434.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.4196, allocations: 51.22 kB / 434.6 MB, free: 4.422 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008904/0.4205, allocations: 0.8022 MB / 435.4 MB, free: 3.824 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.4206, allocations: 0.7734 MB / 436.2 MB, free: 3.082 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.4208, allocations: 38.11 kB / 436.2 MB, free: 3.059 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.4208, allocations: 26.81 kB / 436.2 MB, free: 3.051 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4208, allocations: 0 / 436.2 MB, free: 3.051 MB / 298.7 MB Notification: Performance of Templates: time 0.004809/0.4256, allocations: 2.693 MB / 438.9 MB, free: 1.746 MB / 298.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1)