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.001702/0.001702, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.001286/0.001285, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.441/1.441, allocations: 205.1 MB / 223.4 MB, free: 12.38 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.00143/0.00143, allocations: 47.94 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1138, allocations: 46.63 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004601/0.1185, allocations: 2.449 MB / 328.6 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.1197, allocations: 0.6164 MB / 329.2 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1199, allocations: 7.938 kB / 329.2 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.1201, allocations: 31.77 kB / 329.2 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.1202, allocations: 59.48 kB / 329.3 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.1205, allocations: 51.94 kB / 329.3 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.1208, allocations: 250.9 kB / 329.6 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.1211, allocations: 97.33 kB / 329.7 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.1212, allocations: 95.66 kB / 329.8 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.1214, allocations: 115.5 kB / 329.9 MB, free: 1 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.192e-05/0.1214, allocations: 20 kB / 329.9 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.833e-05/0.1215, allocations: 20 kB / 329.9 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.1215, allocations: 47.84 kB / 330 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.1217, allocations: 115.4 kB / 330.1 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.122, allocations: 247.4 kB / 330.3 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.122, allocations: 0 / 330.3 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.122, allocations: 4 kB / 330.3 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.122, allocations: 0 / 330.3 MB, free: 0.5547 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.0008597/0.1229, allocations: 0.5185 MB / 330.9 MB, free: 15.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1229, allocations: 12.03 kB / 330.9 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.155e-05/0.123, allocations: 32.58 kB / 330.9 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.1233, allocations: 240.4 kB / 331.1 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1233, allocations: 20.81 kB / 331.2 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.986e-05/0.1234, allocations: 16.38 kB / 331.2 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004571/0.1238, allocations: 221.2 kB / 331.4 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.1239, allocations: 8 kB / 331.4 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.1239, allocations: 4 kB / 331.4 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.1239, allocations: 4 kB / 331.4 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.1242, allocations: 143.9 kB / 331.5 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.1255, allocations: 0.7909 MB / 332.3 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.1259, allocations: 201 kB / 332.5 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.1262, allocations: 109.7 kB / 332.6 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.1262, allocations: 4 kB / 332.6 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1262, allocations: 42.61 kB / 332.7 MB, free: 14.01 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.1263, allocations: 0 / 332.7 MB, free: 14.01 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.001557/0.1278, allocations: 0.8674 MB / 333.5 MB, free: 13.05 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.1279, allocations: 81.11 kB / 333.6 MB, free: 12.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.128, allocations: 178.1 kB / 333.8 MB, free: 12.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1281, allocations: 33.7 kB / 333.8 MB, free: 12.73 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.776e-05/0.1282, allocations: 144.4 kB / 334 MB, free: 12.59 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.1282, allocations: 90.64 kB / 334.1 MB, free: 12.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.647e-05/0.1283, allocations: 49.7 kB / 334.1 MB, free: 12.44 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1285, allocations: 326.8 kB / 334.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.1286, allocations: 67.95 kB / 334.5 MB, free: 12.05 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.1288, allocations: 112.2 kB / 334.6 MB, free: 11.92 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/0.1292, allocations: 192 kB / 334.8 MB, free: 11.72 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1292, allocations: 0 / 334.8 MB, free: 11.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004099/0.1296, allocations: 241.6 kB / 335 MB, free: 11.48 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.1296, allocations: 8 kB / 335 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1296, allocations: 0 / 335 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.1297, allocations: 4 kB / 335 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.1299, allocations: 59.91 kB / 335.1 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1299, allocations: 4.062 kB / 335.1 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.1301, allocations: 23.83 kB / 335.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.1301, allocations: 8.094 kB / 335.1 MB, free: 11.37 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.0001564/0.1303, allocations: 149.7 kB / 335.3 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.1303, allocations: 15.81 kB / 335.3 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.506e-05/0.1304, allocations: 33.8 kB / 335.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1304, allocations: 4 kB / 335.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1304, allocations: 0 / 335.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1304, allocations: 4 kB / 335.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008148/0.1312, allocations: 0.5864 MB / 335.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1313, allocations: 0 / 335.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.1315, allocations: 59.97 kB / 336 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1315, allocations: 0 / 336 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.1316, allocations: 8 kB / 336 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.1316, allocations: 8.031 kB / 336 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.1316, allocations: 7.938 kB / 336 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006311/0.1322, allocations: 481.1 kB / 336.5 MB, free: 9.926 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.1323, allocations: 104.8 kB / 336.6 MB, free: 9.805 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.1324, allocations: 8 kB / 336.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.1325, allocations: 8 kB / 336.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.1326, allocations: 23.84 kB / 336.6 MB, free: 9.766 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.1326, allocations: 8 kB / 336.6 MB, free: 9.758 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1327, allocations: 136.3 kB / 336.8 MB, free: 9.625 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1327, allocations: 0 / 336.8 MB, free: 9.625 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003345/0.1331, allocations: 52 kB / 336.8 MB, free: 9.574 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.0001385/0.1332, allocations: 107.3 kB / 336.9 MB, free: 9.461 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004163/0.1337, allocations: 184 kB / 337.1 MB, free: 9.281 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1337, allocations: 0 / 337.1 MB, free: 9.281 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.1338, allocations: 96.2 kB / 337.2 MB, free: 9.188 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/0.1344, allocations: 41.23 kB / 337.2 MB, free: 9.148 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.1357, allocations: 0.7735 MB / 338 MB, free: 8.336 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.136, allocations: 0.7518 MB / 338.8 MB, free: 7.559 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.969e-05/0.1361, allocations: 17.95 kB / 338.8 MB, free: 7.539 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.893e-05/0.1362, allocations: 27.42 kB / 338.8 MB, free: 7.512 MB / 286.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1362, allocations: 0 / 338.8 MB, free: 7.512 MB / 286.1 MB Notification: Performance of Templates: time 0.004945/0.1411, allocations: 1.979 MB / 340.8 MB, free: 5.539 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)