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.001506/0.001506, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.001617/0.001617, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.427/1.427, 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.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.001951/0.001951, allocations: 75.81 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2153, allocations: 53.32 MB / 432 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004144/0.2194, allocations: 2.698 MB / 434.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.2209, allocations: 0.7287 MB / 435.5 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.2211, allocations: 7.938 kB / 435.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.2212, allocations: 47.52 kB / 435.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.2215, allocations: 111 kB / 435.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.2218, allocations: 91.83 kB / 435.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004741/0.2223, allocations: 390.3 kB / 436.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.2225, allocations: 75.11 kB / 436.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.2227, allocations: 155.4 kB / 436.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.2229, allocations: 171.2 kB / 436.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.167e-05/0.223, allocations: 32 kB / 436.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.732e-05/0.223, allocations: 32 kB / 436.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.076e-05/0.2231, allocations: 71.77 kB / 436.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.2233, allocations: 171.2 kB / 436.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.2237, allocations: 384.4 kB / 437.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2237, allocations: 0 / 437.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2237, allocations: 0 / 437.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.2237, allocations: 3.938 kB / 437.2 MB, free: 2.234 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.001077/0.2248, allocations: 0.6272 MB / 437.8 MB, free: 1.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2248, allocations: 12.02 kB / 437.8 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.842e-05/0.2249, allocations: 40.7 kB / 437.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.2253, allocations: 268.8 kB / 438.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.2253, allocations: 25.03 kB / 438.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.32e-05/0.2254, allocations: 39.89 kB / 438.2 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/0.2258, allocations: 258.1 kB / 438.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.2259, allocations: 4 kB / 438.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.2259, allocations: 12 kB / 438.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.2259, allocations: 4 kB / 438.5 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.2263, allocations: 234.4 kB / 438.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.2276, allocations: 0.804 MB / 439.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.2282, allocations: 307.6 kB / 439.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.2284, allocations: 161.5 kB / 439.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.2285, allocations: 4.375 kB / 439.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.2285, allocations: 34.94 kB / 440 MB, free: 15.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.643e-06/0.2285, allocations: 4 kB / 440 MB, free: 15.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.003991/0.2325, allocations: 1.912 MB / 441.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.2325, allocations: 59.97 kB / 442 MB, free: 13.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.2327, allocations: 208.5 kB / 442.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.2328, allocations: 41.64 kB / 442.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2329, allocations: 149.1 kB / 442.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.2331, allocations: 237.9 kB / 442.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.2332, allocations: 90.34 kB / 442.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2334, allocations: 350.8 kB / 443 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.2336, allocations: 145.2 kB / 443.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.2339, allocations: 145.9 kB / 443.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005881/0.2345, allocations: 365.5 kB / 443.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2345, allocations: 3.938 kB / 443.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007386/0.2352, allocations: 465.1 kB / 444.1 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2352, allocations: 4 kB / 444.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2352, allocations: 0 / 444.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.2352, allocations: 4 kB / 444.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.2357, allocations: 123.8 kB / 444.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2357, allocations: 3.984 kB / 444.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.2359, allocations: 16 kB / 444.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.2359, allocations: 16 kB / 444.3 MB, free: 10.83 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.0001733/0.2361, allocations: 161.7 kB / 444.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.345e-05/0.2362, allocations: 35.77 kB / 444.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.2363, allocations: 51.33 kB / 444.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.2363, allocations: 7.922 kB / 444.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2363, allocations: 4 kB / 444.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.152e-05/0.2364, allocations: 100.9 kB / 444.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.2365, allocations: 16 kB / 444.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.2367, allocations: 15.98 kB / 444.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.2367, allocations: 32.52 kB / 444.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001081/0.2378, allocations: 0.5652 MB / 445.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001167/0.239, allocations: 0.8456 MB / 446.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002981/0.2393, allocations: 196.4 kB / 446.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.2394, allocations: 152.5 kB / 446.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of Backend: time 1.8e-07/0.2394, allocations: 0 / 446.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007202/0.2401, allocations: 310.1 kB / 446.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of SimCode: time 0.001622/0.2418, allocations: 1.283 MB / 448 MB, free: 6.965 MB / 350.1 MB Notification: Performance of Templates: time 0.0106/0.2524, allocations: 5.599 MB / 453.6 MB, free: 1.418 MB / 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 4.339820349123329]