Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001644/0.001644, allocations: 84.81 kB / 22 MB, free: 5.176 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.002366/0.002366, allocations: 161.8 kB / 25.25 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 158.6 MB / 187 MB, free: 6.242 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 59.92 kB / 299.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2117, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003671/0.2154, allocations: 2.391 MB / 350.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009928/0.2164, allocations: 370.7 kB / 351.3 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.2165, allocations: 7.938 kB / 351.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.2167, allocations: 51.5 kB / 351.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.2169, allocations: 95.12 kB / 351.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.2172, allocations: 103.8 kB / 351.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003977/0.2176, allocations: 370.4 kB / 351.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.2178, allocations: 79.62 kB / 351.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.218, allocations: 155.5 kB / 352.1 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.2182, allocations: 139.3 kB / 352.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.115e-05/0.2182, allocations: 32 kB / 352.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.226e-05/0.2183, allocations: 28 kB / 352.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.358e-05/0.2184, allocations: 67.75 kB / 352.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.2185, allocations: 139.4 kB / 352.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.2189, allocations: 381 kB / 352.9 MB, free: 11.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2189, allocations: 0 / 352.9 MB, free: 11.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2189, allocations: 0 / 352.9 MB, free: 11.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.2189, allocations: 3.938 kB / 352.9 MB, free: 11.13 MB / 318.1 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.001067/0.22, allocations: 0.5598 MB / 353.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.22, allocations: 11.98 kB / 353.4 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.41e-05/0.2201, allocations: 36.7 kB / 353.5 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.2205, allocations: 213.7 kB / 353.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.2205, allocations: 25.03 kB / 353.7 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/0.2206, allocations: 36.31 kB / 353.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.2211, allocations: 270.6 kB / 354 MB, free: 9.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.2211, allocations: 4.188 kB / 354 MB, free: 9.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.2212, allocations: 19.94 kB / 354 MB, free: 9.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.2212, allocations: 8 kB / 354 MB, free: 9.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005813/0.2218, allocations: 262.4 kB / 354.3 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.2229, allocations: 0.647 MB / 354.9 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006215/0.2236, allocations: 338.7 kB / 355.3 MB, free: 8.617 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.2239, allocations: 176.8 kB / 355.4 MB, free: 8.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.2239, allocations: 8 kB / 355.5 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.224, allocations: 34.56 kB / 355.5 MB, free: 8.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.613e-06/0.224, allocations: 0 / 355.5 MB, free: 8.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004259/0.2282, allocations: 1.82 MB / 357.3 MB, free: 6.516 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.2283, allocations: 60.06 kB / 357.4 MB, free: 6.445 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.2285, allocations: 186.6 kB / 357.6 MB, free: 6.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/0.2285, allocations: 37.64 kB / 357.6 MB, free: 6.207 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.2286, allocations: 149.1 kB / 357.7 MB, free: 6.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.2288, allocations: 230 kB / 358 MB, free: 5.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.2289, allocations: 94.33 kB / 358.1 MB, free: 5.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.2291, allocations: 346.8 kB / 358.4 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.2294, allocations: 161.2 kB / 358.5 MB, free: 5.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.2298, allocations: 169.8 kB / 358.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007175/0.2305, allocations: 377.9 kB / 359.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2305, allocations: 0 / 359.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000885/0.2314, allocations: 497 kB / 359.6 MB, free: 4.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.2314, allocations: 4 kB / 359.6 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2314, allocations: 0 / 359.6 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.2314, allocations: 4 kB / 359.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.2319, allocations: 115.9 kB / 359.7 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2319, allocations: 8 kB / 359.7 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.2321, allocations: 19.98 kB / 359.7 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.2322, allocations: 19.98 kB / 359.7 MB, free: 4.031 MB / 318.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 (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.0002011/0.2324, allocations: 169.6 kB / 359.9 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.755e-05/0.2325, allocations: 35.81 kB / 359.9 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.2326, allocations: 43.34 kB / 360 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.2326, allocations: 4 kB / 360 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2326, allocations: 0 / 360 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.2326, allocations: 7.969 kB / 360 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.2347, allocations: 1.165 MB / 361.2 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.2347, allocations: 4 kB / 361.2 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000512/0.2352, allocations: 119.8 kB / 361.3 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.2352, allocations: 8 kB / 361.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.095e-05/0.2353, allocations: 23.98 kB / 361.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.969e-06/0.2353, allocations: 11.94 kB / 361.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.2353, allocations: 7.938 kB / 361.3 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.2367, allocations: 0.8756 MB / 362.2 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.2368, allocations: 47.75 kB / 362.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.2368, allocations: 16 kB / 362.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.2371, allocations: 31.86 kB / 362.3 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.23e-05/0.2372, allocations: 59.8 kB / 362.4 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.2372, allocations: 23.98 kB / 362.4 MB, free: 1.215 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.2374, allocations: 132.9 kB / 362.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2374, allocations: 0 / 362.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004189/0.2378, allocations: 96 kB / 362.6 MB, free: 0.9922 MB / 318.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 (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.0001523/0.2379, allocations: 119.1 kB / 362.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008756/0.2388, allocations: 423.9 kB / 363.1 MB, free: 460 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.2388, allocations: 4 kB / 363.1 MB, free: 456 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000449/0.2393, allocations: 232.5 kB / 363.4 MB, free: 224 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/0.2399, allocations: 87.88 kB / 363.4 MB, free: 136 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.2417, allocations: 1.016 MB / 364.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.2419, allocations: 187.3 kB / 364.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.2421, allocations: 47.25 kB / 364.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.2422, allocations: 40.5 kB / 364.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2422, allocations: 4 kB / 364.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of Templates: time 0.009243/0.2514, allocations: 4.18 MB / 368.9 MB, free: 10.56 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.337105565937236]