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.001864/0.001864, allocations: 111 kB / 21.18 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.002387/0.002387, allocations: 209.2 kB / 24.47 MB, free: 3.977 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.608/1.608, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001611/0.001611, allocations: 43.92 kB / 378.9 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3596, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.00457/0.3642, allocations: 2.478 MB / 434.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.3658, allocations: 0.7053 MB / 435.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.3659, allocations: 7.938 kB / 435.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.3661, allocations: 43.52 kB / 435.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.3664, allocations: 111 kB / 435.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.3668, allocations: 95.81 kB / 435.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.3672, allocations: 386.3 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.3675, allocations: 86.52 kB / 436.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.3677, allocations: 147.5 kB / 436.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.3679, allocations: 175.2 kB / 436.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.725e-05/0.368, allocations: 32 kB / 436.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.271e-05/0.3681, allocations: 28 kB / 436.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.134e-05/0.3681, allocations: 75.75 kB / 436.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.3683, allocations: 139.3 kB / 436.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004961/0.3688, allocations: 390.1 kB / 437.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3688, allocations: 0 / 437.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3688, allocations: 0 / 437.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3688, allocations: 0 / 437.2 MB, free: 1.84 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.00126/0.3701, allocations: 0.5558 MB / 437.7 MB, free: 1.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.3701, allocations: 12.03 kB / 437.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.585e-05/0.3702, allocations: 40.64 kB / 437.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004573/0.3707, allocations: 207 kB / 438 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/0.3707, allocations: 25.03 kB / 438 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.272e-05/0.3708, allocations: 35.89 kB / 438 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/0.3713, allocations: 262 kB / 438.3 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.3713, allocations: 4 kB / 438.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.3714, allocations: 12 kB / 438.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.3714, allocations: 8 kB / 438.3 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/0.3718, allocations: 226.5 kB / 438.5 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.3731, allocations: 0.6593 MB / 439.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005943/0.3737, allocations: 311.4 kB / 439.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.374, allocations: 157.5 kB / 439.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.374, allocations: 12.36 kB / 439.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.374, allocations: 38.88 kB / 439.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.543e-06/0.374, allocations: 4 kB / 439.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004017/0.3781, allocations: 1.76 MB / 441.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.3781, allocations: 64 kB / 441.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.3784, allocations: 195 kB / 441.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.3784, allocations: 37.7 kB / 441.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.3785, allocations: 153.1 kB / 441.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.3787, allocations: 237.9 kB / 442.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.3789, allocations: 90.34 kB / 442.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002256/0.3791, allocations: 346.8 kB / 442.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.3794, allocations: 141.3 kB / 442.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.3797, allocations: 153.8 kB / 442.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005809/0.3802, allocations: 354 kB / 443.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3802, allocations: 0 / 443.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007449/0.381, allocations: 461.1 kB / 443.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.381, allocations: 8 kB / 443.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.381, allocations: 0 / 443.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.381, allocations: 4 kB / 443.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.3815, allocations: 119.8 kB / 443.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.3816, allocations: 7.938 kB / 443.8 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.3817, allocations: 19.98 kB / 443.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.3818, allocations: 16 kB / 443.8 MB, free: 10.96 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.0002225/0.382, allocations: 161.7 kB / 444 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-05/0.3821, allocations: 43.77 kB / 444 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.3823, allocations: 47.33 kB / 444.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.3823, allocations: 8 kB / 444.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.3823, allocations: 3.938 kB / 444.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.3823, allocations: 7.984 kB / 444.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.3842, allocations: 1.145 MB / 445.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.3842, allocations: 7.938 kB / 445.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004925/0.3847, allocations: 115.8 kB / 445.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.3847, allocations: 8 kB / 445.4 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.3848, allocations: 19.98 kB / 445.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.3848, allocations: 8 kB / 445.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.3848, allocations: 7.938 kB / 445.4 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.3859, allocations: 0.8378 MB / 446.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.386, allocations: 43.7 kB / 446.3 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.3861, allocations: 20.03 kB / 446.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.3863, allocations: 16 kB / 446.3 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.495e-05/0.3864, allocations: 52.23 kB / 446.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.3864, allocations: 20 kB / 446.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.3866, allocations: 148.5 kB / 446.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3866, allocations: 0 / 446.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003995/0.387, allocations: 96 kB / 446.6 MB, free: 7.984 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.0001672/0.3871, allocations: 127.1 kB / 446.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006622/0.3878, allocations: 383.7 kB / 447.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3878, allocations: 0 / 447.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000351/0.3881, allocations: 227.2 kB / 447.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006943/0.3888, allocations: 102.1 kB / 447.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.3907, allocations: 1.028 MB / 448.5 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.3909, allocations: 195.3 kB / 448.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001862/0.3911, allocations: 51.22 kB / 448.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.3912, allocations: 35.44 kB / 448.8 MB, free: 5.746 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3912, allocations: 0 / 448.8 MB, free: 5.746 MB / 350.1 MB Notification: Performance of Templates: time 0.01057/0.4018, allocations: 4.978 MB / 453.7 MB, free: 0.8555 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 cvode -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: 5.164386367003317]