Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.008318/0.008318, allocations: 102 kB / 15.73 MB, free: 6.043 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.001592/0.001592, allocations: 195 kB / 16.67 MB, free: 5.965 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.68/1.68, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001836/0.001836, allocations: 53.17 kB / 326.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1276, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004724/0.1324, allocations: 3.512 MB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.1341, allocations: 0.9081 MB / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.1343, allocations: 11.94 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.1346, allocations: 83.16 kB / 377.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.1349, allocations: 142.7 kB / 377.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.1354, allocations: 163.7 kB / 378 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006508/0.1361, allocations: 0.5918 MB / 378.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.1365, allocations: 193.5 kB / 378.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.1368, allocations: 235.2 kB / 379 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.1371, allocations: 274.9 kB / 379.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.1372, allocations: 52 kB / 379.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.261e-05/0.1373, allocations: 51.94 kB / 379.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1374, allocations: 119.6 kB / 379.5 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.1376, allocations: 270.7 kB / 379.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005759/0.1382, allocations: 0.5956 MB / 380.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1382, allocations: 3.938 kB / 380.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1383, allocations: 0 / 380.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1383, allocations: 3.984 kB / 380.3 MB, free: 10.1 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.001565/0.1398, allocations: 0.8458 MB / 381.2 MB, free: 9.207 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1399, allocations: 8.031 kB / 381.2 MB, free: 9.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.14, allocations: 52.38 kB / 381.2 MB, free: 9.148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.1405, allocations: 331.2 kB / 381.6 MB, free: 8.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.438e-05/0.1405, allocations: 37.38 kB / 381.6 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.106e-05/0.1406, allocations: 56.27 kB / 381.7 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008496/0.1415, allocations: 454.7 kB / 382.1 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.1415, allocations: 4 kB / 382.1 MB, free: 8.234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.39e-05/0.1415, allocations: 16 kB / 382.1 MB, free: 8.219 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1416, allocations: 12 kB / 382.1 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009901/0.1425, allocations: 459.7 kB / 382.6 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.1448, allocations: 1.378 MB / 384 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009435/0.1457, allocations: 0.5439 MB / 384.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007902/0.1465, allocations: 378.9 kB / 384.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.1466, allocations: 8.547 kB / 384.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.1466, allocations: 43.06 kB / 384.9 MB, free: 5.336 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.324e-06/0.1466, allocations: 0 / 384.9 MB, free: 5.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.007211/0.1538, allocations: 3.127 MB / 388.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.1539, allocations: 68.41 kB / 388.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.1542, allocations: 251 kB / 388.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.1543, allocations: 41.7 kB / 388.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1544, allocations: 201.2 kB / 388.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.1546, allocations: 346.8 kB / 388.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.1548, allocations: 146.7 kB / 389.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.155, allocations: 358.8 kB / 389.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005487/0.1555, allocations: 277.8 kB / 389.7 MB, free: 432 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005959/0.1561, allocations: 349.3 kB / 390 MB, free: 76 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.1573, allocations: 0.6234 MB / 390.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1573, allocations: 0 / 390.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001361/0.1587, allocations: 0.7819 MB / 391.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1587, allocations: 8 kB / 391.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.1587, allocations: 0 / 391.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.1587, allocations: 7.938 kB / 391.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007709/0.1595, allocations: 219.8 kB / 391.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.1595, allocations: 4 kB / 391.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.1599, allocations: 47.95 kB / 391.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/0.1599, allocations: 28 kB / 391.8 MB, free: 14.35 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.0002253/0.1602, allocations: 189.7 kB / 391.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.052e-05/0.1603, allocations: 55.38 kB / 392 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.1605, allocations: 81.33 kB / 392.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.1605, allocations: 8 kB / 392.1 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.1605, allocations: 0 / 392.1 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.1605, allocations: 7.969 kB / 392.1 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/0.1634, allocations: 1.976 MB / 394.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.1634, allocations: 8.125 kB / 394.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000776/0.1642, allocations: 199.7 kB / 394.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.1642, allocations: 8 kB / 394.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.1643, allocations: 35.92 kB / 394.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.1643, allocations: 8 kB / 394.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.1643, allocations: 7.938 kB / 394.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.1665, allocations: 1.369 MB / 395.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.1667, allocations: 128.6 kB / 395.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.029e-05/0.1667, allocations: 27.92 kB / 395.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.1671, allocations: 43.97 kB / 395.9 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.1673, allocations: 80.78 kB / 396 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.1673, allocations: 31.98 kB / 396 MB, free: 9.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.1675, allocations: 178 kB / 396.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1675, allocations: 7.875 kB / 396.2 MB, free: 9.691 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005081/0.168, allocations: 156 kB / 396.3 MB, free: 9.539 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.0001674/0.1682, allocations: 127.1 kB / 396.5 MB, free: 9.406 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.1696, allocations: 0.7425 MB / 397.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.1696, allocations: 4 kB / 397.2 MB, free: 8.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007532/0.1704, allocations: 446.3 kB / 397.6 MB, free: 8.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000754/0.1711, allocations: 133.1 kB / 397.8 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.1738, allocations: 1.52 MB / 399.3 MB, free: 6.492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.1744, allocations: 0.8645 MB / 400.2 MB, free: 5.594 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003212/0.1747, allocations: 76.97 kB / 400.2 MB, free: 5.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.1749, allocations: 55.42 kB / 400.3 MB, free: 5.465 MB / 334.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1749, allocations: 4 kB / 400.3 MB, free: 5.461 MB / 334.1 MB Notification: Performance of Templates: time 0.0116/0.1865, allocations: 6.656 MB / 407 MB, free: 14.79 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1)