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.001426/0.001427, allocations: 110.7 kB / 16.92 MB, free: 5.766 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.001394/0.001395, allocations: 191.3 kB / 17.85 MB, free: 5.172 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.619/1.619, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001282/0.001282, allocations: 51.94 kB / 280 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1156, allocations: 46.62 MB / 326.6 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005859/0.1216, allocations: 3.516 MB / 330.1 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.1235, allocations: 0.9082 MB / 331 MB, free: 20 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.1237, allocations: 11.94 kB / 331.1 MB, free: 8 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.124, allocations: 79.23 kB / 331.1 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.1243, allocations: 146.6 kB / 331.3 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.1248, allocations: 151.7 kB / 331.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006014/0.1254, allocations: 0.5996 MB / 332 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003775/0.1258, allocations: 189.5 kB / 332.2 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.1262, allocations: 235.2 kB / 332.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.1265, allocations: 274.9 kB / 332.7 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.536e-05/0.1266, allocations: 52 kB / 332.8 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.175e-05/0.1267, allocations: 52 kB / 332.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1269, allocations: 119.6 kB / 332.9 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.1271, allocations: 274.7 kB / 333.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005614/0.1277, allocations: 0.5841 MB / 333.8 MB, free: 13.28 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1277, allocations: 0 / 333.8 MB, free: 13.28 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1277, allocations: 0 / 333.8 MB, free: 13.28 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.1277, allocations: 0 / 333.8 MB, free: 13.28 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.001749/0.1295, allocations: 0.8459 MB / 334.6 MB, free: 12.38 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.1295, allocations: 11.97 kB / 334.6 MB, free: 12.37 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.1297, allocations: 56.28 kB / 334.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.1302, allocations: 331.2 kB / 335 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/0.1302, allocations: 33.38 kB / 335 MB, free: 11.92 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.34e-05/0.1303, allocations: 52.36 kB / 335.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009202/0.1313, allocations: 454.7 kB / 335.5 MB, free: 11.42 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.1313, allocations: 7.938 kB / 335.5 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.45e-05/0.1314, allocations: 20 kB / 335.6 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.1314, allocations: 12 kB / 335.6 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009804/0.1324, allocations: 455.7 kB / 336 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.1346, allocations: 1.382 MB / 337.4 MB, free: 9.488 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009346/0.1356, allocations: 0.5477 MB / 338 MB, free: 8.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007631/0.1364, allocations: 370.9 kB / 338.3 MB, free: 8.566 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/0.1364, allocations: 8.562 kB / 338.3 MB, free: 8.559 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1365, allocations: 39.12 kB / 338.4 MB, free: 8.512 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 2.304e-06/0.1365, allocations: 4 kB / 338.4 MB, free: 8.508 MB / 286.1 MB Notification: Performance of matching and sorting (n=103): time 0.007198/0.1437, allocations: 3.135 MB / 341.5 MB, free: 5.285 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.1437, allocations: 68.34 kB / 341.6 MB, free: 5.203 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.144, allocations: 254.9 kB / 341.8 MB, free: 4.945 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.144, allocations: 41.7 kB / 341.9 MB, free: 4.898 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.1442, allocations: 197.3 kB / 342 MB, free: 4.699 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.1444, allocations: 346.8 kB / 342.4 MB, free: 4.355 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.1446, allocations: 146.7 kB / 342.5 MB, free: 4.207 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1447, allocations: 362.8 kB / 342.9 MB, free: 3.844 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005842/0.1453, allocations: 273.8 kB / 343.2 MB, free: 3.578 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006492/0.146, allocations: 345.4 kB / 343.5 MB, free: 3.23 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.1472, allocations: 0.6273 MB / 344.1 MB, free: 2.598 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1472, allocations: 0 / 344.1 MB, free: 2.598 MB / 286.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001423/0.1486, allocations: 0.7819 MB / 344.9 MB, free: 1.809 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.1487, allocations: 4 kB / 344.9 MB, free: 1.805 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.1487, allocations: 4 kB / 344.9 MB, free: 1.801 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.1487, allocations: 8 kB / 344.9 MB, free: 1.793 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007661/0.1495, allocations: 211.7 kB / 345.1 MB, free: 1.586 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.1495, allocations: 4 kB / 345.1 MB, free: 1.582 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/0.1499, allocations: 51.95 kB / 345.2 MB, free: 1.531 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.394e-05/0.1499, allocations: 28 kB / 345.2 MB, free: 1.504 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.0002581/0.1502, allocations: 185.7 kB / 345.4 MB, free: 1.312 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1503, allocations: 59.34 kB / 345.4 MB, free: 1.254 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.1505, allocations: 85.27 kB / 345.5 MB, free: 1.172 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.1505, allocations: 8 kB / 345.5 MB, free: 1.164 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.1505, allocations: 0 / 345.5 MB, free: 1.164 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.1505, allocations: 7.969 kB / 345.5 MB, free: 1.156 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/0.1535, allocations: 2.002 MB / 347.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.1536, allocations: 4 kB / 347.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007755/0.1543, allocations: 199.7 kB / 347.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/0.1544, allocations: 12 kB / 347.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.486e-05/0.1544, allocations: 31.92 kB / 347.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.1544, allocations: 11.94 kB / 347.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.453e-06/0.1545, allocations: 8 kB / 347.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/0.1568, allocations: 1.372 MB / 349.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.1569, allocations: 128.5 kB / 349.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.157, allocations: 31.92 kB / 349.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.1574, allocations: 39.97 kB / 349.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.1575, allocations: 80.78 kB / 349.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.1575, allocations: 28 kB / 349.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002084/0.1578, allocations: 182 kB / 349.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1578, allocations: 0 / 349.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004873/0.1583, allocations: 156 kB / 349.8 MB, free: 12.68 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.0001654/0.1584, allocations: 131 kB / 349.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.1603, allocations: 0.7697 MB / 350.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1603, allocations: 4 kB / 350.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007629/0.1611, allocations: 441.6 kB / 351.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007102/0.1618, allocations: 130.5 kB / 351.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.1644, allocations: 1.539 MB / 352.8 MB, free: 9.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.1648, allocations: 0.8606 MB / 353.7 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002839/0.1651, allocations: 80.97 kB / 353.7 MB, free: 8.621 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.1653, allocations: 55.42 kB / 353.8 MB, free: 8.566 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1653, allocations: 0 / 353.8 MB, free: 8.566 MB / 302.1 MB Notification: Performance of Templates: time 0.01112/0.1764, allocations: 6.517 MB / 360.3 MB, free: 2.051 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)