Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 111 kB / 21.19 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 215.5 kB / 24.48 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 258.2 MB, free: 7.812 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 47.92 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2186, allocations: 53.36 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003638/0.2223, allocations: 2.472 MB / 434.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.2235, allocations: 0.7053 MB / 435.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.2236, allocations: 7.938 kB / 435.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.2238, allocations: 51.5 kB / 435.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.224, allocations: 103.1 kB / 435.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.2243, allocations: 95.81 kB / 435.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.2247, allocations: 390.3 kB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.2248, allocations: 87.23 kB / 436.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.225, allocations: 147.5 kB / 436.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.2252, allocations: 171.2 kB / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.459e-05/0.2253, allocations: 32 kB / 436.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.309e-05/0.2253, allocations: 28 kB / 436.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.874e-05/0.2254, allocations: 75.75 kB / 436.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.2256, allocations: 139.4 kB / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.226, allocations: 389.3 kB / 437.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.226, allocations: 0 / 437.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.226, allocations: 0 / 437.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.226, allocations: 0 / 437.2 MB, free: 1.883 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.001045/0.227, allocations: 0.5558 MB / 437.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2271, allocations: 12.03 kB / 437.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.526e-05/0.2271, allocations: 36.7 kB / 437.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.2275, allocations: 214.9 kB / 438 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.2275, allocations: 21.03 kB / 438 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.2276, allocations: 43.88 kB / 438 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.2281, allocations: 254.1 kB / 438.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.2281, allocations: 0 / 438.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.2281, allocations: 16 kB / 438.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.2281, allocations: 7.938 kB / 438.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004036/0.2285, allocations: 226.5 kB / 438.5 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.2298, allocations: 0.6632 MB / 439.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005073/0.2303, allocations: 317.1 kB / 439.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.2306, allocations: 161.5 kB / 439.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.2306, allocations: 4.375 kB / 439.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.2306, allocations: 42.88 kB / 439.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.034e-06/0.2306, allocations: 0 / 439.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.003943/0.2346, allocations: 1.76 MB / 441.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.2346, allocations: 64 kB / 441.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.2348, allocations: 195 kB / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.2349, allocations: 41.7 kB / 441.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.235, allocations: 153.1 kB / 441.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.2352, allocations: 234 kB / 442.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.2353, allocations: 94.34 kB / 442.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.2355, allocations: 346.8 kB / 442.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.2357, allocations: 141.2 kB / 442.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.236, allocations: 153.8 kB / 442.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005532/0.2365, allocations: 357.9 kB / 443.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2365, allocations: 0 / 443.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007273/0.2372, allocations: 457.1 kB / 443.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.2373, allocations: 11.94 kB / 443.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2373, allocations: 4 kB / 443.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2373, allocations: 0 / 443.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.2378, allocations: 123.8 kB / 443.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.2378, allocations: 7.938 kB / 443.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.238, allocations: 12 kB / 443.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.238, allocations: 20 kB / 443.8 MB, free: 11 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.0001695/0.2382, allocations: 157.7 kB / 444 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/0.2382, allocations: 43.77 kB / 444 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.2383, allocations: 47.33 kB / 444.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.2384, allocations: 12 kB / 444.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.2384, allocations: 3.938 kB / 444.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.2384, allocations: 3.984 kB / 444.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.2402, allocations: 1.145 MB / 445.2 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.2402, allocations: 7.938 kB / 445.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/0.2407, allocations: 115.8 kB / 445.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.2407, allocations: 11.98 kB / 445.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.2407, allocations: 16 kB / 445.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.2407, allocations: 8 kB / 445.4 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.2407, allocations: 7.938 kB / 445.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.2419, allocations: 0.842 MB / 446.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.2419, allocations: 39.7 kB / 446.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.242, allocations: 20.03 kB / 446.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.2422, allocations: 16 kB / 446.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/0.2423, allocations: 52.23 kB / 446.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-05/0.2424, allocations: 23.98 kB / 446.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.2425, allocations: 148.5 kB / 446.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2425, allocations: 0 / 446.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003958/0.2429, allocations: 96 kB / 446.6 MB, free: 8.02 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.0001318/0.243, allocations: 123.1 kB / 446.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006365/0.2436, allocations: 383.7 kB / 447.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2436, allocations: 4 kB / 447.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003501/0.244, allocations: 219 kB / 447.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006583/0.2447, allocations: 100.2 kB / 447.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.2463, allocations: 1.032 MB / 448.5 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.2465, allocations: 195.3 kB / 448.7 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001813/0.2467, allocations: 47.28 kB / 448.7 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.2468, allocations: 39.42 kB / 448.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2468, allocations: 0 / 448.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of Templates: time 0.00987/0.2567, allocations: 4.969 MB / 453.7 MB, free: 0.8984 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.3482406080001965]