Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.008425/0.008425, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001627/0.001627, allocations: 192 kB / 16.67 MB, free: 5.969 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.564/1.564, allocations: 205.1 MB / 222.6 MB, free: 4.473 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.001143/0.001144, allocations: 50.14 kB / 326.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1058, allocations: 46.64 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004166/0.11, allocations: 2.392 MB / 375.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1114, allocations: 0.6239 MB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.1115, allocations: 7.938 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.1118, allocations: 31.66 kB / 376.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.112, allocations: 75.33 kB / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.1122, allocations: 59.88 kB / 376.4 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.1127, allocations: 258.9 kB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.113, allocations: 93.34 kB / 376.7 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.1132, allocations: 107.6 kB / 376.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.1134, allocations: 103.5 kB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.1135, allocations: 20 kB / 376.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.286e-05/0.1135, allocations: 20 kB / 376.9 MB, free: 13.51 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.1136, allocations: 47.78 kB / 377 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.1137, allocations: 119.4 kB / 377.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004162/0.1142, allocations: 258.9 kB / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.1142, allocations: 0 / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.1142, allocations: 0 / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1142, allocations: 4 kB / 377.4 MB, free: 13.09 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.001132/0.1154, allocations: 0.5222 MB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.1154, allocations: 8.031 kB / 377.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.303e-05/0.1155, allocations: 28.75 kB / 377.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005456/0.1161, allocations: 236.6 kB / 378.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.1161, allocations: 20.81 kB / 378.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/0.1162, allocations: 28.36 kB / 378.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005097/0.1167, allocations: 213.3 kB / 378.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.1167, allocations: 3.953 kB / 378.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.1168, allocations: 8 kB / 378.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1168, allocations: 4 kB / 378.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/0.1171, allocations: 147.8 kB / 378.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.1185, allocations: 0.7872 MB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.119, allocations: 205 kB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.1192, allocations: 101.7 kB / 379.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.1192, allocations: 7.938 kB / 379.7 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.1193, allocations: 42.94 kB / 379.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.763e-06/0.1193, allocations: 4 kB / 379.7 MB, free: 10.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001844/0.1211, allocations: 0.8542 MB / 380.6 MB, free: 9.598 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.1213, allocations: 81.05 kB / 380.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.1215, allocations: 186.2 kB / 380.8 MB, free: 9.309 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.1216, allocations: 33.7 kB / 380.9 MB, free: 9.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.1217, allocations: 140.5 kB / 381 MB, free: 9.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.669e-05/0.1218, allocations: 99.31 kB / 381.1 MB, free: 9.031 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/0.1219, allocations: 45.7 kB / 381.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.1221, allocations: 334.8 kB / 381.5 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.1223, allocations: 59.97 kB / 381.5 MB, free: 8.586 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.1225, allocations: 124.2 kB / 381.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.1228, allocations: 184.2 kB / 381.8 MB, free: 8.254 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1228, allocations: 4 kB / 381.8 MB, free: 8.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004005/0.1232, allocations: 253.2 kB / 382.1 MB, free: 7.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1233, allocations: 8.062 kB / 382.1 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.1233, allocations: 7.938 kB / 382.1 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1233, allocations: 0 / 382.1 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.1236, allocations: 63.91 kB / 382.2 MB, free: 7.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1236, allocations: 4 kB / 382.2 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.1237, allocations: 12.09 kB / 382.2 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.1237, allocations: 11.98 kB / 382.2 MB, free: 7.891 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.0001218/0.1238, allocations: 141.7 kB / 382.3 MB, free: 7.742 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.57e-05/0.1239, allocations: 23.86 kB / 382.3 MB, free: 7.719 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.869e-05/0.124, allocations: 25.88 kB / 382.4 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.124, allocations: 4 kB / 382.4 MB, free: 7.691 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.124, allocations: 3.984 kB / 382.4 MB, free: 7.688 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.124, allocations: 0 / 382.4 MB, free: 7.688 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009129/0.1249, allocations: 0.5904 MB / 383 MB, free: 7.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1249, allocations: 4 kB / 383 MB, free: 7.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.1252, allocations: 55.91 kB / 383 MB, free: 6.973 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1252, allocations: 0 / 383 MB, free: 6.973 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.1252, allocations: 8 kB / 383 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.1253, allocations: 12.03 kB / 383 MB, free: 6.953 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.1253, allocations: 3.938 kB / 383 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007405/0.126, allocations: 0.4891 MB / 383.5 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/0.1261, allocations: 93.05 kB / 383.6 MB, free: 6.324 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.1261, allocations: 8 kB / 383.6 MB, free: 6.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.1263, allocations: 12 kB / 383.6 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.1264, allocations: 23.91 kB / 383.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.1264, allocations: 8 kB / 383.7 MB, free: 6.273 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.842e-05/0.1265, allocations: 132.3 kB / 383.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1265, allocations: 0 / 383.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.1268, allocations: 52 kB / 383.9 MB, free: 6.094 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.0001237/0.127, allocations: 107.2 kB / 384 MB, free: 5.977 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004116/0.1274, allocations: 183.7 kB / 384.1 MB, free: 5.797 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1274, allocations: 0 / 384.1 MB, free: 5.797 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.1276, allocations: 92.22 kB / 384.2 MB, free: 5.707 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/0.1281, allocations: 47.98 kB / 384.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.1296, allocations: 0.6867 MB / 385 MB, free: 4.934 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004847/0.1301, allocations: 0.7441 MB / 385.7 MB, free: 4.164 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.073e-05/0.1302, allocations: 21.94 kB / 385.7 MB, free: 4.141 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/0.1303, allocations: 19.44 kB / 385.7 MB, free: 4.121 MB / 318.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1303, allocations: 0 / 385.7 MB, free: 4.121 MB / 318.1 MB Notification: Performance of Templates: time 0.005277/0.1356, allocations: 2.066 MB / 387.8 MB, free: 2.055 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1)