Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 208.9 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.581/1.581, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 47.92 kB / 378.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2851, allocations: 53.36 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005054/0.2901, allocations: 3.333 MB / 434.9 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.2921, allocations: 0.9159 MB / 435.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.2923, allocations: 15.88 kB / 435.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.2925, allocations: 83.16 kB / 435.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.2929, allocations: 166.5 kB / 436.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.2934, allocations: 167.7 kB / 436.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007796/0.2942, allocations: 0.6228 MB / 436.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.2945, allocations: 149.9 kB / 437 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003905/0.2949, allocations: 259.2 kB / 437.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.2952, allocations: 290.7 kB / 437.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.557e-05/0.2953, allocations: 52 kB / 437.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.2954, allocations: 56 kB / 437.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.2956, allocations: 123.6 kB / 437.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002442/0.2958, allocations: 235 kB / 438 MB, free: 272 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007191/0.2965, allocations: 0.6324 MB / 438.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2965, allocations: 4 kB / 438.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2965, allocations: 0 / 438.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.2965, allocations: 0 / 438.6 MB, free: 15.63 MB / 350.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.001603/0.2981, allocations: 0.7698 MB / 439.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2982, allocations: 12.02 kB / 439.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.2984, allocations: 68.56 kB / 439.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005357/0.2989, allocations: 297.7 kB / 439.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.299, allocations: 37 kB / 439.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.122e-05/0.299, allocations: 51.95 kB / 439.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007707/0.2998, allocations: 418.4 kB / 440.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.2998, allocations: 7.938 kB / 440.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.737e-05/0.2999, allocations: 20 kB / 440.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.2999, allocations: 12 kB / 440.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007611/0.3007, allocations: 379.8 kB / 440.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002444/0.3031, allocations: 1.169 MB / 441.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008151/0.3039, allocations: 483.8 kB / 442.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006865/0.3046, allocations: 308.1 kB / 442.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.223e-05/0.3047, allocations: 12.64 kB / 442.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.3047, allocations: 39.22 kB / 442.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.775e-06/0.3047, allocations: 0 / 442.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006947/0.3116, allocations: 2.875 MB / 445.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.3117, allocations: 64.34 kB / 445.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.312, allocations: 268.2 kB / 445.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.3121, allocations: 41.7 kB / 445.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.3123, allocations: 217.5 kB / 446.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003141/0.3127, allocations: 376.7 kB / 446.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.3129, allocations: 150.7 kB / 446.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3131, allocations: 362.8 kB / 447 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/0.3135, allocations: 237.9 kB / 447.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005244/0.314, allocations: 317.4 kB / 447.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.3151, allocations: 0.5766 MB / 448.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3151, allocations: 0 / 448.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001285/0.3163, allocations: 0.7393 MB / 448.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3164, allocations: 7.938 kB / 448.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3164, allocations: 0 / 448.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.3164, allocations: 8 kB / 448.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007978/0.3172, allocations: 191.7 kB / 449.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.3172, allocations: 4 kB / 449.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.3175, allocations: 36.05 kB / 449.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.3176, allocations: 31.98 kB / 449.1 MB, free: 4.898 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.0002684/0.3178, allocations: 201.6 kB / 449.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.3179, allocations: 59.61 kB / 449.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.3181, allocations: 73.56 kB / 449.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.3181, allocations: 12 kB / 449.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.3181, allocations: 0 / 449.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.3181, allocations: 7.969 kB / 449.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/0.321, allocations: 1.724 MB / 451.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.321, allocations: 4 kB / 451.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008235/0.3218, allocations: 203.7 kB / 451.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/0.3218, allocations: 8 kB / 451.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.412e-05/0.3219, allocations: 23.98 kB / 451.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/0.3219, allocations: 12 kB / 451.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/0.3219, allocations: 7.938 kB / 451.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.3238, allocations: 1.295 MB / 452.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.286e-05/0.3239, allocations: 59.5 kB / 452.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.388e-05/0.324, allocations: 28.05 kB / 452.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.3244, allocations: 31.98 kB / 452.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.3245, allocations: 80.75 kB / 452.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.285e-05/0.3245, allocations: 31.98 kB / 453 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002383/0.3248, allocations: 191.1 kB / 453.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3248, allocations: 0 / 453.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005301/0.3253, allocations: 160 kB / 453.3 MB, free: 0.5312 MB / 350.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 (107): * Single equations (assignments): 107 * 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.0001694/0.3255, allocations: 135 kB / 453.4 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.3266, allocations: 0.6293 MB / 454.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3266, allocations: 0 / 454.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000631/0.3273, allocations: 394.6 kB / 454.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008946/0.3281, allocations: 144.2 kB / 454.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.3308, allocations: 1.552 MB / 456.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.3311, allocations: 280.9 kB / 456.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00035/0.3314, allocations: 81.2 kB / 456.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.3316, allocations: 59.42 kB / 456.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3316, allocations: 0 / 456.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of Templates: time 0.0163/0.3479, allocations: 7.989 MB / 464.6 MB, free: 5.297 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.848616445902735]