Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001283/0.001282, allocations: 176.9 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007768/0.0007769, allocations: 94.36 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003583, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2955, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003339/0.2989, allocations: 3.008 MB / 378.1 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.3004, allocations: 0.8724 MB / 379 MB, free: 42.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.3006, allocations: 11.06 kB / 379 MB, free: 42.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.3008, allocations: 59.12 kB / 379 MB, free: 42.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.3011, allocations: 127.5 kB / 379.2 MB, free: 42.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.3015, allocations: 108.8 kB / 379.3 MB, free: 42.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005426/0.302, allocations: 0.5482 MB / 379.8 MB, free: 41.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002968/0.3023, allocations: 159.1 kB / 380 MB, free: 41.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.3026, allocations: 197 kB / 380.2 MB, free: 41.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.3029, allocations: 244.9 kB / 380.4 MB, free: 41.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.908e-05/0.303, allocations: 26.19 kB / 380.4 MB, free: 41.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.864e-05/0.3031, allocations: 26.75 kB / 380.4 MB, free: 41.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.484e-05/0.3031, allocations: 87.25 kB / 380.5 MB, free: 41.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.3034, allocations: 262.3 kB / 380.8 MB, free: 41.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.3038, allocations: 428.1 kB / 381.2 MB, free: 40.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.3038, allocations: 0 / 381.2 MB, free: 40.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3038, allocations: 3.938 kB / 381.2 MB, free: 40.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.3038, allocations: 1.125 kB / 381.2 MB, free: 40.82 MB / 298.7 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.001463/0.3053, allocations: 0.8009 MB / 382 MB, free: 40.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.3053, allocations: 10.06 kB / 382 MB, free: 40.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.3054, allocations: 55.91 kB / 382.1 MB, free: 40.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.3058, allocations: 320.9 kB / 382.4 MB, free: 39.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.012e-05/0.3059, allocations: 36.72 kB / 382.4 MB, free: 39.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.306, allocations: 55 kB / 382.5 MB, free: 39.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.307, allocations: 468.5 kB / 382.9 MB, free: 39.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.3071, allocations: 2.062 kB / 382.9 MB, free: 39.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.257e-05/0.3071, allocations: 24.42 kB / 383 MB, free: 39.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.3071, allocations: 10.66 kB / 383 MB, free: 39.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.3083, allocations: 492.8 kB / 383.5 MB, free: 39.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.3107, allocations: 1.4 MB / 384.9 MB, free: 38.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.3118, allocations: 0.5557 MB / 385.4 MB, free: 37.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000841/0.3126, allocations: 383.9 kB / 385.8 MB, free: 37.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.118e-05/0.3127, allocations: 15.08 kB / 385.8 MB, free: 37.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.3127, allocations: 47.06 kB / 385.8 MB, free: 37.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.945e-06/0.3127, allocations: 7.938 kB / 385.9 MB, free: 37.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.006359/0.3191, allocations: 3.28 MB / 389.1 MB, free: 34.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.3192, allocations: 68.39 kB / 389.2 MB, free: 34.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.3194, allocations: 243 kB / 389.4 MB, free: 34.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.3194, allocations: 45.7 kB / 389.5 MB, free: 34.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.3195, allocations: 197.2 kB / 389.7 MB, free: 33.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.3196, allocations: 354.8 kB / 390 MB, free: 33.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.3197, allocations: 16 kB / 390 MB, free: 33.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.02e-05/0.3198, allocations: 362.8 kB / 390.4 MB, free: 33.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005012/0.3203, allocations: 293.8 kB / 390.7 MB, free: 32.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.3208, allocations: 361.3 kB / 391 MB, free: 32.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.3218, allocations: 0.6469 MB / 391.7 MB, free: 31.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3219, allocations: 0 / 391.7 MB, free: 31.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001241/0.3231, allocations: 0.8172 MB / 392.5 MB, free: 30.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3231, allocations: 4 kB / 392.5 MB, free: 30.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3231, allocations: 0 / 392.5 MB, free: 30.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.3232, allocations: 15.88 kB / 392.5 MB, free: 30.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007149/0.3239, allocations: 219.7 kB / 392.7 MB, free: 30.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.3239, allocations: 4 kB / 392.7 MB, free: 30.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.3243, allocations: 63.95 kB / 392.8 MB, free: 30.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.3243, allocations: 35.97 kB / 392.8 MB, free: 30.61 MB / 298.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001886/0.3245, allocations: 189.7 kB / 393 MB, free: 30.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.3246, allocations: 51.44 kB / 393.1 MB, free: 30.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.3247, allocations: 81.33 kB / 393.1 MB, free: 30.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3247, allocations: 11.94 kB / 393.2 MB, free: 30.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.3248, allocations: 0 / 393.2 MB, free: 30.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.3248, allocations: 3.984 kB / 393.2 MB, free: 30.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.3272, allocations: 2.037 MB / 395.2 MB, free: 28.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.3272, allocations: 4.594 kB / 395.2 MB, free: 28.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007044/0.328, allocations: 219.7 kB / 395.4 MB, free: 27.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.328, allocations: 8 kB / 395.4 MB, free: 27.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.328, allocations: 27.94 kB / 395.4 MB, free: 27.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.328, allocations: 15.92 kB / 395.5 MB, free: 27.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.328, allocations: 4 kB / 395.5 MB, free: 27.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.3298, allocations: 1.415 MB / 396.9 MB, free: 26.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.3299, allocations: 124.5 kB / 397 MB, free: 26.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/0.33, allocations: 28 kB / 397 MB, free: 26.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/0.3304, allocations: 63.95 kB / 397.1 MB, free: 26.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.3305, allocations: 72.8 kB / 397.2 MB, free: 26.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/0.3305, allocations: 35.98 kB / 397.2 MB, free: 26.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.3306, allocations: 181.9 kB / 397.4 MB, free: 25.85 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3306, allocations: 0 / 397.4 MB, free: 25.85 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004414/0.3311, allocations: 152 kB / 397.5 MB, free: 25.7 MB / 298.7 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 (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.0001263/0.3312, allocations: 134.8 kB / 397.7 MB, free: 25.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.3324, allocations: 0.7543 MB / 398.4 MB, free: 24.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.3324, allocations: 4.125 kB / 398.4 MB, free: 24.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006348/0.333, allocations: 462.6 kB / 398.9 MB, free: 24.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008086/0.3339, allocations: 104.8 kB / 399 MB, free: 24.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.336, allocations: 1.889 MB / 400.9 MB, free: 22.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.3363, allocations: 0.8648 MB / 401.7 MB, free: 21.37 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.3365, allocations: 67.41 kB / 401.8 MB, free: 21.3 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.3366, allocations: 0 / 401.8 MB, free: 21.3 MB / 298.7 MB Notification: Performance of Templates: time 0.008397/0.345, allocations: 7.172 MB / 409 MB, free: 14.11 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches