Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0007817/0.0007817, allocations: 91.19 kB / 17.31 MB, free: 5.59 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.0008309/0.0008309, allocations: 177.5 kB / 18.21 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.11/1.11, allocations: 223.3 MB / 242.3 MB, free: 14.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002003/0.0002004, allocations: 8.625 kB / 302.1 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06901/0.06922, allocations: 50.41 MB / 352.5 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.002756/0.07201, allocations: 3.171 MB / 355.7 MB, free: 260 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.07327, allocations: 0.853 MB / 356.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.07349, allocations: 7.938 kB / 356.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.07366, allocations: 59.53 kB / 356.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.07393, allocations: 134.9 kB / 356.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.07427, allocations: 127.9 kB / 356.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004717/0.07475, allocations: 0.5685 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.07499, allocations: 166.3 kB / 357.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.07523, allocations: 207.1 kB / 357.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.07548, allocations: 238.9 kB / 358 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.145e-05/0.07554, allocations: 28 kB / 358 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.899e-05/0.0756, allocations: 28 kB / 358.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.987e-05/0.07568, allocations: 91.58 kB / 358.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.07587, allocations: 264.4 kB / 358.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.07618, allocations: 443 kB / 358.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.07619, allocations: 0 / 358.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.0762, allocations: 0 / 358.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.07621, allocations: 0 / 358.8 MB, free: 13.05 MB / 302.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.001258/0.07747, allocations: 0.7915 MB / 359.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.07751, allocations: 8.031 kB / 359.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.858e-05/0.0776, allocations: 56.28 kB / 359.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.07791, allocations: 335.2 kB / 360 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.07795, allocations: 33.38 kB / 360.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-05/0.07803, allocations: 48.38 kB / 360.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008122/0.07885, allocations: 474.7 kB / 360.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.07888, allocations: 7.891 kB / 360.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.007e-05/0.07892, allocations: 20 kB / 360.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.07893, allocations: 15.94 kB / 360.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009534/0.07989, allocations: 495.7 kB / 361.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.08178, allocations: 1.394 MB / 362.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008341/0.08263, allocations: 0.556 MB / 363 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006978/0.08334, allocations: 387.8 kB / 363.4 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.08338, allocations: 12.56 kB / 363.4 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.08341, allocations: 39.12 kB / 363.5 MB, free: 8.246 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 1.653e-06/0.08342, allocations: 0 / 363.5 MB, free: 8.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=103): time 0.006484/0.08991, allocations: 3.294 MB / 366.8 MB, free: 4.871 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.08996, allocations: 72.34 kB / 366.8 MB, free: 4.789 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.09016, allocations: 262.9 kB / 367.1 MB, free: 4.523 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.0902, allocations: 41.7 kB / 367.1 MB, free: 4.477 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.09031, allocations: 201.2 kB / 367.3 MB, free: 4.273 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.09051, allocations: 342.9 kB / 367.7 MB, free: 3.934 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-05/0.0906, allocations: 81.67 kB / 367.7 MB, free: 3.848 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.09071, allocations: 358.8 kB / 368.1 MB, free: 3.488 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005439/0.09126, allocations: 293.8 kB / 368.4 MB, free: 3.203 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005795/0.09185, allocations: 365.4 kB / 368.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.09298, allocations: 0.6624 MB / 369.4 MB, free: 2.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.09299, allocations: 4 kB / 369.4 MB, free: 2.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001348/0.09434, allocations: 0.8133 MB / 370.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.09437, allocations: 7.984 kB / 370.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.09438, allocations: 0 / 370.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.0944, allocations: 11.94 kB / 370.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006917/0.0951, allocations: 219.8 kB / 370.5 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.09512, allocations: 11.92 kB / 370.5 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.09544, allocations: 63.97 kB / 370.5 MB, free: 1.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.09548, allocations: 23.98 kB / 370.6 MB, free: 1.008 MB / 302.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.0001842/0.09567, allocations: 193.7 kB / 370.7 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.539e-05/0.09576, allocations: 55.34 kB / 370.8 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.09591, allocations: 73.33 kB / 370.9 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.09593, allocations: 19.98 kB / 370.9 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.09594, allocations: 0 / 370.9 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.09595, allocations: 7.922 kB / 370.9 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1272/0.2232, allocations: 2.026 MB / 372.9 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.2232, allocations: 5.375 kB / 372.9 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007542/0.224, allocations: 215.5 kB / 373.1 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/0.224, allocations: 8.844 kB / 373.1 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.2241, allocations: 29.78 kB / 373.2 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/0.2241, allocations: 13.16 kB / 373.2 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.2241, allocations: 9.672 kB / 373.2 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.2262, allocations: 1.427 MB / 374.6 MB, free: 23.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.85e-05/0.2263, allocations: 130.3 kB / 374.8 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/0.2264, allocations: 25.66 kB / 374.8 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.2267, allocations: 62.67 kB / 374.8 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.2269, allocations: 71.3 kB / 374.9 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.2269, allocations: 33.83 kB / 374.9 MB, free: 23.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.227, allocations: 179.4 kB / 375.1 MB, free: 23.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.227, allocations: 0 / 375.1 MB, free: 23.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004548/0.2275, allocations: 156.2 kB / 375.3 MB, free: 23.65 MB / 302.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.0001127/0.2276, allocations: 134.6 kB / 375.4 MB, free: 23.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.2289, allocations: 0.7632 MB / 376.2 MB, free: 23.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2289, allocations: 1.375 kB / 376.2 MB, free: 23.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006702/0.2296, allocations: 467.5 kB / 376.6 MB, free: 23.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008002/0.2304, allocations: 121.7 kB / 376.7 MB, free: 23.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.2325, allocations: 1.925 MB / 378.7 MB, free: 21.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.2327, allocations: 0.8679 MB / 379.5 MB, free: 21.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.233, allocations: 63.28 kB / 379.6 MB, free: 21.21 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.233, allocations: 0 / 379.6 MB, free: 21.21 MB / 302.1 MB Notification: Performance of Templates: time 0.009468/0.2424, allocations: 7.177 MB / 386.8 MB, free: 19.16 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches