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.001755/0.001755, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002153/0.002153, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.507/1.507, allocations: 230.6 MB / 258.2 MB, free: 8.07 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.001959/0.001959, allocations: 60.77 kB / 379 MB, free: 2.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3029, allocations: 53.37 MB / 432.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.00402/0.307, allocations: 2.694 MB / 435.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.3084, allocations: 0.7403 MB / 435.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.3085, allocations: 11.94 kB / 435.8 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.3087, allocations: 51.44 kB / 435.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.3089, allocations: 107.1 kB / 436 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.3092, allocations: 91.83 kB / 436.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004211/0.3096, allocations: 390.3 kB / 436.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.3098, allocations: 83.23 kB / 436.5 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.31, allocations: 147.5 kB / 436.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.3102, allocations: 175.2 kB / 436.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.07e-05/0.3103, allocations: 36 kB / 436.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.044e-05/0.3103, allocations: 28 kB / 436.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.895e-05/0.3104, allocations: 75.75 kB / 437 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.3106, allocations: 171.1 kB / 437.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.311, allocations: 377.5 kB / 437.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.311, allocations: 0 / 437.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.311, allocations: 0 / 437.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.311, allocations: 0 / 437.5 MB, free: 1.828 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.001058/0.3121, allocations: 0.5597 MB / 438.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.3121, allocations: 8.031 kB / 438.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.212e-05/0.3122, allocations: 40.7 kB / 438.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.3126, allocations: 214.9 kB / 438.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.3126, allocations: 29.03 kB / 438.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/0.3127, allocations: 31.89 kB / 438.4 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004748/0.3131, allocations: 254.1 kB / 438.7 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.3132, allocations: 4 kB / 438.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.3132, allocations: 19.98 kB / 438.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3132, allocations: 8 kB / 438.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/0.3136, allocations: 226.5 kB / 438.9 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.315, allocations: 0.7721 MB / 439.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005677/0.3155, allocations: 313.2 kB / 440 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.3158, allocations: 153.5 kB / 440.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.3158, allocations: 12.38 kB / 440.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.3159, allocations: 34.94 kB / 440.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.613e-06/0.3159, allocations: 0 / 440.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.003831/0.3197, allocations: 1.776 MB / 442 MB, free: 13.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.3198, allocations: 63.98 kB / 442 MB, free: 13.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.32, allocations: 207.3 kB / 442.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.32, allocations: 41.64 kB / 442.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.3201, allocations: 145.1 kB / 442.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.3203, allocations: 242 kB / 442.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.3204, allocations: 94.34 kB / 442.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3206, allocations: 346.8 kB / 443.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.3209, allocations: 145.2 kB / 443.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.3211, allocations: 149.9 kB / 443.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005813/0.3217, allocations: 350 kB / 443.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3217, allocations: 4 kB / 443.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007409/0.3225, allocations: 465 kB / 444.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3225, allocations: 4 kB / 444.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3225, allocations: 0 / 444.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.3225, allocations: 11.94 kB / 444.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/0.323, allocations: 111.9 kB / 444.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.323, allocations: 7.938 kB / 444.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.3231, allocations: 19.98 kB / 444.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.3232, allocations: 16 kB / 444.3 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.000178/0.3234, allocations: 153.8 kB / 444.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-05/0.3234, allocations: 39.77 kB / 444.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.3235, allocations: 51.33 kB / 444.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.3236, allocations: 11.94 kB / 444.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3236, allocations: 0 / 444.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.3236, allocations: 7.984 kB / 444.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.3255, allocations: 1.254 MB / 445.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.3255, allocations: 7.984 kB / 445.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004711/0.326, allocations: 115.8 kB / 446 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.497e-05/0.326, allocations: 8 kB / 446 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.326, allocations: 19.98 kB / 446 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/0.326, allocations: 11.94 kB / 446 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.326, allocations: 4 kB / 446 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.3272, allocations: 0.8495 MB / 446.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.3273, allocations: 43.7 kB / 446.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.526e-05/0.3273, allocations: 20.05 kB / 446.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.3275, allocations: 19.98 kB / 446.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.3276, allocations: 52.23 kB / 447 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.3277, allocations: 20 kB / 447 MB, free: 7.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.3278, allocations: 160.5 kB / 447.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3278, allocations: 0 / 447.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003963/0.3282, allocations: 96 kB / 447.3 MB, free: 7.68 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.0001455/0.3284, allocations: 127 kB / 447.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006734/0.329, allocations: 379.7 kB / 447.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.329, allocations: 0 / 447.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003585/0.3294, allocations: 230.2 kB / 448 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006668/0.3301, allocations: 92.48 kB / 448.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.3318, allocations: 1.024 MB / 449.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.3322, allocations: 0.7972 MB / 449.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.3324, allocations: 51.33 kB / 449.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.3325, allocations: 39.42 kB / 450 MB, free: 4.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3325, allocations: 0 / 450 MB, free: 4.84 MB / 350.1 MB Notification: Performance of Templates: time 0.01004/0.3425, allocations: 4.739 MB / 454.7 MB, free: 152 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins/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: 4.6483565382659435]