Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.001322/0.001322, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.001657/0.001657, allocations: 192.3 kB / 16.25 MB, free: 6.148 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.547/1.547, allocations: 205.1 MB / 222.1 MB, free: 4.66 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.00131/0.00131, allocations: 51.92 kB / 278.2 MB, free: 12.62 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2859, allocations: 46.63 MB / 324.8 MB, free: 1.879 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004546/0.2905, allocations: 2.454 MB / 327.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.2922, allocations: 0.6125 MB / 327.9 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003322/0.2926, allocations: 8.844 kB / 327.9 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.2929, allocations: 27.41 kB / 327.9 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.2932, allocations: 59.64 kB / 328 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.2935, allocations: 51.59 kB / 328.1 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004812/0.294, allocations: 249.8 kB / 328.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002904/0.2943, allocations: 96.62 kB / 328.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.2946, allocations: 97.52 kB / 328.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.2949, allocations: 111 kB / 328.6 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.755e-05/0.2949, allocations: 20.41 kB / 328.6 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.825e-05/0.295, allocations: 20.12 kB / 328.6 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.2951, allocations: 46.44 kB / 328.7 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.2952, allocations: 120.8 kB / 328.8 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.2956, allocations: 247 kB / 329 MB, free: 14.69 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.2956, allocations: 0 / 329 MB, free: 14.69 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2956, allocations: 1.312 kB / 329 MB, free: 14.69 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.2957, allocations: 3.938 kB / 329 MB, free: 14.69 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.001175/0.2969, allocations: 0.5204 MB / 329.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.482e-05/0.2969, allocations: 10.06 kB / 329.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.297, allocations: 24.56 kB / 329.6 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.2974, allocations: 240.6 kB / 329.8 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/0.2974, allocations: 21.66 kB / 329.9 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/0.2975, allocations: 17.5 kB / 329.9 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.298, allocations: 222.1 kB / 330.1 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.2981, allocations: 9.391 kB / 330.1 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.2981, allocations: 9.406 kB / 330.1 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.2981, allocations: 5.312 kB / 330.1 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003668/0.2985, allocations: 146.8 kB / 330.3 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.3, allocations: 0.7863 MB / 331 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.3005, allocations: 204 kB / 331.2 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.3008, allocations: 106.8 kB / 331.3 MB, free: 12.8 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.3008, allocations: 2.781 kB / 331.4 MB, free: 12.8 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.3009, allocations: 40.19 kB / 331.4 MB, free: 12.76 MB / 270.1 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.3009, allocations: 0 / 331.4 MB, free: 12.76 MB / 270.1 MB Notification: Performance of matching and sorting (n=26): time 0.001973/0.3029, allocations: 0.8575 MB / 332.2 MB, free: 12.07 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.3029, allocations: 84.73 kB / 332.3 MB, free: 11.97 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.3032, allocations: 178.3 kB / 332.5 MB, free: 11.83 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.3032, allocations: 30.92 kB / 332.5 MB, free: 11.8 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.3033, allocations: 146.5 kB / 332.7 MB, free: 11.66 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.3034, allocations: 93.11 kB / 332.8 MB, free: 11.58 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.3036, allocations: 47.23 kB / 332.8 MB, free: 11.54 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3037, allocations: 331.4 kB / 333.1 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.3039, allocations: 66.94 kB / 333.2 MB, free: 11.18 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.3041, allocations: 107.5 kB / 333.3 MB, free: 11.11 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.3045, allocations: 188.7 kB / 333.5 MB, free: 10.99 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3045, allocations: 0 / 333.5 MB, free: 10.99 MB / 270.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005619/0.3051, allocations: 247.6 kB / 333.7 MB, free: 10.8 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.3051, allocations: 8 kB / 333.7 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3051, allocations: 0 / 333.7 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.3051, allocations: 7.984 kB / 333.7 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.3054, allocations: 64 kB / 333.8 MB, free: 10.72 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.3054, allocations: 7.984 kB / 333.8 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.3056, allocations: 15.94 kB / 333.8 MB, free: 10.7 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.3056, allocations: 8 kB / 333.8 MB, free: 10.69 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.0001724/0.3058, allocations: 145.7 kB / 334 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.967e-05/0.3059, allocations: 19.72 kB / 334 MB, free: 10.52 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.833e-05/0.306, allocations: 33.8 kB / 334 MB, free: 10.48 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.306, allocations: 4 kB / 334 MB, free: 10.48 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.306, allocations: 0 / 334 MB, free: 10.48 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.306, allocations: 8 kB / 334 MB, free: 10.47 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008962/0.3069, allocations: 0.5786 MB / 334.6 MB, free: 9.828 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3069, allocations: 0 / 334.6 MB, free: 9.828 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.3072, allocations: 68 kB / 334.7 MB, free: 9.762 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3072, allocations: 0 / 334.7 MB, free: 9.762 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.3072, allocations: 8 kB / 334.7 MB, free: 9.754 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.3073, allocations: 7.984 kB / 334.7 MB, free: 9.746 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.3073, allocations: 3.938 kB / 334.7 MB, free: 9.742 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007239/0.308, allocations: 485 kB / 335.2 MB, free: 9.242 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-05/0.3081, allocations: 96.83 kB / 335.3 MB, free: 9.129 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.3081, allocations: 8 kB / 335.3 MB, free: 9.121 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.3083, allocations: 12.03 kB / 335.3 MB, free: 9.109 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.3084, allocations: 15.92 kB / 335.3 MB, free: 9.094 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.3084, allocations: 16 kB / 335.3 MB, free: 9.078 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.3086, allocations: 133.5 kB / 335.5 MB, free: 8.949 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3086, allocations: 0 / 335.5 MB, free: 8.949 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000363/0.309, allocations: 48 kB / 335.5 MB, free: 8.902 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.0001767/0.3091, allocations: 107.1 kB / 335.6 MB, free: 8.789 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004315/0.3096, allocations: 184.4 kB / 335.8 MB, free: 8.609 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3096, allocations: 8.125 kB / 335.8 MB, free: 8.602 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.3098, allocations: 92.05 kB / 335.9 MB, free: 8.512 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006213/0.3104, allocations: 40.69 kB / 335.9 MB, free: 8.473 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.3119, allocations: 0.7776 MB / 336.7 MB, free: 7.656 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.3126, allocations: 0.7518 MB / 337.5 MB, free: 6.879 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.3127, allocations: 29.92 kB / 337.5 MB, free: 6.848 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.3128, allocations: 19.44 kB / 337.5 MB, free: 6.828 MB / 270.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3128, allocations: 0 / 337.5 MB, free: 6.828 MB / 270.1 MB Notification: Performance of Templates: time 0.006093/0.3189, allocations: 1.979 MB / 339.5 MB, free: 4.852 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1)