Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 195.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 59.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2638, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003223/0.267, allocations: 2.409 MB / 327.7 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004303/0.2675, allocations: 229.5 kB / 327.9 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.2676, allocations: 4.406 kB / 327.9 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.2678, allocations: 48.41 kB / 328 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.2679, allocations: 80.75 kB / 328.1 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.2681, allocations: 57.98 kB / 328.1 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.2684, allocations: 292.9 kB / 328.4 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.2686, allocations: 103.2 kB / 328.5 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.2687, allocations: 102.3 kB / 328.6 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.2689, allocations: 116.1 kB / 328.7 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.269, allocations: 22.62 kB / 328.7 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.84e-05/0.269, allocations: 22.94 kB / 328.8 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.954e-05/0.2691, allocations: 51.11 kB / 328.8 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.2692, allocations: 132.4 kB / 329 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.2695, allocations: 291.1 kB / 329.2 MB, free: 14.88 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2695, allocations: 4 kB / 329.2 MB, free: 14.87 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.2695, allocations: 0 / 329.2 MB, free: 14.87 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.2695, allocations: 5.406 kB / 329.2 MB, free: 14.87 MB / 270.1 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.0007622/0.2703, allocations: 0.5369 MB / 329.8 MB, free: 14.37 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2703, allocations: 9.375 kB / 329.8 MB, free: 14.37 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.287e-05/0.2704, allocations: 34.34 kB / 329.8 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.2707, allocations: 247.5 kB / 330.1 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.2707, allocations: 17.66 kB / 330.1 MB, free: 14.08 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.2707, allocations: 25.47 kB / 330.1 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.2711, allocations: 239.3 kB / 330.3 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.2711, allocations: 6.281 kB / 330.3 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.2712, allocations: 14.25 kB / 330.4 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2712, allocations: 5.469 kB / 330.4 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.2715, allocations: 165.5 kB / 330.5 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.2726, allocations: 0.798 MB / 331.3 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/0.2731, allocations: 293.6 kB / 331.6 MB, free: 12.92 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.2734, allocations: 136.6 kB / 331.7 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.2734, allocations: 3.156 kB / 331.7 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.2734, allocations: 37.5 kB / 331.8 MB, free: 12.8 MB / 270.1 MB Notification: Performance of pre-optimization done (n=33): time 3.206e-06/0.2734, allocations: 0 / 331.8 MB, free: 12.8 MB / 270.1 MB Notification: Performance of matching and sorting (n=45): time 0.002924/0.2764, allocations: 1.945 MB / 333.7 MB, free: 11.02 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.2764, allocations: 114.7 kB / 333.8 MB, free: 10.88 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.2766, allocations: 183.2 kB / 334 MB, free: 10.68 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.2767, allocations: 37.7 kB / 334.1 MB, free: 10.64 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.2768, allocations: 136.7 kB / 334.2 MB, free: 10.5 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.2769, allocations: 165.6 kB / 334.4 MB, free: 10.34 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.277, allocations: 74.12 kB / 334.4 MB, free: 10.26 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2772, allocations: 338.8 kB / 334.8 MB, free: 9.918 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.2774, allocations: 96.77 kB / 334.9 MB, free: 9.824 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.2776, allocations: 150.3 kB / 335 MB, free: 9.656 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.2779, allocations: 279.2 kB / 335.3 MB, free: 9.363 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.278, allocations: 0 / 335.3 MB, free: 9.363 MB / 270.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004792/0.2784, allocations: 341 kB / 335.6 MB, free: 9.023 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.2785, allocations: 11.94 kB / 335.6 MB, free: 9.012 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.2785, allocations: 0 / 335.6 MB, free: 9.012 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.2785, allocations: 4 kB / 335.6 MB, free: 9.008 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.2788, allocations: 100.9 kB / 335.7 MB, free: 8.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.2789, allocations: 7.984 kB / 335.7 MB, free: 8.902 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.903e-05/0.279, allocations: 8 kB / 335.7 MB, free: 8.895 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.279, allocations: 15.94 kB / 335.7 MB, free: 8.879 MB / 270.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.2791, allocations: 145.8 kB / 335.9 MB, free: 8.727 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.601e-05/0.2792, allocations: 35.56 kB / 335.9 MB, free: 8.691 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.524e-05/0.2793, allocations: 37.86 kB / 336 MB, free: 8.656 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2793, allocations: 4 kB / 336 MB, free: 8.652 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.2794, allocations: 4 kB / 336 MB, free: 8.648 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2794, allocations: 7.938 kB / 336 MB, free: 8.641 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.2807, allocations: 1.051 MB / 337 MB, free: 7.504 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.2807, allocations: 7.984 kB / 337 MB, free: 7.496 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.281, allocations: 88.19 kB / 337.1 MB, free: 7.41 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.2811, allocations: 19.88 kB / 337.1 MB, free: 7.391 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.2811, allocations: 12 kB / 337.2 MB, free: 7.379 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.2811, allocations: 7.984 kB / 337.2 MB, free: 7.371 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.2811, allocations: 7.938 kB / 337.2 MB, free: 7.363 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007138/0.2818, allocations: 0.717 MB / 337.9 MB, free: 6.602 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/0.2819, allocations: 108.8 kB / 338 MB, free: 6.477 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.282, allocations: 16 kB / 338 MB, free: 6.461 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.2822, allocations: 8 kB / 338 MB, free: 6.453 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.2822, allocations: 31.91 kB / 338 MB, free: 6.422 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.2822, allocations: 16 kB / 338.1 MB, free: 6.406 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.2824, allocations: 136.2 kB / 338.2 MB, free: 6.273 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2824, allocations: 0 / 338.2 MB, free: 6.273 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003951/0.2828, allocations: 79.94 kB / 338.3 MB, free: 6.195 MB / 270.1 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,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001608/0.2829, allocations: 115.1 kB / 338.4 MB, free: 6.074 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000461/0.2834, allocations: 281.9 kB / 338.7 MB, free: 5.801 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2834, allocations: 0 / 338.7 MB, free: 5.801 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.2836, allocations: 140.3 kB / 338.8 MB, free: 5.664 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007624/0.2844, allocations: 80.47 kB / 338.9 MB, free: 5.586 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.2859, allocations: 0.9135 MB / 339.8 MB, free: 4.613 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.2864, allocations: 0.7758 MB / 340.6 MB, free: 3.809 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.2865, allocations: 34.95 kB / 340.6 MB, free: 3.777 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.2866, allocations: 35.42 kB / 340.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2866, allocations: 0 / 340.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of Templates: time 0.006694/0.2933, allocations: 2.966 MB / 343.6 MB, free: 0.7812 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1)