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.001424/0.001424, allocations: 101.3 kB / 16.5 MB, free: 6.648 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.001656/0.001656, allocations: 194.4 kB / 17.42 MB, free: 6.066 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.408/1.408, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.001191/0.001191, allocations: 48.41 kB / 279.3 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1035, allocations: 46.64 MB / 326 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003951/0.1075, allocations: 2.445 MB / 328.4 MB, free: 2.426 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1086, allocations: 0.6242 MB / 329 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.1087, allocations: 7.938 kB / 329 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.1089, allocations: 23.78 kB / 329.1 MB, free: 1.762 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.1091, allocations: 55.48 kB / 329.1 MB, free: 1.707 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.1093, allocations: 55.94 kB / 329.2 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.1096, allocations: 242.9 kB / 329.4 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.1098, allocations: 81.89 kB / 329.5 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.11, allocations: 95.64 kB / 329.6 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.1102, allocations: 103.5 kB / 329.7 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.1102, allocations: 16 kB / 329.7 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.973e-05/0.1103, allocations: 16 kB / 329.7 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.1103, allocations: 39.83 kB / 329.8 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.1104, allocations: 111.4 kB / 329.9 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.1107, allocations: 239.4 kB / 330.1 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.1107, allocations: 0 / 330.1 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1107, allocations: 0 / 330.1 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1108, allocations: 0 / 330.1 MB, free: 0.7266 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.000875/0.1116, allocations: 0.5263 MB / 330.6 MB, free: 152 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.1117, allocations: 8.031 kB / 330.6 MB, free: 144 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.881e-05/0.1118, allocations: 28.66 kB / 330.7 MB, free: 116 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.1121, allocations: 232.6 kB / 330.9 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.1121, allocations: 16.81 kB / 330.9 MB, free: 15.83 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/0.1122, allocations: 24.38 kB / 330.9 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.1126, allocations: 225.2 kB / 331.1 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.1126, allocations: 3.938 kB / 331.1 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.1126, allocations: 12 kB / 331.2 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.1127, allocations: 4 kB / 331.2 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.113, allocations: 139.9 kB / 331.3 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.1142, allocations: 0.7948 MB / 332.1 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.1146, allocations: 201 kB / 332.3 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.1149, allocations: 109.7 kB / 332.4 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.1149, allocations: 0 / 332.4 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.115, allocations: 50.61 kB / 332.4 MB, free: 14.17 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.142e-06/0.115, allocations: 0 / 332.4 MB, free: 14.17 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.001674/0.1166, allocations: 0.8567 MB / 333.3 MB, free: 13.22 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.1167, allocations: 77.11 kB / 333.4 MB, free: 13.13 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1169, allocations: 186.1 kB / 333.6 MB, free: 12.94 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.117, allocations: 29.7 kB / 333.6 MB, free: 12.9 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1171, allocations: 136.4 kB / 333.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.855e-05/0.1172, allocations: 90.66 kB / 333.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.182e-05/0.1173, allocations: 49.7 kB / 333.9 MB, free: 12.62 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.1175, allocations: 334.8 kB / 334.2 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.1176, allocations: 59.97 kB / 334.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.1178, allocations: 104.2 kB / 334.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.1181, allocations: 196 kB / 334.5 MB, free: 11.9 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1182, allocations: 0 / 334.5 MB, free: 11.9 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004165/0.1186, allocations: 245.2 kB / 334.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1186, allocations: 11.22 kB / 334.8 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1186, allocations: 4 kB / 334.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.1187, allocations: 0 / 334.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.1189, allocations: 67.89 kB / 334.9 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.1189, allocations: 4 kB / 334.9 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.1191, allocations: 15.84 kB / 334.9 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.1191, allocations: 8 kB / 334.9 MB, free: 11.55 MB / 286.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.0001426/0.1192, allocations: 138.2 kB / 335 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.217e-05/0.1193, allocations: 23.81 kB / 335 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.718e-05/0.1194, allocations: 29.86 kB / 335.1 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.1194, allocations: 4 kB / 335.1 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1194, allocations: 3.938 kB / 335.1 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1194, allocations: 0 / 335.1 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008167/0.1202, allocations: 0.5903 MB / 335.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1203, allocations: 0 / 335.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.1205, allocations: 51.97 kB / 335.7 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1205, allocations: 4 kB / 335.7 MB, free: 10.63 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.1206, allocations: 7.984 kB / 335.7 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.1206, allocations: 7.938 kB / 335.7 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1206, allocations: 3.938 kB / 335.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006308/0.1212, allocations: 485.2 kB / 336.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.1213, allocations: 96.77 kB / 336.3 MB, free: 10 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.1213, allocations: 8 kB / 336.3 MB, free: 9.992 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.1215, allocations: 16.03 kB / 336.3 MB, free: 9.977 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.1216, allocations: 31.8 kB / 336.4 MB, free: 9.945 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.1216, allocations: 11.98 kB / 336.4 MB, free: 9.934 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.239e-05/0.1217, allocations: 132.3 kB / 336.5 MB, free: 9.805 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1217, allocations: 0 / 336.5 MB, free: 9.805 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003234/0.122, allocations: 48 kB / 336.6 MB, free: 9.758 MB / 286.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.0001411/0.1222, allocations: 103.2 kB / 336.7 MB, free: 9.648 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003898/0.1226, allocations: 180.5 kB / 336.8 MB, free: 9.473 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1226, allocations: 0 / 336.8 MB, free: 9.473 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.1228, allocations: 97.09 kB / 336.9 MB, free: 9.379 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005748/0.1234, allocations: 32.67 kB / 337 MB, free: 9.348 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.1246, allocations: 0.7831 MB / 337.7 MB, free: 8.527 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.1249, allocations: 0.752 MB / 338.5 MB, free: 7.75 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.571e-05/0.125, allocations: 21.94 kB / 338.5 MB, free: 7.727 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.789e-05/0.1251, allocations: 19.44 kB / 338.5 MB, free: 7.707 MB / 286.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1251, allocations: 0 / 338.5 MB, free: 7.707 MB / 286.1 MB Notification: Performance of Templates: time 0.004814/0.1299, allocations: 1.895 MB / 340.4 MB, free: 5.816 MB / 286.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)