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.001002/0.001005, allocations: 101.3 kB / 16.5 MB, free: 6.648 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.001077/0.001077, allocations: 194.4 kB / 17.42 MB, free: 6.066 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.485/1.485, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001171/0.001171, allocations: 51.92 kB / 279.3 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.09593, allocations: 46.63 MB / 326 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004639/0.1006, allocations: 3.542 MB / 329.5 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1021, allocations: 0.9122 MB / 330.4 MB, free: 424 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.1023, allocations: 11.94 kB / 330.4 MB, free: 412 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.1025, allocations: 59.53 kB / 330.5 MB, free: 352 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.1028, allocations: 130.9 kB / 330.6 MB, free: 220 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.1031, allocations: 123.8 kB / 330.7 MB, free: 96 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004801/0.1036, allocations: 0.5762 MB / 331.3 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.1039, allocations: 166.3 kB / 331.5 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.1041, allocations: 215.2 kB / 331.7 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.1044, allocations: 262.9 kB / 331.9 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.803e-05/0.1044, allocations: 32 kB / 332 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.173e-05/0.1045, allocations: 36 kB / 332 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.1046, allocations: 103.6 kB / 332.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.1048, allocations: 258.6 kB / 332.4 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004571/0.1053, allocations: 0.5607 MB / 332.9 MB, free: 13.9 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1053, allocations: 0 / 332.9 MB, free: 13.9 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1053, allocations: 0 / 332.9 MB, free: 13.9 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1053, allocations: 4 kB / 332.9 MB, free: 13.89 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.001589/0.1069, allocations: 0.842 MB / 333.8 MB, free: 13 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1069, allocations: 12.02 kB / 333.8 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.874e-05/0.107, allocations: 56.28 kB / 333.8 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.1074, allocations: 327.2 kB / 334.1 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.1075, allocations: 41.36 kB / 334.2 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.636e-05/0.1075, allocations: 48.38 kB / 334.2 MB, free: 12.49 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008545/0.1084, allocations: 450.7 kB / 334.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.1084, allocations: 0 / 334.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.1085, allocations: 20 kB / 334.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1085, allocations: 12 kB / 334.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009392/0.1094, allocations: 459.7 kB / 335.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.1116, allocations: 1.39 MB / 336.5 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008645/0.1125, allocations: 0.5402 MB / 337.1 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007204/0.1132, allocations: 370.9 kB / 337.4 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.511e-05/0.1133, allocations: 12.56 kB / 337.5 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1133, allocations: 35.12 kB / 337.5 MB, free: 9.145 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 2.925e-06/0.1133, allocations: 0 / 337.5 MB, free: 9.145 MB / 286.1 MB Notification: Performance of matching and sorting (n=103): time 0.006684/0.12, allocations: 3.135 MB / 340.6 MB, free: 5.922 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.1201, allocations: 64.41 kB / 340.7 MB, free: 5.848 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.1203, allocations: 254.9 kB / 340.9 MB, free: 5.586 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.1204, allocations: 45.64 kB / 341 MB, free: 5.535 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.1205, allocations: 193.3 kB / 341.2 MB, free: 5.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.1207, allocations: 350.8 kB / 341.5 MB, free: 4.992 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.1209, allocations: 142.7 kB / 341.7 MB, free: 4.848 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1211, allocations: 362.8 kB / 342 MB, free: 4.484 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005311/0.1216, allocations: 273.9 kB / 342.3 MB, free: 4.215 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005838/0.1222, allocations: 349.4 kB / 342.6 MB, free: 3.867 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.1233, allocations: 0.6272 MB / 343.2 MB, free: 3.234 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1234, allocations: 0 / 343.2 MB, free: 3.234 MB / 286.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001405/0.1248, allocations: 0.7819 MB / 344 MB, free: 2.441 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1248, allocations: 4 kB / 344 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1248, allocations: 0 / 344 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.1248, allocations: 11.94 kB / 344 MB, free: 2.426 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007615/0.1256, allocations: 211.8 kB / 344.2 MB, free: 2.219 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.1256, allocations: 8 kB / 344.3 MB, free: 2.211 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.126, allocations: 47.95 kB / 344.3 MB, free: 2.164 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.126, allocations: 24 kB / 344.3 MB, free: 2.141 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 (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.0002224/0.1262, allocations: 197.7 kB / 344.5 MB, free: 1.938 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.364e-05/0.1263, allocations: 55.33 kB / 344.6 MB, free: 1.883 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.1265, allocations: 77.34 kB / 344.7 MB, free: 1.809 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.1265, allocations: 12 kB / 344.7 MB, free: 1.797 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.1265, allocations: 0 / 344.7 MB, free: 1.797 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.1266, allocations: 7.969 kB / 344.7 MB, free: 1.789 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.1293, allocations: 1.99 MB / 346.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.1294, allocations: 8.125 kB / 346.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007553/0.1301, allocations: 203.7 kB / 346.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.1302, allocations: 8 kB / 346.9 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.945e-05/0.1302, allocations: 31.92 kB / 346.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.445e-06/0.1302, allocations: 8 kB / 346.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.1302, allocations: 7.938 kB / 346.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.1323, allocations: 1.372 MB / 348.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.95e-05/0.1324, allocations: 136.5 kB / 348.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.998e-05/0.1325, allocations: 23.94 kB / 348.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.1329, allocations: 43.97 kB / 348.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.133, allocations: 80.78 kB / 348.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.133, allocations: 31.98 kB / 348.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.1332, allocations: 178 kB / 348.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1332, allocations: 0 / 348.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004587/0.1336, allocations: 156 kB / 348.9 MB, free: 13.33 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 (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.0001407/0.1338, allocations: 131 kB / 349.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.1351, allocations: 0.7269 MB / 349.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1351, allocations: 0 / 349.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007102/0.1358, allocations: 446.4 kB / 350.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007814/0.1366, allocations: 125.2 kB / 350.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.139, allocations: 1.764 MB / 352.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.1394, allocations: 0.8648 MB / 353 MB, free: 9.168 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002995/0.1397, allocations: 76.97 kB / 353 MB, free: 9.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.1398, allocations: 55.42 kB / 353.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1399, allocations: 3.938 kB / 353.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of Templates: time 0.01/0.1499, allocations: 6.069 MB / 359.2 MB, free: 2.965 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (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)