Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.006969/0.006969, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001353/0.001353, allocations: 197.5 kB / 16.68 MB, free: 5.969 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.54/1.54, allocations: 205.1 MB / 222.6 MB, free: 4.539 MB / 174.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.001152/0.001152, allocations: 49.45 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1258, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.006653/0.1325, allocations: 3.493 MB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.1351, allocations: 0.9158 MB / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003301/0.1354, allocations: 11.94 kB / 377.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.1358, allocations: 79.22 kB / 377.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004391/0.1362, allocations: 150.6 kB / 377.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006623/0.1369, allocations: 151.7 kB / 378 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008167/0.1377, allocations: 0.5996 MB / 378.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004709/0.1382, allocations: 197.5 kB / 378.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004173/0.1386, allocations: 227.2 kB / 379 MB, free: 11.47 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003923/0.139, allocations: 270.9 kB / 379.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.876e-05/0.1392, allocations: 48 kB / 379.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1393, allocations: 52 kB / 379.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.1394, allocations: 123.6 kB / 379.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003056/0.1397, allocations: 270.7 kB / 379.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000862/0.1406, allocations: 0.5991 MB / 380.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1406, allocations: 3.938 kB / 380.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1406, allocations: 0 / 380.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.1407, allocations: 0 / 380.3 MB, free: 10.11 MB / 318.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.002277/0.143, allocations: 0.8609 MB / 381.2 MB, free: 9.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.143, allocations: 11.97 kB / 381.2 MB, free: 9.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.1432, allocations: 56.61 kB / 381.3 MB, free: 9.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000774/0.144, allocations: 339.4 kB / 381.6 MB, free: 8.762 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.694e-05/0.144, allocations: 37.38 kB / 381.6 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.1442, allocations: 44.33 kB / 381.7 MB, free: 8.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.1455, allocations: 462.6 kB / 382.1 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/0.1456, allocations: 0 / 382.1 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.604e-05/0.1456, allocations: 20 kB / 382.1 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.1457, allocations: 16 kB / 382.2 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.1471, allocations: 455.7 kB / 382.6 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00322/0.1504, allocations: 1.382 MB / 384 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.1516, allocations: 0.5412 MB / 384.5 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007993/0.1524, allocations: 374.9 kB / 384.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.801e-05/0.1525, allocations: 8.562 kB / 384.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.1525, allocations: 43.12 kB / 384.9 MB, free: 5.324 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.335e-06/0.1525, allocations: 0 / 384.9 MB, free: 5.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.009993/0.1625, allocations: 3.156 MB / 388.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.1626, allocations: 64.41 kB / 388.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.163, allocations: 247 kB / 388.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.31e-05/0.163, allocations: 37.7 kB / 388.4 MB, free: 1.719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.1632, allocations: 201.6 kB / 388.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003518/0.1636, allocations: 368.8 kB / 389 MB, free: 1.156 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.1638, allocations: 150.6 kB / 389.1 MB, free: 1 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.164, allocations: 358.8 kB / 389.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008723/0.1649, allocations: 273.8 kB / 389.8 MB, free: 384 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009949/0.1659, allocations: 349.4 kB / 390.1 MB, free: 28 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/0.1678, allocations: 0.6233 MB / 390.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1678, allocations: 0 / 390.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002225/0.1701, allocations: 0.7901 MB / 391.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.1701, allocations: 4 kB / 391.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.1701, allocations: 4 kB / 391.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/0.1702, allocations: 7.938 kB / 391.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.1714, allocations: 207.7 kB / 391.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.1715, allocations: 7.984 kB / 391.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005875/0.1721, allocations: 51.95 kB / 391.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.014e-05/0.1722, allocations: 28 kB / 391.8 MB, free: 14.3 MB / 334.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.0003248/0.1725, allocations: 193.6 kB / 392 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.1727, allocations: 59.61 kB / 392.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.1729, allocations: 77.33 kB / 392.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.173, allocations: 8 kB / 392.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.949e-05/0.173, allocations: 0 / 392.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.173, allocations: 3.984 kB / 392.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004561/0.1776, allocations: 1.976 MB / 394.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.1776, allocations: 8 kB / 394.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.179, allocations: 203.7 kB / 394.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/0.179, allocations: 8.594 kB / 394.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-05/0.1791, allocations: 35.92 kB / 394.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.397e-05/0.1791, allocations: 8 kB / 394.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/0.1791, allocations: 7.938 kB / 394.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003174/0.1823, allocations: 1.373 MB / 395.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.1825, allocations: 132.7 kB / 395.9 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.1826, allocations: 24.12 kB / 395.9 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005669/0.1832, allocations: 55.95 kB / 396 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.1834, allocations: 72.8 kB / 396 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/0.1835, allocations: 35.98 kB / 396.1 MB, free: 9.805 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002275/0.1837, allocations: 174 kB / 396.3 MB, free: 9.637 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1837, allocations: 3.938 kB / 396.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008186/0.1845, allocations: 152 kB / 396.4 MB, free: 9.484 MB / 334.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.0002201/0.1848, allocations: 147 kB / 396.5 MB, free: 9.332 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0021/0.1869, allocations: 0.7308 MB / 397.3 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/0.1869, allocations: 8 kB / 397.3 MB, free: 8.594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.1879, allocations: 446.6 kB / 397.7 MB, free: 8.164 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009672/0.1889, allocations: 124.5 kB / 397.8 MB, free: 8.039 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.1927, allocations: 1.534 MB / 399.4 MB, free: 6.418 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005697/0.1933, allocations: 0.8684 MB / 400.2 MB, free: 5.516 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000554/0.1938, allocations: 73 kB / 400.3 MB, free: 5.445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.1941, allocations: 63.41 kB / 400.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of SimCode: time 2.294e-06/0.1941, allocations: 0 / 400.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of Templates: time 0.01591/0.2101, allocations: 6.672 MB / 407.1 MB, free: 14.7 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1)