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.009353/0.009353, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.002148/0.002148, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.71/1.71, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001261/0.001262, allocations: 55.08 kB / 326.5 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1086, 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.005614/0.1143, allocations: 3.505 MB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.1165, allocations: 0.9158 MB / 377.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006357/0.1172, allocations: 11.94 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004102/0.1176, allocations: 79.22 kB / 377.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006145/0.1183, allocations: 150.6 kB / 377.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005992/0.1189, allocations: 163.7 kB / 378 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000653/0.1195, allocations: 0.5957 MB / 378.6 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003941/0.1199, allocations: 189.5 kB / 378.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004877/0.1204, allocations: 239.2 kB / 379 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.1208, allocations: 270.9 kB / 379.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.673e-05/0.1209, allocations: 48 kB / 379.3 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-05/0.121, allocations: 52 kB / 379.4 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.1211, allocations: 127.6 kB / 379.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002594/0.1214, allocations: 266.7 kB / 379.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006742/0.122, allocations: 0.5994 MB / 380.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1221, allocations: 0 / 380.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1221, allocations: 0 / 380.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1221, allocations: 0 / 380.3 MB, free: 10.09 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.001621/0.1237, allocations: 0.8458 MB / 381.2 MB, free: 9.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.1238, allocations: 12.03 kB / 381.2 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.1239, allocations: 52.38 kB / 381.3 MB, free: 9.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.1244, allocations: 331.2 kB / 381.6 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.594e-05/0.1245, allocations: 33.38 kB / 381.6 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-05/0.1246, allocations: 48.28 kB / 381.7 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009238/0.1255, allocations: 470.5 kB / 382.1 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.1255, allocations: 0 / 382.1 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.475e-05/0.1256, allocations: 23.98 kB / 382.1 MB, free: 8.199 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.1256, allocations: 12 kB / 382.2 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009583/0.1266, allocations: 451.7 kB / 382.6 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.129, allocations: 1.378 MB / 384 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.1301, allocations: 0.5517 MB / 384.5 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009406/0.131, allocations: 370.9 kB / 384.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-05/0.1311, allocations: 8.562 kB / 384.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/0.1312, allocations: 39.12 kB / 384.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 3.106e-06/0.1312, allocations: 0 / 384.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.007845/0.139, allocations: 3.136 MB / 388.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.1392, allocations: 64.41 kB / 388.1 MB, free: 2.035 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.1395, allocations: 247 kB / 388.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.271e-05/0.1396, allocations: 41.7 kB / 388.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.1397, allocations: 205.2 kB / 388.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/0.14, allocations: 346.8 kB / 389 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.1403, allocations: 150.6 kB / 389.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1404, allocations: 358.8 kB / 389.4 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/0.141, allocations: 273.8 kB / 389.7 MB, free: 420 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006558/0.1417, allocations: 349.4 kB / 390.1 MB, free: 64 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.1429, allocations: 0.6233 MB / 390.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.143, allocations: 0 / 390.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001479/0.1444, allocations: 0.7858 MB / 391.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.1445, allocations: 4 kB / 391.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.1445, allocations: 0 / 391.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.222e-05/0.1445, allocations: 15.92 kB / 391.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/0.1453, allocations: 211.8 kB / 391.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.448e-05/0.1454, allocations: 4 kB / 391.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/0.1457, allocations: 43.95 kB / 391.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/0.1458, allocations: 28 kB / 391.8 MB, free: 14.34 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.0002643/0.1461, allocations: 197.6 kB / 392 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.667e-05/0.1462, allocations: 51.44 kB / 392 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.1464, allocations: 77.33 kB / 392.1 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.1464, allocations: 12 kB / 392.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.1464, allocations: 0 / 392.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.1464, allocations: 3.984 kB / 392.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/0.1498, allocations: 1.972 MB / 394.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.1498, allocations: 8.125 kB / 394.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008047/0.1506, allocations: 207.7 kB / 394.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.896e-05/0.1507, allocations: 8 kB / 394.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/0.1507, allocations: 39.86 kB / 394.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/0.1508, allocations: 8 kB / 394.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/0.1508, allocations: 7.938 kB / 394.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.153, allocations: 1.369 MB / 395.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.1532, allocations: 132.6 kB / 395.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-05/0.1533, allocations: 23.94 kB / 395.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.1537, allocations: 51.95 kB / 395.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.1538, allocations: 72.8 kB / 396 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/0.1539, allocations: 35.98 kB / 396 MB, free: 9.852 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001933/0.1541, allocations: 170 kB / 396.2 MB, free: 9.688 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1541, allocations: 7.938 kB / 396.2 MB, free: 9.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005727/0.1547, allocations: 152 kB / 396.3 MB, free: 9.531 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.0001733/0.1549, allocations: 135 kB / 396.5 MB, free: 9.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.1563, allocations: 0.7308 MB / 397.2 MB, free: 8.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.1564, allocations: 8 kB / 397.2 MB, free: 8.652 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007593/0.1571, allocations: 442.3 kB / 397.6 MB, free: 8.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007742/0.1579, allocations: 141 kB / 397.8 MB, free: 8.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.1605, allocations: 1.512 MB / 399.3 MB, free: 6.488 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.1609, allocations: 0.8645 MB / 400.2 MB, free: 5.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002861/0.1612, allocations: 76.98 kB / 400.2 MB, free: 5.516 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.1614, allocations: 63.41 kB / 400.3 MB, free: 5.453 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1614, allocations: 4 kB / 400.3 MB, free: 5.449 MB / 334.1 MB Notification: Performance of Templates: time 0.01224/0.1736, allocations: 6.66 MB / 407 MB, free: 14.78 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)