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.008642/0.008642, allocations: 101 kB / 15.73 MB, free: 6.047 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.001753/0.001753, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.62/1.62, allocations: 205.1 MB / 222.5 MB, free: 12.24 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.001319/0.001319, allocations: 48.27 kB / 326.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1068, allocations: 46.63 MB / 373.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.006345/0.1132, allocations: 3.508 MB / 376.7 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.1158, allocations: 0.912 MB / 377.6 MB, free: 124 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006689/0.1165, allocations: 15.94 kB / 377.6 MB, free: 108 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003839/0.1169, allocations: 75.22 kB / 377.7 MB, free: 32 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2055/0.3225, allocations: 141.1 kB / 377.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008012/0.3233, allocations: 156.6 kB / 378 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007055/0.324, allocations: 0.5953 MB / 378.6 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003708/0.3244, allocations: 193.9 kB / 378.7 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003481/0.3248, allocations: 245.5 kB / 379 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000391/0.3252, allocations: 275 kB / 379.3 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.3253, allocations: 50.16 kB / 379.3 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.3254, allocations: 53.56 kB / 379.4 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.3255, allocations: 117.5 kB / 379.5 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003478/0.3259, allocations: 272 kB / 379.7 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009549/0.3268, allocations: 0.5939 MB / 380.3 MB, free: 9.422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3269, allocations: 0.5 kB / 380.3 MB, free: 9.422 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.3269, allocations: 0 / 380.3 MB, free: 9.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.3269, allocations: 2.469 kB / 380.3 MB, free: 9.422 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.001864/0.3288, allocations: 0.8504 MB / 381.2 MB, free: 8.906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3288, allocations: 9.312 kB / 381.2 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.3289, allocations: 57.22 kB / 381.2 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.3294, allocations: 329.1 kB / 381.6 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.724e-05/0.3295, allocations: 37.34 kB / 381.6 MB, free: 8.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.853e-05/0.3296, allocations: 49 kB / 381.7 MB, free: 8.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.3306, allocations: 451.8 kB / 382.1 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.3306, allocations: 14.55 kB / 382.1 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.3307, allocations: 18.16 kB / 382.1 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.3307, allocations: 11.25 kB / 382.1 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.3319, allocations: 457.7 kB / 382.6 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.3343, allocations: 1.383 MB / 384 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009509/0.3353, allocations: 0.5379 MB / 384.5 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008488/0.3361, allocations: 373.8 kB / 384.9 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.282e-05/0.3362, allocations: 13.22 kB / 384.9 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.3362, allocations: 42.59 kB / 384.9 MB, free: 7.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.415e-06/0.3362, allocations: 5.219 kB / 384.9 MB, free: 7.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.007446/0.3437, allocations: 3.127 MB / 388.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.3437, allocations: 67.41 kB / 388.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.344, allocations: 256 kB / 388.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.3441, allocations: 41.14 kB / 388.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.148e-05/0.3442, allocations: 194 kB / 388.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.3444, allocations: 350.4 kB / 388.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.3446, allocations: 149 kB / 389.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3447, allocations: 360.2 kB / 389.4 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.3453, allocations: 272.8 kB / 389.7 MB, free: 4.797 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006057/0.3459, allocations: 351.4 kB / 390.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.3471, allocations: 0.6278 MB / 390.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3471, allocations: 1.781 kB / 390.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001911/0.349, allocations: 0.7798 MB / 391.5 MB, free: 4.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.3491, allocations: 6.656 kB / 391.5 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.3491, allocations: 5.406 kB / 391.5 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/0.3491, allocations: 8.016 kB / 391.5 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008608/0.35, allocations: 210.8 kB / 391.7 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.35, allocations: 5.516 kB / 391.7 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/0.3505, allocations: 45.73 kB / 391.7 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.3505, allocations: 26.77 kB / 391.8 MB, free: 4.035 MB / 318.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.0002889/0.3508, allocations: 196.8 kB / 392 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.781e-05/0.3509, allocations: 49.34 kB / 392 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.3511, allocations: 72.84 kB / 392.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.3512, allocations: 17.47 kB / 392.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.577e-05/0.3512, allocations: 2.547 kB / 392.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.3512, allocations: 4.781 kB / 392.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.3545, allocations: 1.97 MB / 394.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.3545, allocations: 6.109 kB / 394.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008598/0.3554, allocations: 204.3 kB / 394.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.7e-05/0.3554, allocations: 9.625 kB / 394.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.27e-05/0.3555, allocations: 26.8 kB / 394.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-05/0.3555, allocations: 19 kB / 394.3 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.3555, allocations: 9.188 kB / 394.3 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002618/0.3581, allocations: 1.374 MB / 395.7 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.3583, allocations: 130.6 kB / 395.8 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.534e-05/0.3584, allocations: 21.78 kB / 395.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.3589, allocations: 50.69 kB / 395.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.359, allocations: 78.86 kB / 396 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.876e-05/0.3591, allocations: 30.3 kB / 396 MB, free: 1.734 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.3593, allocations: 178.4 kB / 396.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3593, allocations: 3.938 kB / 396.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007099/0.3601, allocations: 155.3 kB / 396.3 MB, free: 1.598 MB / 318.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.0001521/0.3602, allocations: 134.8 kB / 396.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.3618, allocations: 0.7347 MB / 397.2 MB, free: 1.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.3618, allocations: 5.281 kB / 397.2 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008464/0.3626, allocations: 441.7 kB / 397.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007862/0.3634, allocations: 122.3 kB / 397.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.3663, allocations: 1.517 MB / 399.3 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006271/0.367, allocations: 0.8729 MB / 400.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003452/0.3673, allocations: 78.08 kB / 400.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.3675, allocations: 58.08 kB / 400.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3675, allocations: 1.344 kB / 400.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Templates: time 0.01671/0.3843, allocations: 6.665 MB / 407 MB, free: 12.25 MB / 334.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)