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.01021/0.01021, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001799/0.001799, allocations: 194.1 kB / 16.67 MB, free: 5.977 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.536/1.536, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001166/0.001166, allocations: 58.84 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1036, allocations: 46.62 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003969/0.1076, allocations: 2.404 MB / 375.6 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1087, allocations: 0.62 MB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.1089, allocations: 7.938 kB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.1091, allocations: 35.66 kB / 376.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.1092, allocations: 67.3 kB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.1094, allocations: 67.91 kB / 376.4 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.1098, allocations: 250.8 kB / 376.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.11, allocations: 109.3 kB / 376.7 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.1102, allocations: 91.66 kB / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.1104, allocations: 115.5 kB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.685e-05/0.1104, allocations: 20 kB / 376.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.959e-05/0.1105, allocations: 24 kB / 376.9 MB, free: 13.51 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.565e-05/0.1106, allocations: 47.84 kB / 377 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.1107, allocations: 111.4 kB / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003591/0.1111, allocations: 255.1 kB / 377.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.1111, allocations: 0 / 377.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1111, allocations: 0 / 377.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1111, allocations: 0 / 377.4 MB, free: 13.11 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.0008955/0.112, allocations: 0.5146 MB / 377.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.1121, allocations: 12.03 kB / 377.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.1121, allocations: 28.64 kB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.1125, allocations: 244.5 kB / 378.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.1126, allocations: 12.81 kB / 378.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.866e-05/0.1127, allocations: 20.38 kB / 378.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.1131, allocations: 225.3 kB / 378.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.1132, allocations: 0 / 378.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.1132, allocations: 8 kB / 378.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.1132, allocations: 8 kB / 378.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.1135, allocations: 143.8 kB / 378.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.1149, allocations: 0.7831 MB / 379.3 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.1153, allocations: 197 kB / 379.5 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.1156, allocations: 109.7 kB / 379.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.1156, allocations: 4 kB / 379.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.1157, allocations: 34.69 kB / 379.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 2.495e-06/0.1157, allocations: 3.938 kB / 379.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001598/0.1173, allocations: 0.8687 MB / 380.5 MB, free: 9.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.1173, allocations: 81.11 kB / 380.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.1175, allocations: 182.2 kB / 380.8 MB, free: 9.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.1175, allocations: 33.64 kB / 380.8 MB, free: 9.293 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/0.1176, allocations: 144.3 kB / 381 MB, free: 9.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.214e-05/0.1177, allocations: 94.59 kB / 381.1 MB, free: 9.055 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-05/0.1178, allocations: 53.7 kB / 381.1 MB, free: 8.996 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.118, allocations: 330.8 kB / 381.4 MB, free: 8.664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.1181, allocations: 63.97 kB / 381.5 MB, free: 8.602 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.1183, allocations: 112.2 kB / 381.6 MB, free: 8.477 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.1186, allocations: 200.4 kB / 381.8 MB, free: 8.266 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1187, allocations: 0 / 381.8 MB, free: 8.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004361/0.1191, allocations: 241.2 kB / 382 MB, free: 8.023 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.1191, allocations: 8.094 kB / 382.1 MB, free: 8.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1191, allocations: 0 / 382.1 MB, free: 8.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.1192, allocations: 4 kB / 382.1 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.1195, allocations: 67.89 kB / 382.1 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.1195, allocations: 0 / 382.1 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.1196, allocations: 16 kB / 382.1 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.1197, allocations: 4 kB / 382.1 MB, free: 7.926 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.0001206/0.1198, allocations: 141.7 kB / 382.3 MB, free: 7.777 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.1199, allocations: 31.7 kB / 382.3 MB, free: 7.746 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.281e-05/0.1199, allocations: 25.88 kB / 382.3 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1199, allocations: 0 / 382.3 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1199, allocations: 4 kB / 382.3 MB, free: 7.719 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.12, allocations: 3.984 kB / 382.3 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008945/0.1209, allocations: 0.5866 MB / 382.9 MB, free: 7.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1209, allocations: 0 / 382.9 MB, free: 7.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.1212, allocations: 59.91 kB / 383 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1212, allocations: 0 / 383 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.1212, allocations: 11.98 kB / 383 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.1212, allocations: 0 / 383 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/0.1212, allocations: 7.938 kB / 383 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006654/0.1219, allocations: 0.4889 MB / 383.5 MB, free: 6.469 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.733e-05/0.122, allocations: 96.92 kB / 383.6 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.1221, allocations: 4 kB / 383.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.1223, allocations: 12.03 kB / 383.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.1223, allocations: 23.92 kB / 383.6 MB, free: 6.316 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.1224, allocations: 7.984 kB / 383.6 MB, free: 6.309 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.95e-05/0.1225, allocations: 136.3 kB / 383.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1225, allocations: 0 / 383.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003448/0.1228, allocations: 48 kB / 383.8 MB, free: 6.129 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.0001269/0.123, allocations: 103.2 kB / 383.9 MB, free: 6.016 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003938/0.1234, allocations: 183.7 kB / 384.1 MB, free: 5.836 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1234, allocations: 0 / 384.1 MB, free: 5.836 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.1236, allocations: 99.77 kB / 384.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.124, allocations: 35.92 kB / 384.2 MB, free: 5.703 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.1254, allocations: 0.6764 MB / 384.9 MB, free: 4.988 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.1258, allocations: 0.7441 MB / 385.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.1259, allocations: 29.92 kB / 385.7 MB, free: 4.188 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.325e-05/0.126, allocations: 19.44 kB / 385.7 MB, free: 4.168 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.126, allocations: 0 / 385.7 MB, free: 4.168 MB / 318.1 MB Notification: Performance of Templates: time 0.006196/0.1322, allocations: 2.102 MB / 387.8 MB, free: 2.066 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)