Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002155/0.002155, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.125e-05/3.29e-05, allocations: 2.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004258/0.004291, allocations: 2.419 MB / 269.7 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.005538, allocations: 378.6 kB / 270.1 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000293/0.005831, allocations: 11.94 kB / 270.1 MB, free: 3.922 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002568/0.006088, allocations: 51.44 kB / 270.2 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003641/0.006452, allocations: 99.12 kB / 270.3 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.006883, allocations: 99.73 kB / 270.3 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005958/0.007479, allocations: 394 kB / 270.7 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.007726, allocations: 79.61 kB / 270.8 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004241/0.00815, allocations: 207.6 kB / 271 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.008415, allocations: 127.6 kB / 271.1 MB, free: 2.879 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.198e-05/0.008487, allocations: 28 kB / 271.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.158e-05/0.008569, allocations: 35.94 kB / 271.2 MB, free: 2.816 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.538e-05/0.008654, allocations: 67.75 kB / 271.3 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.008861, allocations: 119.7 kB / 271.4 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.009389, allocations: 378.7 kB / 271.8 MB, free: 2.262 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.009396, allocations: 3.984 kB / 271.8 MB, free: 2.258 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.009397, allocations: 4 kB / 271.8 MB, free: 2.254 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.00941, allocations: 0 / 271.8 MB, free: 2.254 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001311/0.01072, allocations: 0.5598 MB / 272.3 MB, free: 1.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.01076, allocations: 8.922 kB / 272.3 MB, free: 1.652 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.0109, allocations: 56.75 kB / 272.4 MB, free: 1.598 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.01132, allocations: 221 kB / 272.6 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/0.01136, allocations: 17.03 kB / 272.6 MB, free: 1.336 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.018e-05/0.01143, allocations: 32.38 kB / 272.6 MB, free: 1.305 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006469/0.01208, allocations: 270.6 kB / 272.9 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.0121, allocations: 4.188 kB / 272.9 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.01213, allocations: 12.38 kB / 272.9 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.01215, allocations: 8.375 kB / 272.9 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006614/0.01281, allocations: 266.4 kB / 273.2 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.01429, allocations: 0.6434 MB / 273.8 MB, free: 80 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007125/0.01501, allocations: 338.6 kB / 274.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.01538, allocations: 172.8 kB / 274.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.01542, allocations: 8 kB / 274.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.01546, allocations: 38.56 kB / 274.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.914e-06/0.01546, allocations: 0 / 274.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.004956/0.02042, allocations: 1.849 MB / 276.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.02047, allocations: 60.06 kB / 276.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.02071, allocations: 195.1 kB / 276.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.02075, allocations: 33.7 kB / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.02087, allocations: 149.1 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.02109, allocations: 218.1 kB / 276.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.02125, allocations: 94.34 kB / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.02145, allocations: 346.8 kB / 277.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/0.02183, allocations: 157.2 kB / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.0222, allocations: 165.8 kB / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007839/0.02298, allocations: 377.9 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.02299, allocations: 7.938 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001014/0.024, allocations: 0.501 MB / 278.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.02402, allocations: 4 kB / 278.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.02403, allocations: 3.938 kB / 278.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.02405, allocations: 4 kB / 278.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.02458, allocations: 119.9 kB / 278.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.02459, allocations: 0 / 278.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.02482, allocations: 27.98 kB / 278.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/0.02486, allocations: 19.98 kB / 278.7 MB, free: 11.1 MB / 266.7 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 (69): * Single equations (assignments): 69 * 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.0002304/0.02509, allocations: 165.7 kB / 278.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.02522, allocations: 51.81 kB / 278.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.02535, allocations: 51.27 kB / 278.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.02536, allocations: 8 kB / 278.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.02537, allocations: 0 / 278.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.02538, allocations: 0 / 278.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.02774, allocations: 1.18 MB / 280.1 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.02775, allocations: 4 kB / 280.1 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/0.0283, allocations: 127.8 kB / 280.3 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/0.02831, allocations: 8 kB / 280.3 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.436e-05/0.02836, allocations: 16 kB / 280.3 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.02836, allocations: 4 kB / 280.3 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.02837, allocations: 11.94 kB / 280.3 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.03001, allocations: 0.8983 MB / 281.2 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-05/0.03009, allocations: 31.81 kB / 281.2 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.131e-05/0.03016, allocations: 20 kB / 281.2 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.03045, allocations: 28.02 kB / 281.3 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.03056, allocations: 51.8 kB / 281.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.0306, allocations: 24 kB / 281.3 MB, free: 8.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00014/0.03074, allocations: 136.2 kB / 281.5 MB, free: 8.117 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03074, allocations: 0 / 281.5 MB, free: 8.117 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004668/0.03121, allocations: 96 kB / 281.6 MB, free: 8.023 MB / 266.7 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 (63): * Single equations (assignments): 63 * 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.0001784/0.03139, allocations: 127 kB / 281.7 MB, free: 7.891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009596/0.03235, allocations: 416.1 kB / 282.1 MB, free: 7.484 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.03235, allocations: 4 kB / 282.1 MB, free: 7.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004968/0.03285, allocations: 239.7 kB / 282.3 MB, free: 7.246 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007073/0.03356, allocations: 88.59 kB / 282.4 MB, free: 7.164 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.03553, allocations: 0.9267 MB / 283.4 MB, free: 6.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.03575, allocations: 183.3 kB / 283.5 MB, free: 5.965 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.03595, allocations: 47.25 kB / 283.6 MB, free: 5.922 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.03608, allocations: 40.48 kB / 283.6 MB, free: 5.883 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.03609, allocations: 4 kB / 283.6 MB, free: 5.879 MB / 266.7 MB Notification: Performance of Templates: time 0.01163/0.04772, allocations: 4.173 MB / 287.8 MB, free: 1.773 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.409605325898156]