Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001219/0.001219, allocations: 114 kB / 17.06 MB, free: 5.973 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.001173/0.001173, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.512/1.512, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.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.001193/0.001193, allocations: 48.41 kB / 327.8 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1178, allocations: 46.61 MB / 374.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004122/0.122, allocations: 2.414 MB / 376.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.123, allocations: 0.6161 MB / 377.5 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.1232, allocations: 4 kB / 377.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.1234, allocations: 39.58 kB / 377.5 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.1235, allocations: 67.41 kB / 377.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.1238, allocations: 67.8 kB / 377.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.1242, allocations: 246.9 kB / 377.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.1244, allocations: 101.3 kB / 378 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.1245, allocations: 99.64 kB / 378.1 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.1247, allocations: 111.5 kB / 378.2 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/0.1248, allocations: 20 kB / 378.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.491e-05/0.1248, allocations: 20 kB / 378.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.1249, allocations: 43.84 kB / 378.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.125, allocations: 123.4 kB / 378.4 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.1253, allocations: 251.1 kB / 378.7 MB, free: 368 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1253, allocations: 0 / 378.7 MB, free: 368 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1253, allocations: 0 / 378.7 MB, free: 368 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1254, allocations: 0 / 378.7 MB, free: 368 kB / 318.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.265/0.3904, allocations: 0.516 MB / 379.2 MB, free: 13.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.496e-05/0.3905, allocations: 12.03 kB / 379.2 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.25e-05/0.3906, allocations: 25.47 kB / 379.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.391, allocations: 244.5 kB / 379.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.3911, allocations: 16.58 kB / 379.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/0.3911, allocations: 20.81 kB / 379.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004885/0.3916, allocations: 220.9 kB / 379.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.3917, allocations: 0 / 379.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.3917, allocations: 10.12 kB / 379.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.3917, allocations: 6.125 kB / 379.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.392, allocations: 146.8 kB / 379.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.3932, allocations: 0.7797 MB / 380.6 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.3936, allocations: 199.7 kB / 380.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.3939, allocations: 111.5 kB / 380.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.3939, allocations: 2.75 kB / 380.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.3939, allocations: 36.53 kB / 381 MB, free: 12.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.402e-06/0.3939, allocations: 0 / 381 MB, free: 12.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001558/0.3955, allocations: 0.8631 MB / 381.8 MB, free: 11.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.3955, allocations: 87.14 kB / 381.9 MB, free: 11.65 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.3957, allocations: 178 kB / 382.1 MB, free: 11.53 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.3958, allocations: 30.7 kB / 382.1 MB, free: 11.49 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.3958, allocations: 141.8 kB / 382.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.3959, allocations: 101.2 kB / 382.4 MB, free: 11.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.716e-05/0.396, allocations: 47.16 kB / 382.4 MB, free: 11.26 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3961, allocations: 333.3 kB / 382.7 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.3964, allocations: 64.16 kB / 382.8 MB, free: 10.92 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.3967, allocations: 109.5 kB / 382.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004652/0.3972, allocations: 190.2 kB / 383.1 MB, free: 10.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3972, allocations: 0 / 383.1 MB, free: 10.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005061/0.3977, allocations: 254.2 kB / 383.3 MB, free: 10.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3977, allocations: 4.594 kB / 383.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3978, allocations: 3.484 kB / 383.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/0.3978, allocations: 3.438 kB / 383.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.3981, allocations: 59.64 kB / 383.4 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.3981, allocations: 7.125 kB / 383.4 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.3982, allocations: 11.41 kB / 383.4 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.3983, allocations: 13.42 kB / 383.5 MB, free: 10.62 MB / 318.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.0001285/0.3984, allocations: 132.4 kB / 383.6 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.3985, allocations: 30.66 kB / 383.6 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.571e-05/0.3985, allocations: 23.67 kB / 383.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.3985, allocations: 4.172 kB / 383.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.3986, allocations: 0 / 383.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3986, allocations: 9.219 kB / 383.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007963/0.3994, allocations: 0.5754 MB / 384.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3994, allocations: 5 kB / 384.2 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.3997, allocations: 57.66 kB / 384.3 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3997, allocations: 6.203 kB / 384.3 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.3997, allocations: 10.72 kB / 384.3 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.3997, allocations: 2.719 kB / 384.3 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3997, allocations: 5.438 kB / 384.3 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.4003, allocations: 0.4999 MB / 384.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.4004, allocations: 93.33 kB / 384.9 MB, free: 9.547 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.4004, allocations: 7.656 kB / 384.9 MB, free: 9.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.4006, allocations: 6.234 kB / 384.9 MB, free: 9.543 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.4006, allocations: 31.16 kB / 384.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.4007, allocations: 6.312 kB / 384.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.143e-05/0.4008, allocations: 139.2 kB / 385.1 MB, free: 9.434 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4008, allocations: 4 kB / 385.1 MB, free: 9.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003298/0.4011, allocations: 50.16 kB / 385.1 MB, free: 9.422 MB / 318.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 9.597e-05/0.4012, allocations: 103.4 kB / 385.2 MB, free: 9.328 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003635/0.4016, allocations: 174.2 kB / 385.4 MB, free: 9.285 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4016, allocations: 1.094 kB / 385.4 MB, free: 9.285 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.4018, allocations: 103 kB / 385.5 MB, free: 9.254 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.4022, allocations: 40.73 kB / 385.5 MB, free: 9.238 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.4033, allocations: 0.6664 MB / 386.2 MB, free: 8.785 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.4035, allocations: 0.745 MB / 387 MB, free: 8.086 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.32e-05/0.4036, allocations: 22.89 kB / 387 MB, free: 8.082 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.4037, allocations: 24.03 kB / 387 MB, free: 8.07 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4037, allocations: 0 / 387 MB, free: 8.07 MB / 318.1 MB Notification: Performance of Templates: time 0.006194/0.4099, allocations: 2.107 MB / 389.1 MB, free: 7.906 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1)