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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 102.5 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002268/0.002268, allocations: 194.2 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 225.6 MB / 251.4 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] 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 0.001552/0.001552, allocations: 43.92 kB / 369.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2964, allocations: 52.14 MB / 421.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004205/0.3006, allocations: 2.632 MB / 423.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008368/0.3015, allocations: 382.7 kB / 424.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.3016, allocations: 7.938 kB / 424.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.3018, allocations: 43.52 kB / 424.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.302, allocations: 103.1 kB / 424.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.3023, allocations: 91.83 kB / 424.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.3027, allocations: 378.4 kB / 424.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.3029, allocations: 83.66 kB / 425 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.3031, allocations: 147.5 kB / 425.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.3033, allocations: 163.3 kB / 425.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.253e-05/0.3034, allocations: 32 kB / 425.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.59e-05/0.3034, allocations: 28 kB / 425.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.522e-05/0.3035, allocations: 67.77 kB / 425.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.3037, allocations: 167.2 kB / 425.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.3041, allocations: 375.7 kB / 425.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3041, allocations: 4 kB / 425.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3041, allocations: 0 / 425.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3041, allocations: 0 / 425.9 MB, free: 10.54 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001194/0.3053, allocations: 0.6389 MB / 426.6 MB, free: 9.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3054, allocations: 8.031 kB / 426.6 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.868e-05/0.3054, allocations: 32.75 kB / 426.6 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.3059, allocations: 279.6 kB / 426.9 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.3059, allocations: 16.94 kB / 426.9 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/0.306, allocations: 32.38 kB / 426.9 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005844/0.3066, allocations: 273.4 kB / 427.2 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.3066, allocations: 8.125 kB / 427.2 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.3066, allocations: 15.88 kB / 427.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.3066, allocations: 8 kB / 427.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005997/0.3072, allocations: 270 kB / 427.5 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.3086, allocations: 0.7876 MB / 428.3 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006312/0.3092, allocations: 333.7 kB / 428.6 MB, free: 7.703 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/0.3095, allocations: 180.8 kB / 428.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.3096, allocations: 4 kB / 428.8 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.3096, allocations: 38.56 kB / 428.8 MB, free: 7.473 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.663e-06/0.3096, allocations: 0 / 428.8 MB, free: 7.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.004414/0.314, allocations: 1.976 MB / 430.8 MB, free: 5.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.3141, allocations: 55.97 kB / 430.9 MB, free: 5.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.3143, allocations: 195 kB / 431 MB, free: 5.145 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.887e-05/0.3143, allocations: 37.7 kB / 431.1 MB, free: 5.102 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.3145, allocations: 153.1 kB / 431.2 MB, free: 4.949 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.3146, allocations: 230 kB / 431.5 MB, free: 4.723 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.3148, allocations: 90.25 kB / 431.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.315, allocations: 346.7 kB / 431.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.3153, allocations: 161 kB / 432 MB, free: 4.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.3157, allocations: 168.9 kB / 432.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007286/0.3164, allocations: 384 kB / 432.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3164, allocations: 0 / 432.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009175/0.3173, allocations: 482.8 kB / 433.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3173, allocations: 8 kB / 433.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3174, allocations: 0 / 433.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3174, allocations: 0 / 433.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.3179, allocations: 127.8 kB / 433.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.3179, allocations: 4 kB / 433.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.3181, allocations: 27.97 kB / 433.2 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.3181, allocations: 19.94 kB / 433.2 MB, free: 2.922 MB / 334.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.0001954/0.3183, allocations: 157.7 kB / 433.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.3184, allocations: 31.81 kB / 433.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.3185, allocations: 51.33 kB / 433.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.3185, allocations: 12 kB / 433.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3185, allocations: 0 / 433.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.3185, allocations: 7.969 kB / 433.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.3207, allocations: 1.313 MB / 434.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3207, allocations: 4 kB / 434.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/0.3212, allocations: 119.8 kB / 434.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.605e-05/0.3213, allocations: 11.94 kB / 434.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.3213, allocations: 16 kB / 435 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/0.3213, allocations: 12.45 kB / 435 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.3213, allocations: 11.94 kB / 435 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.3227, allocations: 0.8761 MB / 435.9 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.3229, allocations: 116.9 kB / 436 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.3229, allocations: 16 kB / 436 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.3232, allocations: 27.98 kB / 436 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/0.3233, allocations: 55.56 kB / 436.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.3233, allocations: 20 kB / 436.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.3234, allocations: 140.6 kB / 436.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3234, allocations: 0 / 436.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004044/0.3238, allocations: 100 kB / 436.3 MB, free: 15.62 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 (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.0001704/0.324, allocations: 119.1 kB / 436.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008916/0.3249, allocations: 418.9 kB / 436.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3249, allocations: 0 / 436.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004401/0.3254, allocations: 243.3 kB / 437.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006298/0.326, allocations: 92.31 kB / 437.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.3279, allocations: 1.06 MB / 438.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.3284, allocations: 0.7894 MB / 439 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.3285, allocations: 43.42 kB / 439.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3285, allocations: 0 / 439.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of Templates: time 0.007806/0.3363, allocations: 4.604 MB / 443.7 MB, free: 8.164 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins1/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