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.0008408/0.0008408, allocations: 95.88 kB / 16.3 MB, free: 6.121 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.0009705/0.0009705, allocations: 181.8 kB / 17.2 MB, free: 6.004 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.542/1.542, allocations: 205.4 MB / 223.3 MB, free: 13.19 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.0005265/0.0005268, allocations: 15.42 kB / 280.1 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1181, allocations: 47.58 MB / 327.7 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005237/0.1234, allocations: 2.821 MB / 330.5 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002682/0.1261, allocations: 0.9089 MB / 331.4 MB, free: 356 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.1272, allocations: 11.94 kB / 331.4 MB, free: 344 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005428/0.1278, allocations: 51.53 kB / 331.5 MB, free: 292 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.1294, allocations: 171.5 kB / 331.7 MB, free: 120 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.1306, allocations: 111.8 kB / 331.8 MB, free: 8 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.1323, allocations: 407.7 kB / 332.2 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000591/0.1329, allocations: 154 kB / 332.3 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005898/0.1335, allocations: 203.2 kB / 332.5 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006517/0.1341, allocations: 231 kB / 332.7 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.1344, allocations: 32 kB / 332.8 MB, free: 15 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.1346, allocations: 28 kB / 332.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.1347, allocations: 87.66 kB / 332.9 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.135, allocations: 113.5 kB / 333 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007092/0.1357, allocations: 434.9 kB / 333.4 MB, free: 14.35 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1357, allocations: 0 / 333.4 MB, free: 14.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1357, allocations: 0 / 333.4 MB, free: 14.35 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.798e-05/0.1358, allocations: 0 / 333.4 MB, free: 14.35 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.002596/0.1384, allocations: 0.7952 MB / 334.2 MB, free: 13.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.978e-05/0.1385, allocations: 12.03 kB / 334.2 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003292/0.1388, allocations: 55.34 kB / 334.3 MB, free: 13.44 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008143/0.1397, allocations: 322.1 kB / 334.6 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/0.1398, allocations: 37 kB / 334.6 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.14, allocations: 51.84 kB / 334.7 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.1416, allocations: 462.4 kB / 335.1 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/0.1417, allocations: 11.98 kB / 335.1 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.825e-05/0.1417, allocations: 20 kB / 335.2 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.1418, allocations: 8 kB / 335.2 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.1434, allocations: 495.7 kB / 335.7 MB, free: 12.01 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.1468, allocations: 1.386 MB / 337 MB, free: 10.56 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.1483, allocations: 0.5518 MB / 337.6 MB, free: 10 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.998e-05/0.1484, allocations: 16.5 kB / 337.6 MB, free: 9.988 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.1484, allocations: 43.12 kB / 337.6 MB, free: 9.938 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 3.406e-06/0.1485, allocations: 0 / 337.6 MB, free: 9.938 MB / 286.1 MB Notification: Performance of matching and sorting (n=103): time 0.01069/0.1592, allocations: 3.27 MB / 340.9 MB, free: 6.582 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.1593, allocations: 64.41 kB / 341 MB, free: 6.508 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.1597, allocations: 243 kB / 341.2 MB, free: 6.262 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.422e-05/0.1598, allocations: 45.7 kB / 341.3 MB, free: 6.211 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.16, allocations: 205.2 kB / 341.5 MB, free: 6.004 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003703/0.1604, allocations: 350.8 kB / 341.8 MB, free: 5.656 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.1604, allocations: 16 kB / 341.8 MB, free: 5.641 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.1606, allocations: 362.8 kB / 342.2 MB, free: 5.277 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008455/0.1615, allocations: 285.8 kB / 342.5 MB, free: 4.996 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009567/0.1625, allocations: 357.4 kB / 342.8 MB, free: 4.641 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009324/0.1634, allocations: 318.9 kB / 343.1 MB, free: 4.332 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1634, allocations: 0 / 343.1 MB, free: 4.332 MB / 286.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002262/0.1657, allocations: 0.8055 MB / 343.9 MB, free: 3.516 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.1657, allocations: 8 kB / 343.9 MB, free: 3.508 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.1658, allocations: 0 / 343.9 MB, free: 3.508 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.1658, allocations: 7.938 kB / 343.9 MB, free: 3.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.167, allocations: 227.6 kB / 344.2 MB, free: 3.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.493e-05/0.1671, allocations: 4 kB / 344.2 MB, free: 3.273 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006289/0.1677, allocations: 59.95 kB / 344.2 MB, free: 3.215 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-05/0.1678, allocations: 31.98 kB / 344.3 MB, free: 3.184 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.0003902/0.1682, allocations: 189.7 kB / 344.4 MB, free: 2.988 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.1684, allocations: 51.44 kB / 344.5 MB, free: 2.938 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.1686, allocations: 73.39 kB / 344.6 MB, free: 2.867 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.1687, allocations: 8 kB / 344.6 MB, free: 2.859 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.067e-05/0.1687, allocations: 3.953 kB / 344.6 MB, free: 2.855 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.1687, allocations: 11.98 kB / 344.6 MB, free: 2.844 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00522/0.174, allocations: 2.03 MB / 346.6 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.174, allocations: 4.062 kB / 346.6 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.1753, allocations: 215.6 kB / 346.8 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-05/0.1754, allocations: 12 kB / 346.8 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.1755, allocations: 27.98 kB / 346.9 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.366e-05/0.1755, allocations: 11.94 kB / 346.9 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/0.1756, allocations: 8 kB / 346.9 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003649/0.1792, allocations: 1.634 MB / 348.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.1795, allocations: 128.5 kB / 348.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.1796, allocations: 24.06 kB / 348.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007425/0.1804, allocations: 67.91 kB / 348.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.1806, allocations: 72.81 kB / 348.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.988e-05/0.1807, allocations: 35.98 kB / 348.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002635/0.1809, allocations: 174 kB / 349 MB, free: 14.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1809, allocations: 0 / 349 MB, free: 14.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009337/0.1819, allocations: 156 kB / 349.2 MB, free: 13.94 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.0002527/0.1822, allocations: 127.1 kB / 349.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002296/0.1845, allocations: 0.7504 MB / 350 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.1845, allocations: 0 / 350 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.1857, allocations: 466.6 kB / 350.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008941/0.1867, allocations: 96.19 kB / 350.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.1906, allocations: 1.836 MB / 352.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.1911, allocations: 0.8774 MB / 353.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003363/0.1915, allocations: 80.97 kB / 353.4 MB, free: 9.598 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.1917, allocations: 55.42 kB / 353.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1917, allocations: 0 / 353.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of Templates: time 0.01534/0.207, allocations: 5.732 MB / 359.2 MB, free: 3.816 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: