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.007369/0.00737, allocations: 102 kB / 15.73 MB, free: 6.051 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.001192/0.001192, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.454/1.454, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001182/0.001182, allocations: 56.33 kB / 326.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1112, allocations: 46.62 MB / 373.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003874/0.1151, allocations: 2.391 MB / 375.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1163, allocations: 0.62 MB / 376.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.1164, allocations: 4 kB / 376.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.1167, allocations: 43.58 kB / 376.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.1168, allocations: 63.42 kB / 376.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.1172, allocations: 63.84 kB / 376.3 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.1175, allocations: 254.8 kB / 376.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.1177, allocations: 97.33 kB / 376.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.1179, allocations: 99.64 kB / 376.8 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.118, allocations: 111.5 kB / 376.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.1181, allocations: 20 kB / 376.9 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.386e-05/0.1181, allocations: 20 kB / 376.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.1182, allocations: 43.84 kB / 377 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.1183, allocations: 119.4 kB / 377.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.1186, allocations: 255.1 kB / 377.3 MB, free: 348 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1186, allocations: 0 / 377.3 MB, free: 348 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1186, allocations: 0 / 377.3 MB, free: 348 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1186, allocations: 0 / 377.3 MB, free: 348 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.27/0.3887, allocations: 0.514 MB / 377.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.096e-05/0.3888, allocations: 10.53 kB / 377.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.63e-05/0.3889, allocations: 25.92 kB / 377.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/0.3895, allocations: 243.5 kB / 378.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.3895, allocations: 17.94 kB / 378.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.742e-05/0.3896, allocations: 20.34 kB / 378.2 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000715/0.3903, allocations: 221.7 kB / 378.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.3903, allocations: 1.344 kB / 378.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.3904, allocations: 8 kB / 378.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.3904, allocations: 5.5 kB / 378.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.3908, allocations: 147.5 kB / 378.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.3921, allocations: 0.78 MB / 379.3 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.3926, allocations: 201 kB / 379.5 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.3929, allocations: 106.1 kB / 379.6 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.393, allocations: 3.547 kB / 379.6 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.393, allocations: 37.66 kB / 379.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.393, allocations: 3.094 kB / 379.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001955/0.395, allocations: 0.8714 MB / 380.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.395, allocations: 81.16 kB / 380.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.3953, allocations: 180.6 kB / 380.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.3953, allocations: 31.39 kB / 380.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.3955, allocations: 145.2 kB / 381 MB, free: 11.36 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.3956, allocations: 97.28 kB / 381.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.3958, allocations: 46.55 kB / 381.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3959, allocations: 329.9 kB / 381.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.3962, allocations: 64.91 kB / 381.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.3965, allocations: 112.6 kB / 381.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.3969, allocations: 189.4 kB / 381.8 MB, free: 10.74 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3969, allocations: 0 / 381.8 MB, free: 10.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004843/0.3974, allocations: 255.8 kB / 382 MB, free: 10.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3974, allocations: 6.266 kB / 382 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3975, allocations: 1.25 kB / 382 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.3975, allocations: 2.734 kB / 382 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.3978, allocations: 63.33 kB / 382.1 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.3978, allocations: 2.344 kB / 382.1 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.3979, allocations: 14.2 kB / 382.1 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.3979, allocations: 11.62 kB / 382.1 MB, free: 10.61 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.0001016/0.398, allocations: 131.6 kB / 382.3 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.3981, allocations: 31.86 kB / 382.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.796e-05/0.3982, allocations: 22.8 kB / 382.3 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.3982, allocations: 3.938 kB / 382.3 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.3982, allocations: 1 kB / 382.3 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3982, allocations: 6.734 kB / 382.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008088/0.399, allocations: 0.5759 MB / 382.9 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3991, allocations: 1.922 kB / 382.9 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.3993, allocations: 59.72 kB / 383 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3993, allocations: 3.438 kB / 383 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.3994, allocations: 11.28 kB / 383 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3994, allocations: 2.188 kB / 383 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.3994, allocations: 12.31 kB / 383 MB, free: 9.988 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006043/0.4, allocations: 0.4965 MB / 383.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.4, allocations: 96.52 kB / 383.6 MB, free: 9.535 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.4001, allocations: 7.344 kB / 383.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.4003, allocations: 7.391 kB / 383.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.4003, allocations: 26.17 kB / 383.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.4004, allocations: 10.14 kB / 383.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.946e-05/0.4005, allocations: 131.8 kB / 383.8 MB, free: 9.426 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4005, allocations: 4 kB / 383.8 MB, free: 9.422 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000353/0.4008, allocations: 50.69 kB / 383.8 MB, free: 9.414 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 0.0001232/0.401, allocations: 99.33 kB / 383.9 MB, free: 9.324 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004228/0.4014, allocations: 177.4 kB / 384.1 MB, free: 9.277 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4014, allocations: 1.469 kB / 384.1 MB, free: 9.277 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.4016, allocations: 99.03 kB / 384.2 MB, free: 9.246 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.4021, allocations: 40.25 kB / 384.2 MB, free: 9.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.4033, allocations: 0.6776 MB / 384.9 MB, free: 8.773 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.4036, allocations: 0.7463 MB / 385.6 MB, free: 8.074 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.4038, allocations: 22.39 kB / 385.7 MB, free: 8.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/0.4038, allocations: 25.8 kB / 385.7 MB, free: 8.059 MB / 318.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4038, allocations: 0 / 385.7 MB, free: 8.059 MB / 318.1 MB Notification: Performance of Templates: time 0.006943/0.4108, allocations: 2.071 MB / 387.8 MB, free: 7.891 MB / 318.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)