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.00129/0.00129, allocations: 117 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.001367/0.001367, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.407/1.407, allocations: 230.4 MB / 258.1 MB, free: 8.129 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.00193/0.00193, allocations: 67.78 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2586, allocations: 53.32 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003976/0.2626, allocations: 2.696 MB / 434.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.264, allocations: 0.7287 MB / 435.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.2641, allocations: 7.938 kB / 435.5 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.2643, allocations: 47.5 kB / 435.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.2647, allocations: 115 kB / 435.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.265, allocations: 91.83 kB / 435.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004443/0.2654, allocations: 386.3 kB / 436.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.2656, allocations: 79.12 kB / 436.2 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.2658, allocations: 151.5 kB / 436.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.266, allocations: 175.2 kB / 436.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.885e-05/0.2661, allocations: 28 kB / 436.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.195e-05/0.2662, allocations: 32 kB / 436.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.151e-05/0.2662, allocations: 67.77 kB / 436.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.2665, allocations: 171.2 kB / 436.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.2669, allocations: 383.9 kB / 437.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2669, allocations: 0 / 437.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.188e-06/0.2669, allocations: 3.984 kB / 437.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.267, allocations: 0 / 437.2 MB, free: 2.219 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.001133/0.2681, allocations: 0.6311 MB / 437.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2681, allocations: 11.97 kB / 437.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.035e-05/0.2682, allocations: 40.7 kB / 437.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.2686, allocations: 272.8 kB / 438.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.2687, allocations: 21.03 kB / 438.1 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.2687, allocations: 39.89 kB / 438.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.2692, allocations: 258.1 kB / 438.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.2692, allocations: 4 kB / 438.4 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.2692, allocations: 8 kB / 438.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.2693, allocations: 8 kB / 438.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.2697, allocations: 234.5 kB / 438.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.271, allocations: 0.7961 MB / 439.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/0.2715, allocations: 319.5 kB / 439.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.2718, allocations: 157.5 kB / 439.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.2718, allocations: 4.375 kB / 439.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.2719, allocations: 42.94 kB / 440 MB, free: 15.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.422e-06/0.2719, allocations: 0 / 440 MB, free: 15.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.003886/0.2757, allocations: 1.908 MB / 441.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.2758, allocations: 63.95 kB / 442 MB, free: 13.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.276, allocations: 204.5 kB / 442.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.2761, allocations: 37.64 kB / 442.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.2762, allocations: 153.1 kB / 442.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.2764, allocations: 237.9 kB / 442.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.2765, allocations: 98.34 kB / 442.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2767, allocations: 342.8 kB / 443 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.2769, allocations: 145.2 kB / 443.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.2772, allocations: 153.9 kB / 443.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/0.2777, allocations: 349.6 kB / 443.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2777, allocations: 0 / 443.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007248/0.2785, allocations: 469 kB / 444.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2785, allocations: 8 kB / 444.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2785, allocations: 4 kB / 444.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.2785, allocations: 7.938 kB / 444.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/0.279, allocations: 111.8 kB / 444.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.279, allocations: 4 kB / 444.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.2791, allocations: 15.98 kB / 444.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.2792, allocations: 20 kB / 444.3 MB, free: 10.82 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.0001806/0.2794, allocations: 153.8 kB / 444.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-05/0.2794, allocations: 43.7 kB / 444.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.2796, allocations: 59.27 kB / 444.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.2796, allocations: 11.94 kB / 444.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.2796, allocations: 0 / 444.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.2796, allocations: 3.984 kB / 444.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.2815, allocations: 1.29 MB / 445.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.2815, allocations: 4 kB / 445.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.282, allocations: 119.8 kB / 445.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.282, allocations: 4 kB / 445.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.282, allocations: 20 kB / 446 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.282, allocations: 7.938 kB / 446 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.282, allocations: 8 kB / 446 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.2832, allocations: 0.8471 MB / 446.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.997e-05/0.2833, allocations: 120.9 kB / 446.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.2833, allocations: 16 kB / 447 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.2836, allocations: 23.92 kB / 447 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/0.2836, allocations: 48.27 kB / 447 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.2837, allocations: 28 kB / 447.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.2838, allocations: 152.5 kB / 447.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2838, allocations: 0 / 447.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003979/0.2842, allocations: 96 kB / 447.3 MB, free: 7.566 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.0001496/0.2844, allocations: 123.1 kB / 447.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006525/0.285, allocations: 391 kB / 447.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.285, allocations: 4 kB / 447.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003565/0.2854, allocations: 226.2 kB / 448 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006727/0.2861, allocations: 93.61 kB / 448.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.2878, allocations: 1.059 MB / 449.2 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.2882, allocations: 0.7973 MB / 450 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.2884, allocations: 43.42 kB / 450 MB, free: 4.715 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.2884, allocations: 0 / 450 MB, free: 4.715 MB / 350.1 MB Notification: Performance of Templates: time 0.007764/0.2961, allocations: 4.777 MB / 454.8 MB, free: 15.96 MB / 366.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: 6.908485027961433]