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.001887/0.001887, allocations: 99.53 kB / 21.73 MB, free: 2.688 MB / 18.57 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.001984/0.001984, allocations: 163 kB / 25.03 MB, free: 7.898 MB / 18.57 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.369/1.369, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 250.3 MB, free: 3.953 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.184e-05/3.36e-05, allocations: 5.406 kB / 250.3 MB, free: 3.949 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004614/0.004647, allocations: 2.556 MB / 252.9 MB, free: 1.375 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008368/0.005484, allocations: 370.7 kB / 253.3 MB, free: 1.012 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.005633, allocations: 11.94 kB / 253.3 MB, free: 1 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.005808, allocations: 47.56 kB / 253.3 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.006024, allocations: 107 kB / 253.4 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.006364, allocations: 95.73 kB / 253.5 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004956/0.00686, allocations: 386.2 kB / 253.9 MB, free: 384 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002552/0.007115, allocations: 83.62 kB / 254 MB, free: 296 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/0.007453, allocations: 215.6 kB / 254.2 MB, free: 80 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.007711, allocations: 127.6 kB / 254.3 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.125e-05/0.007772, allocations: 28 kB / 254.3 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-05/0.007841, allocations: 32 kB / 254.4 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.846e-05/0.00793, allocations: 71.73 kB / 254.4 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.008089, allocations: 115.7 kB / 254.6 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.008629, allocations: 390.7 kB / 254.9 MB, free: 15.33 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.008634, allocations: 0 / 254.9 MB, free: 15.33 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.008636, allocations: 0 / 254.9 MB, free: 15.33 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.008643, allocations: 0 / 254.9 MB, free: 15.33 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.001289/0.009931, allocations: 0.6555 MB / 255.6 MB, free: 14.63 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.009976, allocations: 15.97 kB / 255.6 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.0101, allocations: 60.7 kB / 255.7 MB, free: 14.55 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.01049, allocations: 211.9 kB / 255.9 MB, free: 14.32 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.14e-05/0.01053, allocations: 29.03 kB / 255.9 MB, free: 14.29 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/0.01059, allocations: 28.38 kB / 255.9 MB, free: 14.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005653/0.01116, allocations: 258.6 kB / 256.2 MB, free: 14.01 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.01118, allocations: 8.125 kB / 256.2 MB, free: 14 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.01121, allocations: 12.38 kB / 256.2 MB, free: 13.99 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.01123, allocations: 8.375 kB / 256.2 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.01179, allocations: 242.4 kB / 256.5 MB, free: 13.74 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.01332, allocations: 0.7556 MB / 257.2 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006681/0.01399, allocations: 347.1 kB / 257.5 MB, free: 12.6 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.01432, allocations: 171.5 kB / 257.7 MB, free: 12.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-05/0.01438, allocations: 12 kB / 257.7 MB, free: 12.41 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.01442, allocations: 37.39 kB / 257.8 MB, free: 12.37 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.833e-06/0.01442, allocations: 0 / 257.8 MB, free: 12.37 MB / 250.7 MB Notification: Performance of matching and sorting (n=63): time 0.004044/0.01846, allocations: 1.735 MB / 259.5 MB, free: 10.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001844/0.01865, allocations: 60.06 kB / 259.6 MB, free: 10.5 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.01893, allocations: 265.6 kB / 259.8 MB, free: 10.22 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.01897, allocations: 33.7 kB / 259.8 MB, free: 10.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.01914, allocations: 199.8 kB / 260 MB, free: 9.984 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.01938, allocations: 242 kB / 260.3 MB, free: 9.746 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.01957, allocations: 112 kB / 260.4 MB, free: 9.625 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003449/0.01991, allocations: 0.5313 MB / 260.9 MB, free: 9.082 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/0.02027, allocations: 149.2 kB / 261.1 MB, free: 8.938 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.0206, allocations: 161.8 kB / 261.2 MB, free: 8.777 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007317/0.02133, allocations: 384.7 kB / 261.6 MB, free: 8.402 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.02134, allocations: 3.938 kB / 261.6 MB, free: 8.398 MB / 250.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009431/0.02228, allocations: 493.1 kB / 262.1 MB, free: 7.91 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.0223, allocations: 4 kB / 262.1 MB, free: 7.906 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.02231, allocations: 0 / 262.1 MB, free: 7.906 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.02233, allocations: 4 kB / 262.1 MB, free: 7.902 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.02284, allocations: 115.8 kB / 262.2 MB, free: 7.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.02285, allocations: 7.984 kB / 262.2 MB, free: 7.781 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.02303, allocations: 16 kB / 262.2 MB, free: 7.766 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.02307, allocations: 16 kB / 262.2 MB, free: 7.75 MB / 250.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.0002474/0.02332, allocations: 212.4 kB / 262.5 MB, free: 7.531 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.02342, allocations: 59.75 kB / 262.5 MB, free: 7.473 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.02357, allocations: 47.34 kB / 262.6 MB, free: 7.426 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.02358, allocations: 8 kB / 262.6 MB, free: 7.418 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.02358, allocations: 0 / 262.6 MB, free: 7.418 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.02359, allocations: 3.984 kB / 262.6 MB, free: 7.414 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.02598, allocations: 1.332 MB / 263.9 MB, free: 5.961 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.02599, allocations: 8.062 kB / 263.9 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005214/0.02651, allocations: 119.8 kB / 264 MB, free: 5.836 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.02652, allocations: 4 kB / 264 MB, free: 5.832 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/0.02656, allocations: 16 kB / 264 MB, free: 5.816 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/0.02657, allocations: 11.94 kB / 264.1 MB, free: 5.805 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/0.02658, allocations: 7.938 kB / 264.1 MB, free: 5.797 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.0282, allocations: 0.9842 MB / 265 MB, free: 4.719 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.75e-05/0.02827, allocations: 31.81 kB / 265.1 MB, free: 4.688 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.195e-05/0.02833, allocations: 16 kB / 265.1 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.02856, allocations: 19.98 kB / 265.1 MB, free: 4.652 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.02868, allocations: 59.55 kB / 265.2 MB, free: 4.594 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-05/0.02872, allocations: 20 kB / 265.2 MB, free: 4.574 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001667/0.02889, allocations: 180.4 kB / 265.4 MB, free: 4.398 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02889, allocations: 0 / 265.4 MB, free: 4.398 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004397/0.02933, allocations: 96 kB / 265.5 MB, free: 4.305 MB / 250.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.0001942/0.02952, allocations: 130.9 kB / 265.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009083/0.03043, allocations: 448.9 kB / 266 MB, free: 3.723 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.03043, allocations: 0 / 266 MB, free: 3.723 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.03089, allocations: 261.3 kB / 266.3 MB, free: 3.465 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006901/0.03158, allocations: 96.06 kB / 266.4 MB, free: 3.371 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.0337, allocations: 0.9779 MB / 267.4 MB, free: 2.285 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.03393, allocations: 187.3 kB / 267.5 MB, free: 2.082 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.03413, allocations: 51.25 kB / 267.6 MB, free: 2.035 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.03425, allocations: 36.5 kB / 267.6 MB, free: 2 MB / 250.7 MB Notification: Performance of SimCode: time 9.42e-07/0.03425, allocations: 0 / 267.6 MB, free: 2 MB / 250.7 MB Notification: Performance of Templates: time 0.01054/0.04479, allocations: 4.163 MB / 271.8 MB, free: 13.88 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins/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.5575059310067445]