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.006025/0.006025, allocations: 100.2 kB / 15.73 MB, free: 6.031 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.001262/0.001262, allocations: 187.7 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.572/1.572, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.001132/0.001132, allocations: 46.56 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1138, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004957/0.1188, allocations: 3.501 MB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1203, allocations: 0.9119 MB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.1205, allocations: 15.94 kB / 377.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.1207, allocations: 83.16 kB / 377.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.121, allocations: 142.7 kB / 377.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.1214, allocations: 155.7 kB / 378 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005985/0.122, allocations: 0.5957 MB / 378.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003248/0.1224, allocations: 189.5 kB / 378.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002793/0.1227, allocations: 239.2 kB / 379 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003162/0.123, allocations: 274.9 kB / 379.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.308e-05/0.1231, allocations: 52 kB / 379.3 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.656e-05/0.1232, allocations: 56 kB / 379.4 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.1233, allocations: 119.6 kB / 379.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.1235, allocations: 266.7 kB / 379.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005361/0.124, allocations: 0.5955 MB / 380.3 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1241, allocations: 3.938 kB / 380.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.1241, allocations: 4 kB / 380.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1241, 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.00158/0.1257, allocations: 0.8458 MB / 381.2 MB, free: 9.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.1257, allocations: 16.02 kB / 381.2 MB, free: 9.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.1258, allocations: 52.38 kB / 381.2 MB, free: 9.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/0.1263, allocations: 331.2 kB / 381.6 MB, free: 8.762 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.223e-05/0.1263, allocations: 29.38 kB / 381.6 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.871e-05/0.1264, allocations: 52.28 kB / 381.7 MB, free: 8.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008604/0.1273, allocations: 458.7 kB / 382.1 MB, free: 8.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.1273, allocations: 4 kB / 382.1 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/0.1274, allocations: 20 kB / 382.1 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.1274, allocations: 12 kB / 382.1 MB, free: 8.191 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009798/0.1284, allocations: 455.7 kB / 382.6 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002243/0.1306, allocations: 1.378 MB / 384 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009131/0.1316, allocations: 0.5567 MB / 384.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000816/0.1324, allocations: 370.9 kB / 384.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.185e-05/0.1325, allocations: 8.562 kB / 384.9 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.1325, allocations: 43.11 kB / 384.9 MB, free: 5.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 1.854e-06/0.1325, allocations: 0 / 384.9 MB, free: 5.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.006971/0.1395, allocations: 3.135 MB / 388.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.1396, allocations: 60.41 kB / 388.1 MB, free: 2.031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.1398, allocations: 251 kB / 388.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.1399, allocations: 41.7 kB / 388.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.14, allocations: 201.2 kB / 388.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.1402, allocations: 350.8 kB / 388.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.1404, allocations: 142.7 kB / 389.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1406, allocations: 366.8 kB / 389.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000554/0.1411, allocations: 269.8 kB / 389.7 MB, free: 416 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005938/0.1417, allocations: 353.3 kB / 390.1 MB, free: 56 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.1429, allocations: 0.6235 MB / 390.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1429, allocations: 0 / 390.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001386/0.1443, allocations: 0.782 MB / 391.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1443, allocations: 4 kB / 391.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.1444, allocations: 0 / 391.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.1444, allocations: 7.938 kB / 391.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000754/0.1452, allocations: 215.8 kB / 391.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.1452, allocations: 7.984 kB / 391.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.1455, allocations: 39.97 kB / 391.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.1456, allocations: 31.98 kB / 391.8 MB, free: 14.33 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.0002271/0.1458, allocations: 193.7 kB / 391.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-05/0.1459, allocations: 59.36 kB / 392 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.1461, allocations: 77.33 kB / 392.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.1461, allocations: 12 kB / 392.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.1461, allocations: 0 / 392.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.1461, allocations: 3.984 kB / 392.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.149, allocations: 1.98 MB / 394.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.149, allocations: 4 kB / 394.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007722/0.1498, allocations: 207.7 kB / 394.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.108e-06/0.1498, allocations: 8 kB / 394.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/0.1499, allocations: 23.94 kB / 394.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/0.1499, allocations: 15.98 kB / 394.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.1499, allocations: 7.938 kB / 394.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/0.1521, allocations: 1.369 MB / 395.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.1522, allocations: 124.6 kB / 395.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.198e-05/0.1523, allocations: 27.94 kB / 395.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.1527, allocations: 56.08 kB / 395.9 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.1528, allocations: 72.8 kB / 396 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.191e-05/0.1529, allocations: 35.98 kB / 396 MB, free: 9.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001498/0.153, allocations: 177.9 kB / 396.2 MB, free: 9.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.153, allocations: 0 / 396.2 MB, free: 9.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004715/0.1535, allocations: 156 kB / 396.3 MB, free: 9.523 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.0001817/0.1537, allocations: 131.1 kB / 396.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.1551, allocations: 0.7347 MB / 397.2 MB, free: 8.652 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.1551, allocations: 4 kB / 397.2 MB, free: 8.648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000738/0.1559, allocations: 449.8 kB / 397.6 MB, free: 8.215 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000753/0.1566, allocations: 133.4 kB / 397.8 MB, free: 8.082 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.1591, allocations: 1.52 MB / 399.3 MB, free: 6.477 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.1595, allocations: 0.8684 MB / 400.2 MB, free: 5.574 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002869/0.1598, allocations: 76.97 kB / 400.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.16, allocations: 63.42 kB / 400.3 MB, free: 5.438 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.16, allocations: 0 / 400.3 MB, free: 5.438 MB / 334.1 MB Notification: Performance of Templates: time 0.01216/0.1722, allocations: 6.796 MB / 407.1 MB, free: 14.63 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)