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.0009109/0.000911, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.00107/0.00107, allocations: 177 kB / 17.56 MB, free: 6.18 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.572/1.572, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.00058/0.0005801, allocations: 12.94 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1084, allocations: 47.58 MB / 328.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.0035/0.1119, allocations: 3.161 MB / 331.5 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1134, allocations: 0.8928 MB / 332.4 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.1136, allocations: 8 kB / 332.4 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.1138, allocations: 59.53 kB / 332.4 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.114, allocations: 126.9 kB / 332.6 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.1144, allocations: 123.9 kB / 332.7 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005509/0.115, allocations: 0.5762 MB / 333.3 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.1153, allocations: 158.4 kB / 333.4 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.1156, allocations: 207.1 kB / 333.6 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.1158, allocations: 250.9 kB / 333.9 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.654e-05/0.1159, allocations: 24 kB / 333.9 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.391e-05/0.116, allocations: 28 kB / 333.9 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.311e-05/0.1161, allocations: 91.59 kB / 334 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.1163, allocations: 264.4 kB / 334.3 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004988/0.1168, allocations: 0.5527 MB / 334.8 MB, free: 13.22 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1168, allocations: 3.938 kB / 334.8 MB, free: 13.22 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1169, allocations: 0 / 334.8 MB, free: 13.22 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1169, allocations: 4 kB / 334.8 MB, free: 13.21 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.001483/0.1184, allocations: 0.7837 MB / 335.6 MB, free: 12.38 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1184, allocations: 12.03 kB / 335.6 MB, free: 12.37 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.323e-05/0.1185, allocations: 56.28 kB / 335.7 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.1189, allocations: 331.2 kB / 336 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.579e-05/0.1189, allocations: 37.38 kB / 336 MB, free: 11.92 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.742e-05/0.119, allocations: 56.27 kB / 336.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009115/0.1199, allocations: 470.7 kB / 336.5 MB, free: 11.4 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.12, allocations: 4 kB / 336.5 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.12, allocations: 23.94 kB / 336.6 MB, free: 11.37 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.12, allocations: 8 kB / 336.6 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.1211, allocations: 495.7 kB / 337.1 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.1233, allocations: 1.401 MB / 338.5 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000975/0.1243, allocations: 0.5597 MB / 339 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007835/0.1251, allocations: 386.9 kB / 339.4 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.1251, allocations: 16.55 kB / 339.4 MB, free: 8.449 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1251, allocations: 39.12 kB / 339.5 MB, free: 8.402 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 2.024e-06/0.1252, allocations: 0 / 339.5 MB, free: 8.402 MB / 286.1 MB Notification: Performance of matching and sorting (n=103): time 0.007327/0.1325, allocations: 3.291 MB / 342.7 MB, free: 5.023 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.1326, allocations: 68.34 kB / 342.8 MB, free: 4.945 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.1328, allocations: 262.9 kB / 343.1 MB, free: 4.676 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.1329, allocations: 37.7 kB / 343.1 MB, free: 4.633 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.133, allocations: 197.3 kB / 343.3 MB, free: 4.434 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.1333, allocations: 350.8 kB / 343.6 MB, free: 4.086 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.1334, allocations: 77.67 kB / 343.7 MB, free: 4.004 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.1336, allocations: 362.8 kB / 344.1 MB, free: 3.641 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006639/0.1343, allocations: 293.8 kB / 344.4 MB, free: 3.355 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/0.1349, allocations: 365.4 kB / 344.7 MB, free: 2.988 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.1362, allocations: 0.6625 MB / 345.4 MB, free: 2.32 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1362, allocations: 0 / 345.4 MB, free: 2.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001569/0.1378, allocations: 0.8172 MB / 346.2 MB, free: 1.492 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.1378, allocations: 8 kB / 346.2 MB, free: 1.484 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.1378, allocations: 4 kB / 346.2 MB, free: 1.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/0.1379, allocations: 11.94 kB / 346.2 MB, free: 1.469 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008244/0.1387, allocations: 215.8 kB / 346.4 MB, free: 1.258 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.1387, allocations: 7.938 kB / 346.4 MB, free: 1.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/0.1391, allocations: 63.94 kB / 346.5 MB, free: 1.188 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.1392, allocations: 28 kB / 346.5 MB, free: 1.16 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 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002671/0.1395, allocations: 185.7 kB / 346.7 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.52e-05/0.1396, allocations: 59.28 kB / 346.8 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.1398, allocations: 81.33 kB / 346.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.1398, allocations: 16 kB / 346.9 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.1398, allocations: 3.938 kB / 346.9 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/0.1398, allocations: 7.969 kB / 346.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00338/0.1432, allocations: 2.022 MB / 348.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.1432, allocations: 4 kB / 348.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007949/0.144, allocations: 215.7 kB / 349.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/0.1441, allocations: 8 kB / 349.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.407e-05/0.1441, allocations: 31.92 kB / 349.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/0.1441, allocations: 12.03 kB / 349.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1442, allocations: 11.94 kB / 349.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.1464, allocations: 1.426 MB / 350.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.1466, allocations: 120.5 kB / 350.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-05/0.1467, allocations: 35.98 kB / 350.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.1471, allocations: 55.97 kB / 350.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.1472, allocations: 80.77 kB / 350.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.1473, allocations: 31.98 kB / 350.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.1475, allocations: 178 kB / 351.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1475, allocations: 0 / 351.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005347/0.148, allocations: 152 kB / 351.2 MB, free: 12.23 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 (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.0001749/0.1482, allocations: 135 kB / 351.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.1496, allocations: 0.7621 MB / 352.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1497, allocations: 0 / 352.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007807/0.1504, allocations: 470.6 kB / 352.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009123/0.1514, allocations: 116.8 kB / 352.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.1541, allocations: 1.887 MB / 354.6 MB, free: 8.777 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.1545, allocations: 0.8726 MB / 355.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003195/0.1549, allocations: 72.98 kB / 355.5 MB, free: 7.805 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.1551, allocations: 67.34 kB / 355.6 MB, free: 7.738 MB / 302.1 MB Notification: Performance of SimCode: time 1.613e-06/0.1551, allocations: 0 / 355.6 MB, free: 7.738 MB / 302.1 MB Notification: Performance of Templates: time 0.01147/0.1665, allocations: 5.986 MB / 361.6 MB, free: 1.762 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)