Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.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.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001164, allocations: 88.16 kB / 16.31 MB, free: 5.555 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.001077/0.001077, allocations: 180.4 kB / 17.21 MB, free: 5.473 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.559/1.559, allocations: 205.4 MB / 223.4 MB, free: 13.06 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.0004458/0.0004458, allocations: 12 kB / 280.1 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09309/0.09355, allocations: 47.58 MB / 327.7 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003726/0.09732, allocations: 2.999 MB / 330.7 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.09875, allocations: 0.8736 MB / 331.6 MB, free: 172 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.09895, allocations: 11.94 kB / 331.6 MB, free: 160 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.09913, allocations: 59.53 kB / 331.7 MB, free: 100 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.09938, allocations: 127 kB / 331.8 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.09976, allocations: 107.7 kB / 331.9 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005675/0.1003, allocations: 0.5528 MB / 332.4 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003303/0.1007, allocations: 158 kB / 332.6 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.101, allocations: 187.3 kB / 332.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.1013, allocations: 239 kB / 333 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/0.1014, allocations: 28 kB / 333 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.573e-05/0.1014, allocations: 28 kB / 333.1 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.885e-05/0.1015, allocations: 91.66 kB / 333.2 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1016, allocations: 113.4 kB / 333.3 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004527/0.1021, allocations: 431 kB / 333.7 MB, free: 14.06 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1021, allocations: 0 / 333.7 MB, free: 14.06 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1021, allocations: 4 kB / 333.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1022, allocations: 4 kB / 333.7 MB, free: 14.05 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001471/0.1036, allocations: 0.7913 MB / 334.5 MB, free: 13.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1037, allocations: 12.03 kB / 334.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.729e-05/0.1038, allocations: 55.34 kB / 334.6 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.1042, allocations: 322.1 kB / 334.9 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.367e-05/0.1042, allocations: 37 kB / 334.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.222e-05/0.1043, allocations: 47.91 kB / 335 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008712/0.1052, allocations: 466.4 kB / 335.4 MB, free: 12.24 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.1052, allocations: 3.984 kB / 335.4 MB, free: 12.24 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.034e-05/0.1053, allocations: 20 kB / 335.4 MB, free: 12.22 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.1053, allocations: 12 kB / 335.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009888/0.1063, allocations: 499.6 kB / 335.9 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.1086, allocations: 1.386 MB / 337.3 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009791/0.1096, allocations: 0.5597 MB / 337.9 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007417/0.1104, allocations: 390.9 kB / 338.3 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.619e-05/0.1104, allocations: 16.48 kB / 338.3 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.1105, allocations: 39.12 kB / 338.3 MB, free: 9.254 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 1.974e-06/0.1105, allocations: 0 / 338.3 MB, free: 9.254 MB / 286.1 MB Notification: Performance of matching and sorting (n=103): time 0.006945/0.1174, allocations: 3.278 MB / 341.6 MB, free: 5.895 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.1175, allocations: 64.39 kB / 341.7 MB, free: 5.82 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.1177, allocations: 255 kB / 341.9 MB, free: 5.555 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.1178, allocations: 45.7 kB / 342 MB, free: 5.504 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.1179, allocations: 193.2 kB / 342.1 MB, free: 5.309 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/0.1182, allocations: 354.8 kB / 342.5 MB, free: 4.957 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.1182, allocations: 16 kB / 342.5 MB, free: 4.941 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1184, allocations: 362.8 kB / 342.9 MB, free: 4.578 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005963/0.119, allocations: 297.8 kB / 343.1 MB, free: 4.285 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006233/0.1196, allocations: 357.4 kB / 343.5 MB, free: 3.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006202/0.1202, allocations: 322.9 kB / 343.8 MB, free: 3.617 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1203, allocations: 0 / 343.8 MB, free: 3.617 MB / 286.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001453/0.1217, allocations: 0.8132 MB / 344.6 MB, free: 2.793 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1217, allocations: 4 kB / 344.6 MB, free: 2.789 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1218, allocations: 0 / 344.6 MB, free: 2.789 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1218, allocations: 11.95 kB / 344.6 MB, free: 2.777 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007741/0.1226, allocations: 219.7 kB / 344.9 MB, free: 2.562 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.1226, allocations: 4 kB / 344.9 MB, free: 2.559 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.1229, allocations: 59.95 kB / 344.9 MB, free: 2.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/0.123, allocations: 28 kB / 344.9 MB, free: 2.473 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000235/0.1232, allocations: 193.7 kB / 345.1 MB, free: 2.273 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.156e-05/0.1233, allocations: 51.44 kB / 345.2 MB, free: 2.223 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.1235, allocations: 73.39 kB / 345.3 MB, free: 2.152 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.1235, allocations: 16 kB / 345.3 MB, free: 2.137 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.1235, allocations: 3.953 kB / 345.3 MB, free: 2.133 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.1235, allocations: 7.969 kB / 345.3 MB, free: 2.125 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/0.1265, allocations: 2.03 MB / 347.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.1265, allocations: 4 kB / 347.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007778/0.1273, allocations: 215.6 kB / 347.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.1273, allocations: 8 kB / 347.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.952e-05/0.1274, allocations: 27.98 kB / 347.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.1274, allocations: 12.12 kB / 347.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.1274, allocations: 7.938 kB / 347.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/0.1297, allocations: 1.426 MB / 349 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.1298, allocations: 120.5 kB / 349.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.241e-05/0.1299, allocations: 28.06 kB / 349.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/0.1303, allocations: 55.97 kB / 349.2 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.1304, allocations: 76.8 kB / 349.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/0.1305, allocations: 36.11 kB / 349.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.1306, allocations: 174 kB / 349.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1306, allocations: 3.938 kB / 349.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005019/0.1312, allocations: 152 kB / 349.6 MB, free: 13.57 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001739/0.1313, allocations: 142.9 kB / 349.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.1328, allocations: 0.7582 MB / 350.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1328, allocations: 0 / 350.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007888/0.1336, allocations: 462.7 kB / 351 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007764/0.1344, allocations: 116.7 kB / 351.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.1368, allocations: 1.833 MB / 352.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.1373, allocations: 0.8687 MB / 353.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003128/0.1376, allocations: 80.97 kB / 353.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.1378, allocations: 59.42 kB / 353.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of SimCode: time 9.61e-07/0.1378, allocations: 0 / 353.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of Templates: time 0.0105/0.1483, allocations: 5.76 MB / 359.7 MB, free: 3.383 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1)