Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="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_3.2.3_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_3.2.3_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.001419/0.001419, allocations: 99.55 kB / 18.4 MB, free: 4.652 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.001665/0.001665, allocations: 187 kB / 19.34 MB, free: 3.727 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.248/1.248, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.002022/0.002022, allocations: 55.91 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1137, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.007543/0.1213, allocations: 3.512 MB / 379.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.1239, allocations: 0.9159 MB / 380.2 MB, free: 120 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003275/0.1242, allocations: 11.94 kB / 380.3 MB, free: 108 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.1246, allocations: 75.23 kB / 380.3 MB, free: 32 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1793/0.3038, allocations: 143.9 kB / 380.5 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.3043, allocations: 152.5 kB / 380.6 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004523/0.3048, allocations: 0.5954 MB / 381.2 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.3051, allocations: 190.1 kB / 381.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.3053, allocations: 241.4 kB / 381.6 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.3056, allocations: 275.1 kB / 381.9 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.617e-05/0.3057, allocations: 53.56 kB / 382 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.407e-05/0.3058, allocations: 51.06 kB / 382 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.229e-05/0.3058, allocations: 119.1 kB / 382.1 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.3061, allocations: 265.6 kB / 382.4 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005065/0.3066, allocations: 0.5928 MB / 383 MB, free: 9.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3066, allocations: 4.438 kB / 383 MB, free: 9.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3066, allocations: 0.5625 kB / 383 MB, free: 9.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.3066, allocations: 0.5 kB / 383 MB, free: 9.434 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.001462/0.3081, allocations: 0.8518 MB / 383.8 MB, free: 8.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.3081, allocations: 8.125 kB / 383.8 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.989e-05/0.3082, allocations: 56.84 kB / 383.9 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.3086, allocations: 331.8 kB / 384.2 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.3086, allocations: 38.62 kB / 384.3 MB, free: 8.652 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.955e-05/0.3087, allocations: 47.69 kB / 384.3 MB, free: 8.652 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008554/0.3096, allocations: 452.1 kB / 384.7 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.3096, allocations: 10.7 kB / 384.8 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.3096, allocations: 18.44 kB / 384.8 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.3097, allocations: 10.97 kB / 384.8 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009748/0.3106, allocations: 462 kB / 385.2 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.3127, allocations: 1.378 MB / 386.6 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008664/0.3136, allocations: 0.5454 MB / 387.2 MB, free: 7.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007673/0.3143, allocations: 373.5 kB / 387.5 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.346e-05/0.3144, allocations: 13.08 kB / 387.5 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.3144, allocations: 39.11 kB / 387.6 MB, free: 7.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.004e-06/0.3144, allocations: 0 / 387.6 MB, free: 7.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.006873/0.3213, allocations: 3.134 MB / 390.7 MB, free: 6.008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.3213, allocations: 65.72 kB / 390.8 MB, free: 5.941 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.3215, allocations: 251.6 kB / 391 MB, free: 5.797 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.3216, allocations: 41.86 kB / 391.1 MB, free: 5.754 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.3217, allocations: 203.6 kB / 391.3 MB, free: 5.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.3218, allocations: 354 kB / 391.6 MB, free: 5.312 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.322, allocations: 141.6 kB / 391.7 MB, free: 5.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.3221, allocations: 362.1 kB / 392.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/0.3227, allocations: 273.3 kB / 392.4 MB, free: 4.816 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005851/0.3233, allocations: 349.4 kB / 392.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.3244, allocations: 0.6208 MB / 393.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3244, allocations: 3.938 kB / 393.3 MB, free: 4.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001371/0.3258, allocations: 0.786 MB / 394.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3258, allocations: 5.031 kB / 394.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3258, allocations: 1.312 kB / 394.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.3258, allocations: 4.781 kB / 394.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/0.3266, allocations: 212.9 kB / 394.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.3266, allocations: 5.5 kB / 394.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000399/0.327, allocations: 47.05 kB / 394.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.3271, allocations: 31.05 kB / 394.4 MB, free: 4.051 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.0001872/0.3273, allocations: 187 kB / 394.6 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-05/0.3274, allocations: 54.44 kB / 394.7 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.3275, allocations: 77.34 kB / 394.7 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.3275, allocations: 8.719 kB / 394.7 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3275, allocations: 0 / 394.7 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/0.3276, allocations: 124.1 kB / 394.9 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.881e-05/0.3277, allocations: 20.59 kB / 394.9 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.328, allocations: 43.03 kB / 394.9 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3282, allocations: 61.08 kB / 395 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001876/0.33, allocations: 0.9385 MB / 395.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002088/0.3321, allocations: 1.347 MB / 397.3 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000623/0.3328, allocations: 389.9 kB / 397.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.3329, allocations: 175.6 kB / 397.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of Backend: time 4.21e-07/0.3329, allocations: 0 / 397.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.3341, allocations: 0.5284 MB / 398.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of SimCode: time 0.00174/0.3359, allocations: 1.632 MB / 400 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of Templates: time 0.01256/0.3484, allocations: 8.122 MB / 408.1 MB, free: 13.74 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1)