Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001317/0.001317, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001674/0.001674, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.472/1.472, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 71.81 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3011, allocations: 53.31 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.006452/0.3076, allocations: 3.696 MB / 435.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003351/0.3109, allocations: 0.951 MB / 436.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006048/0.3115, allocations: 15.88 kB / 436.7 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004995/0.312, allocations: 83.16 kB / 436.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007534/0.3128, allocations: 166.5 kB / 436.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006887/0.3135, allocations: 159.7 kB / 437.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008134/0.3143, allocations: 0.6229 MB / 437.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000333/0.3146, allocations: 145.4 kB / 437.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003882/0.315, allocations: 263.1 kB / 438.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003914/0.3154, allocations: 286.8 kB / 438.4 MB, free: 1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.918e-05/0.3155, allocations: 48 kB / 438.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.3156, allocations: 56 kB / 438.5 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.3157, allocations: 127.5 kB / 438.6 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003035/0.316, allocations: 278.6 kB / 438.9 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008789/0.3169, allocations: 0.6317 MB / 439.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3169, allocations: 0 / 439.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3169, allocations: 0 / 439.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.3169, allocations: 0 / 439.5 MB, free: 15.87 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.001688/0.3186, allocations: 0.8491 MB / 440.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3187, allocations: 8.031 kB / 440.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/0.3189, allocations: 72.55 kB / 440.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006868/0.3196, allocations: 358.8 kB / 440.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.117e-05/0.3196, allocations: 37 kB / 440.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.3197, allocations: 51.95 kB / 440.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008601/0.3206, allocations: 422.4 kB / 441.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/0.3206, allocations: 4 kB / 441.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/0.3207, allocations: 16 kB / 441.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.3207, allocations: 12 kB / 441.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007607/0.3215, allocations: 391.7 kB / 441.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.324, allocations: 1.379 MB / 443.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008226/0.3248, allocations: 479.2 kB / 443.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006764/0.3255, allocations: 324 kB / 443.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.71e-05/0.3256, allocations: 8.656 kB / 443.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.3256, allocations: 39.22 kB / 443.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.284e-06/0.3256, allocations: 4 kB / 443.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.00717/0.3328, allocations: 3.015 MB / 446.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.3328, allocations: 64.41 kB / 447 MB, free: 8.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.3332, allocations: 280.6 kB / 447.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.963e-05/0.3332, allocations: 45.7 kB / 447.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.3334, allocations: 205.6 kB / 447.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/0.3337, allocations: 380.7 kB / 447.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.334, allocations: 150.7 kB / 448 MB, free: 7.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.3342, allocations: 366.8 kB / 448.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/0.3347, allocations: 241.8 kB / 448.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006205/0.3353, allocations: 317.4 kB / 449 MB, free: 6.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.3364, allocations: 0.5728 MB / 449.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.3364, allocations: 3.938 kB / 449.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001493/0.3379, allocations: 0.7393 MB / 450.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3379, allocations: 6.969 kB / 450.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.3379, allocations: 4 kB / 450.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.338, allocations: 7.938 kB / 450.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008258/0.3388, allocations: 195.8 kB / 450.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.3388, allocations: 4 kB / 450.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.3392, allocations: 35.98 kB / 450.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/0.3392, allocations: 35.92 kB / 450.6 MB, free: 4.508 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.0003241/0.3395, allocations: 197.7 kB / 450.7 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.3397, allocations: 55.67 kB / 450.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.3399, allocations: 77.62 kB / 450.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.3399, allocations: 12 kB / 450.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.3399, allocations: 3.938 kB / 450.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.3399, allocations: 11.97 kB / 450.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/0.3433, allocations: 1.929 MB / 452.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.3433, allocations: 8 kB / 452.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007899/0.3441, allocations: 191.7 kB / 453 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.637e-05/0.3441, allocations: 8 kB / 453 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.928e-05/0.3442, allocations: 31.98 kB / 453.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.461e-05/0.3442, allocations: 11.94 kB / 453.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.3442, allocations: 4 kB / 453.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.3465, allocations: 1.299 MB / 454.4 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.3467, allocations: 132.8 kB / 454.5 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-05/0.3468, allocations: 27.98 kB / 454.5 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.3472, allocations: 31.98 kB / 454.6 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.3473, allocations: 76.8 kB / 454.6 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.033e-05/0.3474, allocations: 35.98 kB / 454.7 MB, free: 164 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002663/0.3476, allocations: 195.1 kB / 454.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3476, allocations: 0 / 454.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006537/0.3483, allocations: 156 kB / 455 MB, free: 15.82 MB / 366.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.000238/0.3485, allocations: 135 kB / 455.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.3499, allocations: 0.6372 MB / 455.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.3499, allocations: 0 / 455.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006965/0.3506, allocations: 390.5 kB / 456.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009807/0.3516, allocations: 149.1 kB / 456.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.3547, allocations: 1.562 MB / 457.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/0.3553, allocations: 0.8803 MB / 458.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003191/0.3556, allocations: 81.2 kB / 458.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.3557, allocations: 59.42 kB / 458.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3558, allocations: 0 / 458.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of Templates: time 0.01771/0.3735, allocations: 7.385 MB / 466.3 MB, free: 4.52 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.714481430128217]