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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.464/1.464, allocations: 230.4 MB / 251.1 MB, free: 8.441 MB / 206.1 MB 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.002006/0.002006, allocations: 71.83 kB / 368.9 MB, free: 6.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.298, allocations: 53.32 MB / 422.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00503/0.303, allocations: 3.668 MB / 425.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.3046, allocations: 0.951 MB / 426.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.3047, allocations: 11.94 kB / 426.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.3049, allocations: 83.09 kB / 427 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.3052, allocations: 162.6 kB / 427.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004574/0.3057, allocations: 167.6 kB / 427.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006554/0.3063, allocations: 0.6268 MB / 427.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002678/0.3066, allocations: 149.4 kB / 428.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003404/0.3069, allocations: 255.1 kB / 428.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003535/0.3073, allocations: 286.8 kB / 428.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.389e-05/0.3074, allocations: 48 kB / 428.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.3075, allocations: 56 kB / 428.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.3076, allocations: 123.6 kB / 428.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.3078, allocations: 286.6 kB / 429.1 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006547/0.3085, allocations: 0.6297 MB / 429.7 MB, free: 348 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3085, allocations: 0 / 429.7 MB, free: 348 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3085, allocations: 0 / 429.7 MB, free: 348 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.3085, allocations: 0 / 429.7 MB, free: 348 kB / 334.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.001468/0.31, allocations: 0.8529 MB / 430.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.31, allocations: 8.031 kB / 430.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.3102, allocations: 68.56 kB / 430.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.3107, allocations: 354.9 kB / 431 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.3107, allocations: 37 kB / 431 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.502e-05/0.3108, allocations: 51.95 kB / 431.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007672/0.3116, allocations: 422.4 kB / 431.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.3116, allocations: 0 / 431.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.3116, allocations: 20 kB / 431.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.3117, allocations: 12 kB / 431.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007234/0.3124, allocations: 391.8 kB / 431.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.3147, allocations: 1.383 MB / 433.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007876/0.3155, allocations: 479.2 kB / 433.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006531/0.3162, allocations: 319.2 kB / 434.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.369e-05/0.3162, allocations: 8.656 kB / 434.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.3162, allocations: 35.22 kB / 434.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 1.743e-06/0.3162, allocations: 0 / 434.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006533/0.3228, allocations: 3.026 MB / 437.1 MB, free: 8.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.3228, allocations: 68.41 kB / 437.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.3231, allocations: 276.6 kB / 437.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/0.3232, allocations: 41.7 kB / 437.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.3233, allocations: 209.5 kB / 437.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/0.3236, allocations: 376.7 kB / 438.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.3239, allocations: 154.6 kB / 438.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.3241, allocations: 362.8 kB / 438.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/0.3245, allocations: 237.9 kB / 438.8 MB, free: 6.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/0.325, allocations: 317.4 kB / 439.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.3261, allocations: 0.5805 MB / 439.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3261, allocations: 3.938 kB / 439.7 MB, free: 6.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001246/0.3273, allocations: 0.7354 MB / 440.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3273, allocations: 7.938 kB / 440.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.3273, allocations: 4 kB / 440.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.3274, allocations: 4 kB / 440.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007587/0.3281, allocations: 199.7 kB / 440.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.3281, allocations: 4 kB / 440.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.3284, allocations: 39.98 kB / 440.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/0.3285, allocations: 28 kB / 440.7 MB, free: 4.984 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.0002592/0.3287, allocations: 201.6 kB / 440.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.3288, allocations: 55.67 kB / 441 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.329, allocations: 77.62 kB / 441.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.329, allocations: 12 kB / 441.1 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.329, allocations: 3.984 kB / 441.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.329, allocations: 7.984 kB / 441.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.332, allocations: 1.937 MB / 443 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.332, allocations: 8 kB / 443 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007535/0.3327, allocations: 191.7 kB / 443.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.3327, allocations: 8 kB / 443.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-05/0.3328, allocations: 27.98 kB / 443.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.45e-05/0.3328, allocations: 11.94 kB / 443.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.287e-06/0.3328, allocations: 7.984 kB / 443.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.3348, allocations: 1.299 MB / 444.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.3349, allocations: 132.7 kB / 444.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8e-05/0.335, allocations: 32.05 kB / 444.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.3353, allocations: 27.98 kB / 444.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.3355, allocations: 76.8 kB / 444.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/0.3355, allocations: 39.98 kB / 444.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001998/0.3357, allocations: 195.1 kB / 445.1 MB, free: 452 kB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3357, allocations: 0 / 445.1 MB, free: 452 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005026/0.3362, allocations: 156 kB / 445.2 MB, free: 296 kB / 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.0001703/0.3364, allocations: 135 kB / 445.4 MB, free: 152 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.3378, allocations: 0.6372 MB / 446 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3378, allocations: 0 / 446 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.3389, allocations: 382.6 kB / 446.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.3402, allocations: 147.3 kB / 446.5 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.3431, allocations: 1.558 MB / 448.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.3437, allocations: 0.8803 MB / 449 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003173/0.344, allocations: 81.2 kB / 449 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.3442, allocations: 59.42 kB / 449.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3442, allocations: 0 / 449.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of Templates: time 0.01436/0.3585, allocations: 7.255 MB / 456.3 MB, free: 5.125 MB / 366.1 MB 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 -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/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-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches