Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001952/0.001952, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.373/1.373, allocations: 170.6 MB / 178.7 MB, free: 15.66 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001642/0.001642, allocations: 95.52 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.298e-05/1.3e-05, allocations: 4 kB / 262.2 MB, free: 26.42 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06935/0.06937, allocations: 38.77 MB / 301 MB, free: 3.645 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2448/0.3142, allocations: 65.83 MB / 366.8 MB, free: 2.527 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001831/0.3144, allocations: 66.52 kB / 366.9 MB, free: 2.492 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008881/0.3233, allocations: 4.03 MB / 370.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3234, allocations: 0 / 370.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.3234, allocations: 8 kB / 370.9 MB, free: 15.2 MB / 266.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.0005382/0.3239, allocations: 481.5 kB / 371.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.324, allocations: 12.03 kB / 371.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.324, allocations: 23.91 kB / 371.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.3243, allocations: 236.8 kB / 371.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.3243, allocations: 12 kB / 371.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.3243, allocations: 16 kB / 371.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002433/0.3246, allocations: 133.5 kB / 371.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.3249, allocations: 203.3 kB / 372 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.3249, allocations: 3.875 kB / 372 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.3249, allocations: 3.984 kB / 372 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.325, allocations: 8 kB / 372 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008938/0.3259, allocations: 0.7498 MB / 372.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.3263, allocations: 263.2 kB / 373 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.3265, allocations: 129.6 kB / 373.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.3265, allocations: 4 kB / 373.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.3265, allocations: 38.62 kB / 373.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.393e-06/0.3265, allocations: 0 / 373.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.00192/0.3284, allocations: 1.734 MB / 374.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.3285, allocations: 106.8 kB / 375 MB, free: 11.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.3286, allocations: 150 kB / 375.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.3287, allocations: 25.7 kB / 375.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.3287, allocations: 141.5 kB / 375.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.731e-05/0.3288, allocations: 155.3 kB / 375.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.3289, allocations: 0 / 375.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.329, allocations: 338 kB / 375.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.3291, allocations: 77.12 kB / 375.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.3293, allocations: 139.2 kB / 376 MB, free: 10.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.3294, allocations: 108 kB / 376.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3294, allocations: 0 / 376.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004052/0.3298, allocations: 297.7 kB / 376.4 MB, free: 9.879 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3298, allocations: 4 kB / 376.4 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3299, allocations: 8.078 kB / 376.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3299, allocations: 7.938 kB / 376.4 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.3303, allocations: 91.47 kB / 376.5 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.3303, allocations: 4 kB / 376.5 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.3305, allocations: 0 / 376.5 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.3305, allocations: 15.62 kB / 376.6 MB, free: 9.758 MB / 266.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 0.0001073/0.3306, allocations: 112.8 kB / 376.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.3308, allocations: 35.66 kB / 376.7 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.519e-05/0.3309, allocations: 30.91 kB / 376.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.3309, allocations: 4.656 kB / 376.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3309, allocations: 0 / 376.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.3309, allocations: 7.984 kB / 376.7 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.3327, allocations: 0.9761 MB / 377.7 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.3327, allocations: 4 kB / 377.7 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000582/0.3333, allocations: 83.34 kB / 377.8 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.3334, allocations: 4 kB / 377.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.3334, allocations: 7.984 kB / 377.8 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.3334, allocations: 8 kB / 377.8 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.3334, allocations: 7.891 kB / 377.8 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.3345, allocations: 0.7974 MB / 378.6 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-05/0.3346, allocations: 107.8 kB / 378.7 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.3347, allocations: 4 kB / 378.7 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.335, allocations: 0 / 378.7 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.3351, allocations: 31.3 kB / 378.8 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.3352, allocations: 15.19 kB / 378.8 MB, free: 7.602 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001087/0.3353, allocations: 126.4 kB / 378.9 MB, free: 7.492 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3353, allocations: 3.938 kB / 378.9 MB, free: 7.488 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007347/0.336, allocations: 56 kB / 379 MB, free: 7.434 MB / 266.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.0001585/0.3362, allocations: 104.4 kB / 379.1 MB, free: 7.324 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005229/0.3367, allocations: 228.3 kB / 379.3 MB, free: 7.164 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3367, allocations: 0 / 379.3 MB, free: 7.164 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.337, allocations: 129.6 kB / 379.4 MB, free: 7.066 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007661/0.3378, allocations: 46.12 kB / 379.5 MB, free: 7.031 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.3395, allocations: 0.7643 MB / 380.2 MB, free: 6.262 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.34, allocations: 0.7761 MB / 381 MB, free: 5.457 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001892/0.3402, allocations: 35.53 kB / 381 MB, free: 5.422 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.164e-05/0.3403, allocations: 27.44 kB / 381.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3403, allocations: 3.938 kB / 381.1 MB, free: 5.395 MB / 266.7 MB Notification: Performance of Templates: time 0.00794/0.3482, allocations: 2.518 MB / 383.6 MB, free: 2.887 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1)