Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001521/0.001521, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 55.91 kB / 379 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3203, allocations: 53.41 MB / 432.4 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004528/0.3249, allocations: 2.697 MB / 435.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.3264, allocations: 0.7365 MB / 435.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.3265, allocations: 7.938 kB / 435.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.3267, allocations: 51.44 kB / 435.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.327, allocations: 111.1 kB / 436 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.3273, allocations: 91.83 kB / 436.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004414/0.3278, allocations: 386.3 kB / 436.5 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.328, allocations: 79.58 kB / 436.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.3282, allocations: 155.5 kB / 436.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.3284, allocations: 171.2 kB / 436.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.44e-05/0.3285, allocations: 32 kB / 436.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.242e-05/0.3285, allocations: 28 kB / 436.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.918e-05/0.3286, allocations: 75.7 kB / 437 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.3288, allocations: 175.2 kB / 437.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.3292, allocations: 379.7 kB / 437.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3292, allocations: 0 / 437.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3292, allocations: 0 / 437.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.3293, allocations: 4 kB / 437.6 MB, free: 1.648 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001096/0.3303, allocations: 0.5558 MB / 438.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3304, allocations: 12.03 kB / 438.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.301e-05/0.3305, allocations: 36.7 kB / 438.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.3309, allocations: 215 kB / 438.4 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.3309, allocations: 25.03 kB / 438.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.026e-05/0.331, allocations: 39.83 kB / 438.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/0.3315, allocations: 254.1 kB / 438.7 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.3315, allocations: 0 / 438.7 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.3315, allocations: 19.98 kB / 438.7 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.3315, allocations: 4 kB / 438.7 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004139/0.3319, allocations: 226.5 kB / 438.9 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.3333, allocations: 0.7679 MB / 439.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/0.3338, allocations: 314.3 kB / 440 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.3341, allocations: 162.2 kB / 440.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.3341, allocations: 12.3 kB / 440.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.3342, allocations: 42.94 kB / 440.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.603e-06/0.3342, allocations: 0 / 440.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.003823/0.338, allocations: 1.764 MB / 442 MB, free: 13.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.3381, allocations: 67.98 kB / 442.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.3383, allocations: 207.3 kB / 442.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.3383, allocations: 37.7 kB / 442.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.3385, allocations: 153.1 kB / 442.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.3386, allocations: 234 kB / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.3388, allocations: 90.34 kB / 442.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3389, allocations: 346.8 kB / 443.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.3392, allocations: 145.2 kB / 443.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.3395, allocations: 149.9 kB / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005646/0.34, allocations: 354 kB / 443.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.34, allocations: 0 / 443.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007582/0.3408, allocations: 469.1 kB / 444.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3408, allocations: 8 kB / 444.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3408, allocations: 7.938 kB / 444.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.3408, allocations: 3.938 kB / 444.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.3413, allocations: 111.9 kB / 444.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.3413, allocations: 4 kB / 444.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.3415, allocations: 15.98 kB / 444.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.3415, allocations: 16 kB / 444.4 MB, free: 10.64 MB / 350.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.0001917/0.3417, allocations: 165.7 kB / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.3418, allocations: 39.77 kB / 444.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.3419, allocations: 51.33 kB / 444.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.3419, allocations: 11.94 kB / 444.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.3419, allocations: 0 / 444.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3419, allocations: 3.984 kB / 444.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/0.3439, allocations: 1.254 MB / 445.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.3439, allocations: 7.984 kB / 445.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/0.3443, allocations: 115.8 kB / 446 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.3444, allocations: 4 kB / 446 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.3444, allocations: 23.98 kB / 446 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.3444, allocations: 7.938 kB / 446 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.894e-06/0.3444, allocations: 8 kB / 446 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.3456, allocations: 0.8459 MB / 446.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.3456, allocations: 35.77 kB / 446.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/0.3457, allocations: 19.98 kB / 446.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.3459, allocations: 19.98 kB / 447 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/0.346, allocations: 56.23 kB / 447 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/0.346, allocations: 24.09 kB / 447 MB, free: 7.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.3462, allocations: 152.5 kB / 447.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3462, allocations: 0 / 447.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004216/0.3466, allocations: 99.94 kB / 447.3 MB, free: 7.516 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 (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.0001669/0.3468, allocations: 131 kB / 447.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007021/0.3475, allocations: 379.7 kB / 447.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3475, allocations: 4 kB / 447.8 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003761/0.3478, allocations: 226.2 kB / 448 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006795/0.3485, allocations: 100.5 kB / 448.1 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.3504, allocations: 1.049 MB / 449.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.3508, allocations: 0.7972 MB / 450 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.3509, allocations: 47.42 kB / 450 MB, free: 4.672 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3509, allocations: 0 / 450 MB, free: 4.672 MB / 350.1 MB Notification: Performance of Templates: time 0.007956/0.3589, allocations: 4.772 MB / 454.8 MB, free: 15.93 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.539535654010251]