Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.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.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009013/0.0009015, allocations: 91.22 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006779/0.006779, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.589/1.589, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0006355/0.0006355, allocations: 16 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3257, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002366/0.3282, allocations: 2.094 MB / 329.1 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.3292, allocations: 0.6035 MB / 329.7 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.3294, allocations: 12.19 kB / 329.7 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.3295, allocations: 27.7 kB / 329.8 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.3297, allocations: 51.73 kB / 329.8 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.3299, allocations: 55.12 kB / 329.9 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.3302, allocations: 243.2 kB / 330.1 MB, free: 15 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.3304, allocations: 91.89 kB / 330.2 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.3305, allocations: 75.81 kB / 330.3 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.3307, allocations: 106.5 kB / 330.4 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.3307, allocations: 14.47 kB / 330.4 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.296e-05/0.3308, allocations: 11.44 kB / 330.4 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.797e-05/0.3308, allocations: 33.31 kB / 330.4 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.3309, allocations: 129.6 kB / 330.6 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.3312, allocations: 231.5 kB / 330.8 MB, free: 14.53 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3312, allocations: 1.094 kB / 330.8 MB, free: 14.53 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3312, allocations: 0 / 330.8 MB, free: 14.53 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.3312, allocations: 0 / 330.8 MB, free: 14.53 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006974/0.3319, allocations: 498.8 kB / 331.3 MB, free: 14.07 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.332, allocations: 9.969 kB / 331.3 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.332, allocations: 24.81 kB / 331.3 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.3323, allocations: 244.9 kB / 331.5 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.3323, allocations: 17.53 kB / 331.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/0.3324, allocations: 21.12 kB / 331.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004436/0.3328, allocations: 226.3 kB / 331.8 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3329, allocations: 1.125 kB / 331.8 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.3329, allocations: 5.219 kB / 331.8 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3329, allocations: 5.688 kB / 331.8 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.3333, allocations: 158.2 kB / 332 MB, free: 13.56 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.3345, allocations: 0.8009 MB / 332.8 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.335, allocations: 203.2 kB / 333 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.3352, allocations: 108.2 kB / 333.1 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.3353, allocations: 6.531 kB / 333.1 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.3353, allocations: 40.09 kB / 333.1 MB, free: 12.63 MB / 270.1 MB Notification: Performance of pre-optimization done (n=22): time 3.867e-06/0.3353, allocations: 3.984 kB / 333.1 MB, free: 12.62 MB / 270.1 MB Notification: Performance of matching and sorting (n=26): time 0.001722/0.337, allocations: 0.8694 MB / 334 MB, free: 11.94 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.3371, allocations: 80.52 kB / 334.1 MB, free: 11.85 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.3373, allocations: 190.7 kB / 334.3 MB, free: 11.7 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.3373, allocations: 26.73 kB / 334.3 MB, free: 11.66 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.422e-05/0.3374, allocations: 141.7 kB / 334.4 MB, free: 11.53 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.279e-05/0.3375, allocations: 93.69 kB / 334.5 MB, free: 11.45 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.3376, allocations: 29.27 kB / 334.5 MB, free: 11.42 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3377, allocations: 331.6 kB / 334.9 MB, free: 11.09 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.3379, allocations: 70.94 kB / 334.9 MB, free: 11.06 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.3381, allocations: 113.2 kB / 335 MB, free: 10.97 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.3384, allocations: 204.2 kB / 335.2 MB, free: 10.76 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3384, allocations: 3.984 kB / 335.2 MB, free: 10.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004175/0.3388, allocations: 253.2 kB / 335.5 MB, free: 10.5 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3389, allocations: 10.5 kB / 335.5 MB, free: 10.49 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3389, allocations: 0 / 335.5 MB, free: 10.49 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3389, allocations: 4 kB / 335.5 MB, free: 10.49 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.3391, allocations: 59.91 kB / 335.6 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3392, allocations: 7.984 kB / 335.6 MB, free: 10.42 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.3393, allocations: 12 kB / 335.6 MB, free: 10.41 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.3393, allocations: 8 kB / 335.6 MB, free: 10.4 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.000139/0.3394, allocations: 150.2 kB / 335.7 MB, free: 10.25 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.3395, allocations: 19.72 kB / 335.8 MB, free: 10.23 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.507e-05/0.3396, allocations: 29.86 kB / 335.8 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.3396, allocations: 4 kB / 335.8 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.3396, allocations: 0 / 335.8 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3396, allocations: 4 kB / 335.8 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008296/0.3405, allocations: 0.5865 MB / 336.4 MB, free: 9.535 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3405, allocations: 3.938 kB / 336.4 MB, free: 9.531 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.3408, allocations: 63.91 kB / 336.4 MB, free: 9.469 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3408, allocations: 8.094 kB / 336.5 MB, free: 9.461 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.3408, allocations: 4 kB / 336.5 MB, free: 9.457 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3408, allocations: 4 kB / 336.5 MB, free: 9.453 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3408, allocations: 7.922 kB / 336.5 MB, free: 9.445 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/0.3415, allocations: 0.4931 MB / 337 MB, free: 8.926 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.3415, allocations: 92.83 kB / 337.1 MB, free: 8.816 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.3416, allocations: 8 kB / 337.1 MB, free: 8.809 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.3418, allocations: 20.03 kB / 337.1 MB, free: 8.789 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.3418, allocations: 15.92 kB / 337.1 MB, free: 8.773 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.3419, allocations: 8 kB / 337.1 MB, free: 8.766 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.342, allocations: 133.5 kB / 337.2 MB, free: 8.637 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.342, allocations: 0 / 337.2 MB, free: 8.637 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003335/0.3423, allocations: 52 kB / 337.3 MB, free: 8.586 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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 (26): * Single equations (assignments): 26 * 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.0001318/0.3425, allocations: 107.1 kB / 337.4 MB, free: 8.473 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004206/0.3429, allocations: 184 kB / 337.6 MB, free: 8.293 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3429, allocations: 0 / 337.6 MB, free: 8.293 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.3431, allocations: 100.2 kB / 337.7 MB, free: 8.195 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.3437, allocations: 48.48 kB / 337.7 MB, free: 8.148 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.3449, allocations: 0.8609 MB / 338.6 MB, free: 7.254 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.3453, allocations: 0.7559 MB / 339.3 MB, free: 6.473 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.271e-05/0.3454, allocations: 17.95 kB / 339.4 MB, free: 6.449 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.767e-05/0.3454, allocations: 23.44 kB / 339.4 MB, free: 6.426 MB / 270.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3454, allocations: 3.938 kB / 339.4 MB, free: 6.422 MB / 270.1 MB Notification: Performance of Templates: time 0.004775/0.3502, allocations: 1.87 MB / 341.2 MB, free: 4.555 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1)