Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001364, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 55.91 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2131, allocations: 50.54 MB / 409.9 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004176/0.2173, allocations: 3.652 MB / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.2187, allocations: 0.9471 MB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.2189, allocations: 11.94 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.2191, allocations: 75.17 kB / 414.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.2194, allocations: 162.5 kB / 414.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.2198, allocations: 167.7 kB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005427/0.2203, allocations: 0.6229 MB / 415.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.2206, allocations: 201.4 kB / 415.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002885/0.2209, allocations: 259.1 kB / 416 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/0.2212, allocations: 282.8 kB / 416.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.223e-05/0.2213, allocations: 52 kB / 416.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.2214, allocations: 52 kB / 416.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.721e-05/0.2215, allocations: 119.6 kB / 416.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.2218, allocations: 290.6 kB / 416.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005428/0.2223, allocations: 0.6239 MB / 417.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2223, allocations: 0 / 417.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2223, allocations: 0 / 417.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.2224, allocations: 0 / 417.4 MB, free: 10.12 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001397/0.2238, allocations: 0.8301 MB / 418.2 MB, free: 9.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2238, allocations: 8.031 kB / 418.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.224, allocations: 80.17 kB / 418.3 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.2244, allocations: 350.7 kB / 418.7 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.2245, allocations: 37 kB / 418.7 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/0.2246, allocations: 51.84 kB / 418.8 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006872/0.2253, allocations: 422.4 kB / 419.2 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.2253, allocations: 0 / 419.2 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.362e-05/0.2254, allocations: 20 kB / 419.2 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.2254, allocations: 16 kB / 419.2 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000678/0.2261, allocations: 387.8 kB / 419.6 MB, free: 7.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.2283, allocations: 1.374 MB / 421 MB, free: 6.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007567/0.229, allocations: 0.5187 MB / 421.5 MB, free: 5.875 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006379/0.2297, allocations: 352 kB / 421.8 MB, free: 5.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.2297, allocations: 12.64 kB / 421.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.2298, allocations: 43.22 kB / 421.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 1.914e-06/0.2298, allocations: 0 / 421.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=107): time 0.006247/0.236, allocations: 3.006 MB / 424.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.2361, allocations: 64.41 kB / 424.9 MB, free: 2.312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.2363, allocations: 284.5 kB / 425.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.2364, allocations: 41.7 kB / 425.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.2365, allocations: 197.3 kB / 425.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.2368, allocations: 366.6 kB / 425.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.237, allocations: 146.7 kB / 426 MB, free: 1.266 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2371, allocations: 366.8 kB / 426.3 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000414/0.2375, allocations: 233.9 kB / 426.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/0.238, allocations: 321.4 kB / 426.9 MB, free: 356 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009088/0.2389, allocations: 0.5727 MB / 427.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2389, allocations: 0 / 427.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001123/0.2401, allocations: 0.7429 MB / 428.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2401, allocations: 4 kB / 428.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.2401, allocations: 4 kB / 428.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2401, allocations: 4 kB / 428.2 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007611/0.2409, allocations: 195.7 kB / 428.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.2409, allocations: 4 kB / 428.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.2412, allocations: 31.98 kB / 428.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.2413, allocations: 35.92 kB / 428.4 MB, free: 14.74 MB / 350.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 (117): * Single equations (assignments): 117 * 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.0002196/0.2415, allocations: 205.5 kB / 428.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.309e-05/0.2416, allocations: 55.34 kB / 428.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.2417, allocations: 77.62 kB / 428.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.2418, allocations: 3.984 kB / 428.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2418, allocations: 0 / 428.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.229e-05/0.2419, allocations: 128.4 kB / 428.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-05/0.2419, allocations: 16 kB / 428.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.2423, allocations: 31.98 kB / 429 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.964e-05/0.2424, allocations: 64.86 kB / 429 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001572/0.2439, allocations: 0.8763 MB / 429.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001729/0.2457, allocations: 1.259 MB / 431.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000471/0.2462, allocations: 367.9 kB / 431.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.2463, allocations: 191.1 kB / 431.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Backend: time 3.91e-07/0.2464, allocations: 0 / 431.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.2474, allocations: 0.5039 MB / 432.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of SimCode: time 0.002/0.2494, allocations: 1.687 MB / 433.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of Templates: time 0.0138/0.2632, allocations: 8.708 MB / 442.6 MB, free: 0.5703 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1)