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.001861/0.001861, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002299/0.002299, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.485/1.485, allocations: 230.6 MB / 258.2 MB, free: 7.82 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.001635/0.001635, allocations: 47.92 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2832, allocations: 53.36 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003892/0.2871, allocations: 2.476 MB / 434.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.2885, allocations: 0.6975 MB / 435.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.2887, allocations: 7.938 kB / 435.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.2888, allocations: 55.44 kB / 435.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.2891, allocations: 111 kB / 435.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.2894, allocations: 95.81 kB / 435.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.2898, allocations: 382.3 kB / 436.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.29, allocations: 82.52 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.2902, allocations: 151.5 kB / 436.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.2904, allocations: 151.2 kB / 436.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.272e-05/0.2904, allocations: 32 kB / 436.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.118e-05/0.2905, allocations: 32 kB / 436.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.2906, allocations: 63.77 kB / 436.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.2907, allocations: 151.4 kB / 436.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004151/0.2912, allocations: 386.1 kB / 437.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2912, allocations: 0 / 437.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2912, allocations: 0 / 437.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.2912, allocations: 0 / 437.2 MB, free: 1.895 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.001068/0.2922, allocations: 0.5597 MB / 437.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.2923, allocations: 8.031 kB / 437.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.489e-05/0.2924, allocations: 40.7 kB / 437.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.2928, allocations: 206.9 kB / 438 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.2928, allocations: 21.03 kB / 438 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.619e-05/0.2929, allocations: 47.88 kB / 438 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004638/0.2933, allocations: 254.1 kB / 438.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.2933, allocations: 0 / 438.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.2934, allocations: 12 kB / 438.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.2934, allocations: 8 kB / 438.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004145/0.2938, allocations: 234.4 kB / 438.5 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.2951, allocations: 0.6516 MB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005171/0.2956, allocations: 323.9 kB / 439.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.2959, allocations: 153.5 kB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.2959, allocations: 8.375 kB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.2959, allocations: 38.88 kB / 439.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.073e-06/0.2959, allocations: 0 / 439.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.003829/0.2998, allocations: 1.768 MB / 441.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.2998, allocations: 60 kB / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.3001, allocations: 199 kB / 441.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.3001, allocations: 37.7 kB / 441.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.3002, allocations: 145.1 kB / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.3004, allocations: 238 kB / 442.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.3005, allocations: 98.28 kB / 442.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3007, allocations: 342.8 kB / 442.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.301, allocations: 149.2 kB / 442.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.3012, allocations: 149.9 kB / 442.8 MB, free: 12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005709/0.3018, allocations: 357.9 kB / 443.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3018, allocations: 0 / 443.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007246/0.3025, allocations: 461.1 kB / 443.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3025, allocations: 7.938 kB / 443.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3025, allocations: 0 / 443.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3025, allocations: 4 kB / 443.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/0.303, allocations: 115.8 kB / 443.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.303, allocations: 11.94 kB / 443.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.3032, allocations: 19.98 kB / 443.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.3032, allocations: 16 kB / 443.8 MB, free: 11.02 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.0001872/0.3034, allocations: 157.7 kB / 444 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.3035, allocations: 35.77 kB / 444 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.3036, allocations: 55.33 kB / 444.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.3036, allocations: 8 kB / 444.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.3036, allocations: 3.938 kB / 444.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3036, allocations: 3.984 kB / 444.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.3055, allocations: 1.142 MB / 445.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.3055, allocations: 12 kB / 445.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004617/0.3059, allocations: 119.8 kB / 445.3 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.306, allocations: 4 kB / 445.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.306, allocations: 27.98 kB / 445.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.306, allocations: 4 kB / 445.4 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/0.306, allocations: 11.94 kB / 445.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.3072, allocations: 0.8339 MB / 446.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.446e-05/0.3072, allocations: 39.7 kB / 446.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.3073, allocations: 24.03 kB / 446.3 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.3075, allocations: 16 kB / 446.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.56e-05/0.3076, allocations: 56.23 kB / 446.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.3076, allocations: 20 kB / 446.4 MB, free: 8.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.3078, allocations: 148.6 kB / 446.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3078, allocations: 0 / 446.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000414/0.3082, allocations: 96 kB / 446.6 MB, free: 8.035 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.0001464/0.3083, allocations: 115.1 kB / 446.7 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006805/0.309, allocations: 387.7 kB / 447.1 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.309, allocations: 3.938 kB / 447.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003619/0.3094, allocations: 226.2 kB / 447.3 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006733/0.3101, allocations: 96.97 kB / 447.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.3118, allocations: 1.064 MB / 448.5 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.312, allocations: 191.3 kB / 448.7 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.3121, allocations: 43.42 kB / 448.7 MB, free: 5.812 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3121, allocations: 0 / 448.7 MB, free: 5.812 MB / 350.1 MB Notification: Performance of Templates: time 0.008139/0.3203, allocations: 4.895 MB / 453.6 MB, free: 0.9375 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 -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: 7.524035228881985]