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.00139/0.00139, allocations: 82.28 kB / 20.68 MB, free: 1.027 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.001702/0.001702, allocations: 168.3 kB / 23.95 MB, free: 4.156 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.445/1.445, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.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 1.683e-06/1.683e-06, allocations: 0 / 325 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.972e-05, allocations: 3.281 kB / 325 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.00378/0.00381, allocations: 2.479 MB / 327.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.00529, allocations: 0.7041 MB / 328.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.005444, allocations: 9.125 kB / 328.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.005623, allocations: 55.38 kB / 328.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.005867, allocations: 116.6 kB / 328.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.006221, allocations: 93.83 kB / 328.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004634/0.006685, allocations: 405.1 kB / 328.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.006892, allocations: 74.22 kB / 329 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.007185, allocations: 228.6 kB / 329.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.007408, allocations: 120.7 kB / 329.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.263e-05/0.007471, allocations: 30.44 kB / 329.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.277e-05/0.007534, allocations: 30.06 kB / 329.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.455e-05/0.007618, allocations: 74.64 kB / 329.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.007792, allocations: 121.1 kB / 329.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005194/0.008311, allocations: 390 kB / 329.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.008315, allocations: 0.7031 kB / 329.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.008316, allocations: 0 / 329.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.008328, allocations: 3.938 kB / 329.9 MB, free: 13.57 MB / 302.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.001126/0.009454, allocations: 0.5516 MB / 330.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.009495, allocations: 9.844 kB / 330.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.185e-05/0.009577, allocations: 39.17 kB / 330.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/0.01, allocations: 216 kB / 330.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.01003, allocations: 24.84 kB / 330.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/0.0101, allocations: 31.3 kB / 330.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.01062, allocations: 266.9 kB / 331.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.01064, allocations: 1.469 kB / 331.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.01068, allocations: 14.94 kB / 331.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.01069, allocations: 7.219 kB / 331.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004512/0.01114, allocations: 230.3 kB / 331.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.0125, allocations: 0.6506 MB / 332 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005677/0.01307, allocations: 315.4 kB / 332.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.01339, allocations: 160.3 kB / 332.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.01342, allocations: 13.83 kB / 332.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.01346, allocations: 37.34 kB / 332.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=45): time 1.723e-06/0.01346, allocations: 0 / 332.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.00418/0.01764, allocations: 1.755 MB / 334.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.01776, allocations: 61.7 kB / 334.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.01798, allocations: 194.2 kB / 334.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/0.01802, allocations: 40.39 kB / 334.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.01815, allocations: 160 kB / 334.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.01835, allocations: 235.2 kB / 334.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.01849, allocations: 91.94 kB / 335 MB, free: 10.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.01868, allocations: 351.4 kB / 335.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.01894, allocations: 142.8 kB / 335.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.0192, allocations: 149.2 kB / 335.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005892/0.01979, allocations: 354.4 kB / 336 MB, free: 9.465 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01979, allocations: 0 / 336 MB, free: 9.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008452/0.02063, allocations: 469.8 kB / 336.4 MB, free: 9.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.02065, allocations: 5.688 kB / 336.4 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.02066, allocations: 0 / 336.4 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.02068, allocations: 7.219 kB / 336.4 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.02117, allocations: 114.7 kB / 336.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.02118, allocations: 3.375 kB / 336.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.02137, allocations: 17.67 kB / 336.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.02141, allocations: 19.53 kB / 336.6 MB, free: 9.184 MB / 302.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.0002124/0.02163, allocations: 158.2 kB / 336.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.461e-05/0.0217, allocations: 37.56 kB / 336.8 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.02183, allocations: 47.86 kB / 336.8 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.02183, allocations: 6.688 kB / 336.8 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/0.02185, allocations: 8 kB / 336.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.02186, allocations: 5.203 kB / 336.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.02383, allocations: 1.142 MB / 338 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.02384, allocations: 4 kB / 338 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004878/0.02432, allocations: 115.8 kB / 338.1 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.286e-05/0.02435, allocations: 8 kB / 338.1 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/0.0244, allocations: 23.92 kB / 338.1 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/0.02441, allocations: 7.938 kB / 338.2 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.02441, allocations: 8 kB / 338.2 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.02563, allocations: 0.8346 MB / 339 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.02569, allocations: 35.77 kB / 339 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-05/0.02576, allocations: 31.91 kB / 339.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.026, allocations: 19.94 kB / 339.1 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.739e-05/0.02609, allocations: 52.3 kB / 339.1 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.02613, allocations: 20 kB / 339.2 MB, free: 6.664 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.02627, allocations: 144.6 kB / 339.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02627, allocations: 0 / 339.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004202/0.02669, allocations: 96 kB / 339.4 MB, free: 6.43 MB / 302.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.0001638/0.02685, allocations: 127.2 kB / 339.5 MB, free: 6.297 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000703/0.02756, allocations: 388.2 kB / 339.9 MB, free: 5.914 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.02756, allocations: 0 / 339.9 MB, free: 5.914 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003823/0.02794, allocations: 223.5 kB / 340.1 MB, free: 5.691 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007059/0.02865, allocations: 99.45 kB / 340.2 MB, free: 5.598 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.03023, allocations: 0.9243 MB / 341.1 MB, free: 4.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.03043, allocations: 191.3 kB / 341.3 MB, free: 4.379 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001856/0.03062, allocations: 55.28 kB / 341.4 MB, free: 4.324 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.03073, allocations: 40.44 kB / 341.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.03073, allocations: 0 / 341.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of Templates: time 0.009798/0.04053, allocations: 4.41 MB / 345.8 MB, free: 15.96 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins/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.337811257690191]