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.009529/0.009529, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001816/0.001816, allocations: 187.4 kB / 16.67 MB, free: 5.887 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.485/1.485, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001224/0.001224, allocations: 54.02 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1185, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.0041/0.1227, allocations: 2.404 MB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.1241, allocations: 0.6083 MB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.1243, allocations: 7.938 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.1245, allocations: 39.64 kB / 376.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.1247, allocations: 71.34 kB / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.125, allocations: 59.92 kB / 376.3 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003817/0.1254, allocations: 254.8 kB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.1257, allocations: 101.3 kB / 376.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.1258, allocations: 99.62 kB / 376.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.126, allocations: 103.5 kB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.282e-05/0.1261, allocations: 20 kB / 376.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.376e-05/0.1261, allocations: 20 kB / 376.9 MB, free: 13.51 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.1262, allocations: 59.7 kB / 377 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.1263, allocations: 111.5 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.1266, allocations: 255.1 kB / 377.3 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.1266, allocations: 0 / 377.3 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1266, allocations: 0 / 377.3 MB, free: 13.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.1266, 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.0009066/0.1275, allocations: 0.5185 MB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1276, allocations: 8.031 kB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.928e-05/0.1276, allocations: 24.66 kB / 377.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.128, allocations: 240.5 kB / 378.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.128, allocations: 24.69 kB / 378.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.1281, allocations: 20.38 kB / 378.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004243/0.1285, allocations: 221.3 kB / 378.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.1286, allocations: 0 / 378.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.1286, allocations: 8 kB / 378.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1286, allocations: 4 kB / 378.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.1289, allocations: 151.8 kB / 378.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.1301, allocations: 0.7792 MB / 379.3 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.1306, allocations: 197 kB / 379.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.1308, allocations: 109.6 kB / 379.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.1309, allocations: 8.141 kB / 379.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.1309, allocations: 42.62 kB / 379.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.874e-06/0.1309, allocations: 8 kB / 379.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001663/0.1326, allocations: 0.8487 MB / 380.5 MB, free: 9.605 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.1326, allocations: 85.11 kB / 380.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.1328, allocations: 182.2 kB / 380.8 MB, free: 9.316 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.1329, allocations: 29.7 kB / 380.8 MB, free: 9.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.133, allocations: 144.3 kB / 381 MB, free: 9.137 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.524e-05/0.1331, allocations: 94.64 kB / 381.1 MB, free: 9.043 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.237e-05/0.1332, allocations: 49.64 kB / 381.1 MB, free: 8.988 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1333, allocations: 330.8 kB / 381.4 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.1335, allocations: 63.97 kB / 381.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.1336, allocations: 116.2 kB / 381.6 MB, free: 8.465 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.134, allocations: 192.1 kB / 381.8 MB, free: 8.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.134, allocations: 0 / 381.8 MB, free: 8.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004139/0.1344, allocations: 245.2 kB / 382 MB, free: 8.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1345, allocations: 8.062 kB / 382 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1345, allocations: 4 kB / 382.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.1345, allocations: 4 kB / 382.1 MB, free: 8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.1348, allocations: 59.91 kB / 382.1 MB, free: 7.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.1348, allocations: 8.094 kB / 382.1 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.1349, allocations: 11.98 kB / 382.1 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.1349, allocations: 12 kB / 382.1 MB, free: 7.91 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.0001283/0.1351, allocations: 137.7 kB / 382.3 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.1351, allocations: 23.72 kB / 382.3 MB, free: 7.742 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.864e-05/0.1352, allocations: 29.86 kB / 382.3 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1352, allocations: 7.938 kB / 382.3 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.1352, allocations: 0 / 382.3 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1353, allocations: 0 / 382.3 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008904/0.1362, allocations: 0.5865 MB / 382.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1362, allocations: 4 kB / 382.9 MB, free: 7.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.1365, allocations: 59.91 kB / 383 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1365, allocations: 0 / 383 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.1365, allocations: 8.094 kB / 383 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.1365, allocations: 8 kB / 383 MB, free: 6.977 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.1365, allocations: 7.875 kB / 383 MB, free: 6.969 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007056/0.1372, allocations: 0.489 MB / 383.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.1373, allocations: 92.92 kB / 383.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.1373, allocations: 8 kB / 383.6 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.1375, allocations: 12.03 kB / 383.6 MB, free: 6.324 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.1376, allocations: 15.92 kB / 383.6 MB, free: 6.309 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.1376, allocations: 12 kB / 383.6 MB, free: 6.297 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1377, allocations: 136.3 kB / 383.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1377, allocations: 0 / 383.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003401/0.1381, allocations: 48 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.0001276/0.1382, allocations: 103.2 kB / 383.9 MB, free: 6.004 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004042/0.1386, allocations: 183.7 kB / 384.1 MB, free: 5.824 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1386, allocations: 0 / 384.1 MB, free: 5.824 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.1388, allocations: 104.1 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.0005033/0.1393, allocations: 37.94 kB / 384.2 MB, free: 5.688 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.1405, allocations: 0.676 MB / 384.9 MB, free: 4.973 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.1409, allocations: 0.748 MB / 385.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.141, allocations: 17.95 kB / 385.7 MB, free: 4.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.1411, allocations: 23.42 kB / 385.7 MB, free: 4.156 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1411, allocations: 4 kB / 385.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of Templates: time 0.005169/0.1463, allocations: 2.057 MB / 387.8 MB, free: 2.094 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)