Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.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.001344/0.001344, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001727/0.001727, allocations: 163.9 kB / 24.99 MB, free: 8.289 MB / 18.57 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 273 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.426e-05, allocations: 2.312 kB / 273 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003288/0.003312, allocations: 3.602 MB / 276.6 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.004903, allocations: 0.9353 MB / 277.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.005131, allocations: 15.88 kB / 277.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.005311, allocations: 83.16 kB / 277.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.005572, allocations: 174.4 kB / 277.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.006004, allocations: 167.6 kB / 278 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005261/0.00653, allocations: 0.6497 MB / 278.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.006742, allocations: 137.9 kB / 278.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004097/0.007151, allocations: 375.2 kB / 279.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.007389, allocations: 211.4 kB / 279.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.758e-05/0.007447, allocations: 52 kB / 279.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.088e-05/0.007528, allocations: 56 kB / 279.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.007598, allocations: 135.5 kB / 279.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004091/0.008007, allocations: 203.5 kB / 279.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.008425, allocations: 434.3 kB / 280.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.008428, allocations: 0 / 280.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.008429, allocations: 4 kB / 280.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.008436, allocations: 0 / 280.2 MB, free: 10.64 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.0009098/0.009345, allocations: 0.8697 MB / 281.1 MB, free: 9.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.009384, allocations: 12.03 kB / 281.1 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.009556, allocations: 112.5 kB / 281.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.009879, allocations: 296.2 kB / 281.5 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.009913, allocations: 33.38 kB / 281.6 MB, free: 9.254 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/0.009968, allocations: 55.89 kB / 281.6 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.01038, allocations: 331.1 kB / 281.9 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.0104, allocations: 4 kB / 281.9 MB, free: 8.863 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.01043, allocations: 16 kB / 281.9 MB, free: 8.848 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.01044, allocations: 16 kB / 282 MB, free: 8.832 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.01077, allocations: 233.8 kB / 282.2 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.01218, allocations: 1.133 MB / 283.3 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.01263, allocations: 395.7 kB / 283.7 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/0.01298, allocations: 254.8 kB / 284 MB, free: 6.773 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.01302, allocations: 16.66 kB / 284 MB, free: 6.758 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.01304, allocations: 42.05 kB / 284 MB, free: 6.707 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 1.643e-06/0.01304, allocations: 0 / 284 MB, free: 6.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=107): time 0.002968/0.01601, allocations: 2.252 MB / 286.3 MB, free: 4.406 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.01605, allocations: 60.41 kB / 286.3 MB, free: 4.336 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.01627, allocations: 314.3 kB / 286.6 MB, free: 4.012 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.0163, allocations: 41.7 kB / 286.7 MB, free: 3.965 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004469/0.01675, allocations: 256.3 kB / 286.9 MB, free: 3.707 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.01694, allocations: 372.7 kB / 287.3 MB, free: 3.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.01709, allocations: 156.3 kB / 287.4 MB, free: 3.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.01725, allocations: 0.5313 MB / 288 MB, free: 2.637 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.01747, allocations: 137.9 kB / 288.1 MB, free: 2.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.01773, allocations: 225.9 kB / 288.3 MB, free: 2.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000482/0.01821, allocations: 411 kB / 288.7 MB, free: 1.859 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01821, allocations: 0 / 288.7 MB, free: 1.859 MB / 266.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0006388/0.01885, allocations: 0.587 MB / 289.3 MB, free: 1.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.01887, allocations: 7.938 kB / 289.3 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.01888, allocations: 7.984 kB / 289.3 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.01889, allocations: 7.938 kB / 289.3 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.0193, allocations: 195.8 kB / 289.5 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.01931, allocations: 8 kB / 289.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.01944, allocations: 36 kB / 289.6 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.01946, allocations: 31.98 kB / 289.6 MB, free: 0.9766 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0001406/0.01961, allocations: 204.3 kB / 289.8 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.149e-05/0.01969, allocations: 87.67 kB / 289.9 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.41e-05/0.01977, allocations: 81.5 kB / 290 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.01978, allocations: 15.94 kB / 290 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.01978, allocations: 0 / 290 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.01979, allocations: 3.984 kB / 290 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1086/0.1284, allocations: 1.588 MB / 291.6 MB, free: 27.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.1284, allocations: 6 kB / 291.6 MB, free: 27.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005044/0.1289, allocations: 191.5 kB / 291.8 MB, free: 27.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/0.129, allocations: 9.266 kB / 291.8 MB, free: 27.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/0.129, allocations: 26.5 kB / 291.8 MB, free: 27.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.129, allocations: 15.05 kB / 291.8 MB, free: 27.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.129, allocations: 9.234 kB / 291.8 MB, free: 27.72 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.1301, allocations: 1.105 MB / 292.9 MB, free: 27.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.358e-05/0.1302, allocations: 58.8 kB / 293 MB, free: 27.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.288e-05/0.1303, allocations: 26.17 kB / 293 MB, free: 27.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.1305, allocations: 29.98 kB / 293 MB, free: 27.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.1306, allocations: 82.81 kB / 293.1 MB, free: 27.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.1306, allocations: 30.73 kB / 293.2 MB, free: 27.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1307, allocations: 216.6 kB / 293.4 MB, free: 27.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1307, allocations: 1.156 kB / 293.4 MB, free: 27.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003988/0.1311, allocations: 161.5 kB / 293.5 MB, free: 27.11 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 107 * 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.0001158/0.1312, allocations: 134.2 kB / 293.7 MB, free: 26.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006461/0.1319, allocations: 0.4948 MB / 294.2 MB, free: 26.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.1319, allocations: 1.812 kB / 294.2 MB, free: 26.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.1322, allocations: 314.4 kB / 294.5 MB, free: 26.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.1327, allocations: 143.8 kB / 294.6 MB, free: 26.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.1344, allocations: 1.402 MB / 296 MB, free: 25.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.1345, allocations: 145.2 kB / 296.1 MB, free: 25.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002258/0.1347, allocations: 80.72 kB / 296.2 MB, free: 25.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.1349, allocations: 62.38 kB / 296.3 MB, free: 25.78 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1349, allocations: 4 kB / 296.3 MB, free: 25.78 MB / 266.7 MB Notification: Performance of Templates: time 0.009953/0.1448, allocations: 7.109 MB / 303.4 MB, free: 23.54 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.924797693034634]