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.008399/0.008399, allocations: 101 kB / 15.73 MB, free: 6.043 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.001615/0.001615, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.538/1.538, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.001168/0.001168, allocations: 51.12 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1063, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003785/0.1102, allocations: 2.396 MB / 375.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1114, allocations: 0.62 MB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.1115, allocations: 11.94 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.1117, allocations: 35.64 kB / 376.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.1119, allocations: 67.36 kB / 376.3 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.1121, allocations: 59.91 kB / 376.3 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.1125, allocations: 254.8 kB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.1127, allocations: 101.3 kB / 376.7 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.1129, allocations: 103.6 kB / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.1131, allocations: 107.5 kB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.1131, allocations: 24 kB / 376.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.253e-05/0.1132, allocations: 20 kB / 376.9 MB, free: 13.51 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.1132, allocations: 51.83 kB / 377 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1133, allocations: 115.4 kB / 377.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.1136, allocations: 247.1 kB / 377.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1136, allocations: 0 / 377.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1137, allocations: 0 / 377.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1137, allocations: 4 kB / 377.3 MB, free: 13.1 MB / 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.0008253/0.1145, allocations: 0.5185 MB / 377.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.1145, allocations: 8.031 kB / 377.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.1146, allocations: 28.66 kB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.115, allocations: 248.4 kB / 378.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.115, allocations: 16.81 kB / 378.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.688e-05/0.1151, allocations: 16.38 kB / 378.2 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.1155, allocations: 225.3 kB / 378.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.1155, allocations: 8 kB / 378.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.1155, allocations: 4 kB / 378.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1156, allocations: 4 kB / 378.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.1159, allocations: 147.8 kB / 378.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.1171, allocations: 0.7831 MB / 379.3 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.1176, allocations: 201 kB / 379.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.1178, allocations: 109.7 kB / 379.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1179, allocations: 4 kB / 379.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.1179, allocations: 34.69 kB / 379.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.422e-06/0.1179, allocations: 3.938 kB / 379.7 MB, free: 10.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001601/0.1195, allocations: 0.8647 MB / 380.6 MB, free: 9.605 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.1196, allocations: 81.11 kB / 380.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.1198, allocations: 182.1 kB / 380.8 MB, free: 9.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.1198, allocations: 29.7 kB / 380.8 MB, free: 9.285 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1199, allocations: 148.3 kB / 381 MB, free: 9.137 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/0.12, allocations: 94.64 kB / 381.1 MB, free: 9.043 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.977e-05/0.1201, allocations: 49.7 kB / 381.1 MB, free: 8.988 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1202, allocations: 330.8 kB / 381.4 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.1204, allocations: 63.97 kB / 381.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.1206, allocations: 112.2 kB / 381.6 MB, free: 8.469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.1209, allocations: 196.2 kB / 381.8 MB, free: 8.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1209, allocations: 0 / 381.8 MB, free: 8.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000432/0.1214, allocations: 245.2 kB / 382 MB, free: 8.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1214, allocations: 8 kB / 382.1 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1214, allocations: 0 / 382.1 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.1214, allocations: 7.984 kB / 382.1 MB, free: 8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.1217, allocations: 59.91 kB / 382.1 MB, free: 7.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1217, allocations: 0 / 382.1 MB, free: 7.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1218, allocations: 15.98 kB / 382.1 MB, free: 7.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.1218, allocations: 8 kB / 382.1 MB, free: 7.918 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.0001246/0.122, allocations: 145.8 kB / 382.3 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.122, allocations: 19.72 kB / 382.3 MB, free: 7.746 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.317e-05/0.1221, allocations: 33.8 kB / 382.3 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1221, allocations: 4 kB / 382.3 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1221, allocations: 0 / 382.3 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1221, allocations: 4 kB / 382.3 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008212/0.123, allocations: 0.5865 MB / 382.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.123, allocations: 0 / 382.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.1232, allocations: 59.91 kB / 383 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1233, allocations: 4 kB / 383 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.1233, allocations: 8 kB / 383 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.1233, allocations: 0 / 383 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.1233, allocations: 7.938 kB / 383 MB, free: 6.977 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006635/0.124, allocations: 0.4968 MB / 383.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/0.1241, allocations: 92.92 kB / 383.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.1241, allocations: 4 kB / 383.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.1243, allocations: 16 kB / 383.6 MB, free: 6.324 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.1243, allocations: 19.95 kB / 383.6 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1244, allocations: 8 kB / 383.6 MB, free: 6.297 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1245, allocations: 132.3 kB / 383.8 MB, free: 6.168 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1245, allocations: 0 / 383.8 MB, free: 6.168 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003326/0.1248, allocations: 52 kB / 383.8 MB, free: 6.117 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.0001189/0.1249, allocations: 103.2 kB / 383.9 MB, free: 6.004 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003747/0.1253, allocations: 179.7 kB / 384.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1253, allocations: 4 kB / 384.1 MB, free: 5.824 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.1255, allocations: 103.8 kB / 384.2 MB, free: 5.723 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.126, allocations: 31.98 kB / 384.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.127, allocations: 0.6725 MB / 384.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.1274, allocations: 0.744 MB / 385.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.513e-05/0.1275, allocations: 25.94 kB / 385.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.1275, allocations: 23.44 kB / 385.7 MB, free: 4.16 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1275, allocations: 0 / 385.7 MB, free: 4.16 MB / 318.1 MB Notification: Performance of Templates: time 0.004857/0.1324, allocations: 2.067 MB / 387.8 MB, free: 2.094 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)