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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.002305/0.002305, allocations: 187.9 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.382/1.382, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001625/0.001625, allocations: 119.4 kB / 248.1 MB, free: 6.328 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.683e-05/1.683e-05, allocations: 4 kB / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09169/0.09172, allocations: 44.49 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2937/0.3855, allocations: 72.84 MB / 415.4 MB, free: 22.98 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.3857, allocations: 64.47 kB / 415.5 MB, free: 22.95 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02157/0.4073, allocations: 9.024 MB / 424.5 MB, free: 15.6 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4074, allocations: 0 / 424.5 MB, free: 15.6 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.4074, allocations: 19.98 kB / 424.5 MB, free: 15.58 MB / 315.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.0009745/0.4084, allocations: 0.7124 MB / 425.2 MB, free: 14.85 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.4084, allocations: 12.03 kB / 425.2 MB, free: 14.84 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.188e-05/0.4085, allocations: 56.19 kB / 425.3 MB, free: 14.78 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.4088, allocations: 312.9 kB / 425.6 MB, free: 14.47 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.4088, allocations: 13.38 kB / 425.6 MB, free: 14.46 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/0.4089, allocations: 35.91 kB / 425.6 MB, free: 14.42 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004801/0.4094, allocations: 352.1 kB / 426 MB, free: 14.2 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.4099, allocations: 333.1 kB / 426.3 MB, free: 13.95 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.4099, allocations: 3.75 kB / 426.3 MB, free: 13.95 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.41, allocations: 0 / 426.3 MB, free: 13.95 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.41, allocations: 12 kB / 426.3 MB, free: 13.93 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.4117, allocations: 1.315 MB / 427.6 MB, free: 12.91 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/0.4123, allocations: 472.1 kB / 428.1 MB, free: 12.63 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004349/0.4127, allocations: 305.4 kB / 428.4 MB, free: 12.42 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.4128, allocations: 8.562 kB / 428.4 MB, free: 12.41 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.354e-05/0.4128, allocations: 39 kB / 428.5 MB, free: 12.37 MB / 315.1 MB Notification: Performance of pre-optimization done (n=67): time 1.783e-06/0.4128, allocations: 4 kB / 428.5 MB, free: 12.36 MB / 315.1 MB Notification: Performance of matching and sorting (n=103): time 0.002901/0.4157, allocations: 2.22 MB / 430.7 MB, free: 10.52 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.4157, allocations: 60.72 kB / 430.7 MB, free: 10.45 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.4159, allocations: 197.2 kB / 430.9 MB, free: 10.28 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.4159, allocations: 25.7 kB / 431 MB, free: 10.25 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.416, allocations: 194.9 kB / 431.1 MB, free: 10.09 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.4161, allocations: 332.8 kB / 431.5 MB, free: 9.797 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.4162, allocations: 8 kB / 431.5 MB, free: 9.789 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 6.898e-05/0.4162, allocations: 362.6 kB / 431.8 MB, free: 9.449 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.4165, allocations: 209.7 kB / 432 MB, free: 9.332 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.4168, allocations: 274 kB / 432.3 MB, free: 9.148 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.4171, allocations: 243.8 kB / 432.5 MB, free: 9.004 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4172, allocations: 0 / 432.5 MB, free: 9.004 MB / 315.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0008167/0.418, allocations: 0.6298 MB / 433.2 MB, free: 8.527 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.418, allocations: 4 kB / 433.2 MB, free: 8.523 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.418, allocations: 0 / 433.2 MB, free: 8.523 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.418, allocations: 11.95 kB / 433.2 MB, free: 8.512 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007784/0.4188, allocations: 215.6 kB / 433.4 MB, free: 8.309 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.4188, allocations: 8 kB / 433.4 MB, free: 8.301 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.4192, allocations: 47.95 kB / 433.4 MB, free: 8.254 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.615e-05/0.4192, allocations: 29.5 kB / 433.5 MB, free: 8.234 MB / 315.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 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.4193, allocations: 116.8 kB / 433.6 MB, free: 8.113 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.485e-05/0.4194, allocations: 51.44 kB / 433.6 MB, free: 8.062 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.4196, allocations: 61.33 kB / 433.7 MB, free: 8.039 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.4196, allocations: 14.39 kB / 433.7 MB, free: 8.027 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-06/0.4196, allocations: 3.984 kB / 433.7 MB, free: 8.023 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.4196, allocations: 7.969 kB / 433.7 MB, free: 8.016 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.4217, allocations: 1.736 MB / 435.5 MB, free: 6.586 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.4218, allocations: 4 kB / 435.5 MB, free: 6.582 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/0.4225, allocations: 214.8 kB / 435.7 MB, free: 6.379 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.4225, allocations: 12 kB / 435.7 MB, free: 6.367 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.4226, allocations: 10.81 kB / 435.7 MB, free: 6.359 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.363e-06/0.4226, allocations: 13.67 kB / 435.7 MB, free: 6.348 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.4226, allocations: 7.938 kB / 435.7 MB, free: 6.34 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.4239, allocations: 1.383 MB / 437.1 MB, free: 5.094 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.4239, allocations: 131.6 kB / 437.2 MB, free: 4.949 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/0.424, allocations: 15.05 kB / 437.2 MB, free: 4.938 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/0.4244, allocations: 43.92 kB / 437.3 MB, free: 4.895 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.275e-05/0.4245, allocations: 79.02 kB / 437.4 MB, free: 4.824 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/0.4246, allocations: 34.55 kB / 437.4 MB, free: 4.797 MB / 315.1 MB Notification: Performance of sorting global known variables: time 8.869e-05/0.4247, allocations: 154.1 kB / 437.6 MB, free: 4.676 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4247, allocations: 0 / 437.6 MB, free: 4.676 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0004275/0.4251, allocations: 120 kB / 437.7 MB, free: 4.559 MB / 315.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001232/0.4252, allocations: 119 kB / 437.8 MB, free: 4.43 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0006992/0.4259, allocations: 0.5828 MB / 438.4 MB, free: 4.031 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4259, allocations: 4 kB / 438.4 MB, free: 4.027 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.4263, allocations: 371 kB / 438.7 MB, free: 3.773 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000569/0.4269, allocations: 90.95 kB / 438.8 MB, free: 3.703 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.4285, allocations: 1.206 MB / 440 MB, free: 2.562 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.4288, allocations: 0.8896 MB / 440.9 MB, free: 1.645 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 0.0002915/0.4291, allocations: 72.91 kB / 441 MB, free: 1.574 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.4292, allocations: 51.42 kB / 441 MB, free: 1.527 MB / 315.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4292, allocations: 4 kB / 441 MB, free: 1.523 MB / 315.1 MB Notification: Performance of Templates: time 0.009395/0.4386, allocations: 5.515 MB / 446.6 MB, free: 12.06 MB / 331.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)