Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.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.007397/0.007397, allocations: 103.4 kB / 21.97 MB, free: 5.211 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.002139/0.002139, allocations: 220 kB / 25.29 MB, free: 3.215 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.575/1.575, allocations: 230.6 MB / 259 MB, free: 8.02 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.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap") [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.002888/0.002888, allocations: 68.7 kB / 379.8 MB, free: 2.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3257, allocations: 53.37 MB / 433.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004194/0.3299, allocations: 2.698 MB / 435.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.3313, allocations: 0.7365 MB / 436.6 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.3315, allocations: 11.94 kB / 436.6 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.3317, allocations: 47.52 kB / 436.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.3319, allocations: 107 kB / 436.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.3322, allocations: 95.81 kB / 436.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004476/0.3327, allocations: 390.3 kB / 437.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.3329, allocations: 79.56 kB / 437.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.3331, allocations: 151.5 kB / 437.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.3333, allocations: 171.2 kB / 437.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.817e-05/0.3334, allocations: 28 kB / 437.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.538e-05/0.3334, allocations: 35.94 kB / 437.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.988e-05/0.3335, allocations: 67.75 kB / 437.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.3337, allocations: 179.1 kB / 437.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004507/0.3341, allocations: 387.6 kB / 438.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3341, allocations: 0 / 438.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3341, allocations: 0 / 438.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3341, allocations: 0 / 438.3 MB, free: 1.816 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001083/0.3352, allocations: 0.552 MB / 438.9 MB, free: 1.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3353, allocations: 12.02 kB / 438.9 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.216e-05/0.3354, allocations: 40.7 kB / 438.9 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.3358, allocations: 206.9 kB / 439.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.3358, allocations: 21.03 kB / 439.1 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/0.3359, allocations: 39.89 kB / 439.2 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.3364, allocations: 266 kB / 439.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.3364, allocations: 4 kB / 439.4 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.3364, allocations: 8 kB / 439.4 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.3364, allocations: 8 kB / 439.4 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004444/0.3369, allocations: 234.5 kB / 439.7 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.3383, allocations: 0.764 MB / 440.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005445/0.3388, allocations: 323.8 kB / 440.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/0.3391, allocations: 157.5 kB / 440.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.3391, allocations: 8.375 kB / 440.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.3392, allocations: 38.88 kB / 441 MB, free: 15.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.833e-06/0.3392, allocations: 0 / 441 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.003854/0.343, allocations: 1.76 MB / 442.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.3431, allocations: 64.06 kB / 442.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.3433, allocations: 203.3 kB / 443 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.3433, allocations: 37.64 kB / 443 MB, free: 12.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.3435, allocations: 157.1 kB / 443.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.3436, allocations: 234 kB / 443.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.3438, allocations: 94.34 kB / 443.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.344, allocations: 346.7 kB / 443.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.3442, allocations: 149.2 kB / 444 MB, free: 11.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.3445, allocations: 153.8 kB / 444.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005689/0.3451, allocations: 350 kB / 444.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3451, allocations: 0 / 444.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007216/0.3458, allocations: 465.1 kB / 444.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3458, allocations: 4 kB / 444.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3458, allocations: 3.938 kB / 444.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3458, allocations: 7.938 kB / 444.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/0.3463, allocations: 119.8 kB / 445.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3463, allocations: 4 kB / 445.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.3465, allocations: 16 kB / 445.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.3465, allocations: 19.98 kB / 445.1 MB, free: 10.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap2.contact,elastoGap1.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.000193/0.3467, allocations: 161.7 kB / 445.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-05/0.3468, allocations: 35.77 kB / 445.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.3469, allocations: 55.33 kB / 445.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.3469, allocations: 7.938 kB / 445.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3469, allocations: 0 / 445.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3469, allocations: 0 / 445.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.3489, allocations: 1.257 MB / 446.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.3489, allocations: 4.562 kB / 446.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/0.3494, allocations: 123.8 kB / 446.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/0.3494, allocations: 12 kB / 446.7 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.3494, allocations: 16 kB / 446.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.898e-06/0.3495, allocations: 8 kB / 446.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.3495, allocations: 7.938 kB / 446.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.3507, allocations: 0.8416 MB / 447.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.3507, allocations: 39.8 kB / 447.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/0.3508, allocations: 16 kB / 447.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.351, allocations: 27.94 kB / 447.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/0.3511, allocations: 56.22 kB / 447.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.3511, allocations: 20.09 kB / 447.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.3513, allocations: 152.5 kB / 447.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3513, allocations: 0 / 447.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004097/0.3517, allocations: 100 kB / 448 MB, free: 7.684 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 65 * 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.0001579/0.3519, allocations: 123 kB / 448.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006983/0.3526, allocations: 387.6 kB / 448.5 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3526, allocations: 0 / 448.5 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.3529, allocations: 227.1 kB / 448.7 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006529/0.3536, allocations: 102.9 kB / 448.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.3553, allocations: 1.053 MB / 449.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.3558, allocations: 0.8011 MB / 450.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.3559, allocations: 39.44 kB / 450.7 MB, free: 4.844 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3559, allocations: 0 / 450.7 MB, free: 4.844 MB / 350.1 MB Notification: Performance of Templates: time 0.008326/0.3642, allocations: 4.771 MB / 455.5 MB, free: 96 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.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: 7.648690446047112]