Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.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.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 115.2 kB / 16.63 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.001407/0.001407, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.436/1.436, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001127/0.001127, allocations: 44.39 kB / 279.5 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1083, allocations: 46.63 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.0038/0.1122, allocations: 2.458 MB / 328.6 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005062/0.1127, allocations: 235.1 kB / 328.8 MB, free: 2.086 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.1128, allocations: 7.938 kB / 328.8 MB, free: 2.078 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.113, allocations: 31.77 kB / 328.9 MB, free: 2.047 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.1132, allocations: 71.41 kB / 328.9 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.1134, allocations: 47.94 kB / 329 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.1137, allocations: 290.7 kB / 329.3 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.1139, allocations: 93.67 kB / 329.3 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.823e-05/0.114, allocations: 107.6 kB / 329.5 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.1141, allocations: 123.5 kB / 329.6 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.1142, allocations: 24 kB / 329.6 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.784e-05/0.1142, allocations: 24 kB / 329.6 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.1143, allocations: 47.84 kB / 329.7 MB, free: 1.234 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.1144, allocations: 135.3 kB / 329.8 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.1147, allocations: 291.2 kB / 330.1 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1147, allocations: 0 / 330.1 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1147, allocations: 0 / 330.1 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.1147, allocations: 4 kB / 330.1 MB, free: 0.8125 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008064/0.1155, allocations: 0.5381 MB / 330.6 MB, free: 228 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.1156, allocations: 12.03 kB / 330.6 MB, free: 216 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.423e-05/0.1157, allocations: 24.66 kB / 330.7 MB, free: 192 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.116, allocations: 252.4 kB / 330.9 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.1161, allocations: 16.94 kB / 330.9 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/0.1161, allocations: 24.38 kB / 330.9 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004333/0.1166, allocations: 248 kB / 331.2 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.1166, allocations: 8.094 kB / 331.2 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.1166, allocations: 11.94 kB / 331.2 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.1166, allocations: 8 kB / 331.2 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.1169, allocations: 151.9 kB / 331.4 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009987/0.1179, allocations: 0.8047 MB / 332.2 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.1184, allocations: 299.7 kB / 332.5 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.1186, allocations: 130.5 kB / 332.6 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.1186, allocations: 4 kB / 332.6 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.1187, allocations: 46.5 kB / 332.6 MB, free: 14.05 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.1187, allocations: 0 / 332.6 MB, free: 14.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.0026/0.1213, allocations: 1.93 MB / 334.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.1214, allocations: 110.8 kB / 334.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.1216, allocations: 194.6 kB / 334.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.1216, allocations: 37.64 kB / 334.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.213e-05/0.1217, allocations: 145.5 kB / 335 MB, free: 11.32 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.1218, allocations: 157.7 kB / 335.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-05/0.1219, allocations: 74.12 kB / 335.3 MB, free: 11.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.122, allocations: 334.8 kB / 335.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1222, allocations: 88.84 kB / 335.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.1223, allocations: 162.3 kB / 335.8 MB, free: 10.48 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.1227, allocations: 282.2 kB / 336.1 MB, free: 10.19 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1227, allocations: 0 / 336.1 MB, free: 10.19 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004527/0.1231, allocations: 341 kB / 336.5 MB, free: 9.848 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.1232, allocations: 15.38 kB / 336.5 MB, free: 9.836 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1232, allocations: 7.875 kB / 336.5 MB, free: 9.828 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.1232, allocations: 4 kB / 336.5 MB, free: 9.824 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.1235, allocations: 91.84 kB / 336.6 MB, free: 9.734 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.1235, allocations: 0 / 336.6 MB, free: 9.734 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.839e-05/0.1236, allocations: 15.98 kB / 336.6 MB, free: 9.719 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.1237, allocations: 16 kB / 336.6 MB, free: 9.703 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0001433/0.1238, allocations: 153.8 kB / 336.8 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.88e-05/0.1239, allocations: 35.59 kB / 336.8 MB, free: 9.508 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.481e-05/0.124, allocations: 33.88 kB / 336.8 MB, free: 9.477 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.124, allocations: 7.984 kB / 336.8 MB, free: 9.469 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.124, allocations: 4 kB / 336.8 MB, free: 9.465 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.124, allocations: 0 / 336.8 MB, free: 9.465 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.1253, allocations: 1.05 MB / 337.9 MB, free: 8.328 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1253, allocations: 7.938 kB / 337.9 MB, free: 8.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.1256, allocations: 91.83 kB / 338 MB, free: 8.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.1257, allocations: 7.938 kB / 338 MB, free: 8.223 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.1257, allocations: 12 kB / 338 MB, free: 8.211 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.1257, allocations: 4 kB / 338 MB, free: 8.207 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1257, allocations: 4.281 kB / 338 MB, free: 8.203 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006622/0.1264, allocations: 0.7247 MB / 338.7 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.658e-05/0.1265, allocations: 104.9 kB / 338.8 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.1265, allocations: 16.05 kB / 338.8 MB, free: 7.301 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.1267, allocations: 12 kB / 338.9 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.1268, allocations: 39.91 kB / 338.9 MB, free: 7.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.1268, allocations: 8 kB / 338.9 MB, free: 7.242 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.63e-05/0.1269, allocations: 140.2 kB / 339 MB, free: 7.105 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1269, allocations: 0 / 339 MB, free: 7.105 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003916/0.1273, allocations: 79.94 kB / 339.1 MB, free: 7.027 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.00011/0.1274, allocations: 115.1 kB / 339.2 MB, free: 6.906 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004413/0.1278, allocations: 287.6 kB / 339.5 MB, free: 6.625 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1279, allocations: 0 / 339.5 MB, free: 6.625 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.128, allocations: 147.7 kB / 339.7 MB, free: 6.48 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007078/0.1288, allocations: 71.44 kB / 339.7 MB, free: 6.414 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.1301, allocations: 1.01 MB / 340.7 MB, free: 5.344 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.1305, allocations: 0.7757 MB / 341.5 MB, free: 4.535 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.1306, allocations: 34.95 kB / 341.5 MB, free: 4.504 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.006e-05/0.1307, allocations: 31.44 kB / 341.6 MB, free: 4.473 MB / 286.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1307, allocations: 0 / 341.6 MB, free: 4.473 MB / 286.1 MB Notification: Performance of Templates: time 0.006273/0.137, allocations: 2.964 MB / 344.5 MB, free: 1.512 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1)