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.0009887/0.0009887, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001545/0.002533, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001028/0.001028, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001185/0.002213, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9752/0.9752, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0821/1.057, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.634e-06/1.634e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.045e-05, allocations: 2.312 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005372/0.005393, allocations: 3.624 MB / 248.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.006839, allocations: 0.9816 MB / 249.3 MB, free: 9.605 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.006969, allocations: 19.88 kB / 249.3 MB, free: 9.586 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.00709, allocations: 83.16 kB / 249.4 MB, free: 9.504 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.007286, allocations: 166.5 kB / 249.6 MB, free: 9.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.007534, allocations: 179.5 kB / 249.7 MB, free: 9.164 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.007959, allocations: 0.6382 MB / 250.4 MB, free: 8.523 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.008134, allocations: 138.6 kB / 250.5 MB, free: 8.387 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.008462, allocations: 422.2 kB / 250.9 MB, free: 7.973 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.008664, allocations: 215.3 kB / 251.1 MB, free: 7.762 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.044e-05/0.008714, allocations: 52 kB / 251.2 MB, free: 7.711 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.008815, allocations: 56 kB / 251.2 MB, free: 7.656 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.00887, allocations: 87.69 kB / 251.3 MB, free: 7.57 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.008987, allocations: 167.7 kB / 251.5 MB, free: 7.406 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.0093, allocations: 394.5 kB / 251.9 MB, free: 7.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.009312, allocations: 0 / 251.9 MB, free: 7.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.009313, allocations: 0 / 251.9 MB, free: 7.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.009324, allocations: 0 / 251.9 MB, free: 7.02 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.000846/0.01017, allocations: 0.854 MB / 252.7 MB, free: 6.137 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.0102, allocations: 15.98 kB / 252.8 MB, free: 6.121 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.01037, allocations: 166 kB / 252.9 MB, free: 5.941 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.01062, allocations: 249.5 kB / 253.2 MB, free: 5.672 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.01065, allocations: 37.38 kB / 253.2 MB, free: 5.637 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/0.01071, allocations: 55.89 kB / 253.2 MB, free: 5.582 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.011, allocations: 303.1 kB / 253.5 MB, free: 5.277 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.01102, allocations: 7.969 kB / 253.6 MB, free: 5.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.01104, allocations: 20 kB / 253.6 MB, free: 5.25 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.01105, allocations: 15.98 kB / 253.6 MB, free: 5.234 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.01123, allocations: 154.9 kB / 253.7 MB, free: 5.082 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.01226, allocations: 0.8612 MB / 254.6 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.01254, allocations: 336.2 kB / 254.9 MB, free: 3.859 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.01277, allocations: 199.8 kB / 255.1 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.0128, allocations: 16.64 kB / 255.1 MB, free: 3.645 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.01282, allocations: 43.22 kB / 255.2 MB, free: 3.594 MB / 250.7 MB Notification: Performance of pre-optimization done (n=71): time 1.633e-06/0.01282, allocations: 0 / 255.2 MB, free: 3.594 MB / 250.7 MB Notification: Performance of matching and sorting (n=107): time 0.002674/0.0155, allocations: 2.239 MB / 257.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.01553, allocations: 76.39 kB / 257.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.01569, allocations: 255 kB / 257.7 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.01572, allocations: 41.64 kB / 257.8 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.01579, allocations: 190.2 kB / 258 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.01595, allocations: 376.6 kB / 258.3 MB, free: 368 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.01607, allocations: 150.6 kB / 258.5 MB, free: 212 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.01617, allocations: 370.7 kB / 258.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.01627, allocations: 89.95 kB / 258.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.01641, allocations: 165.4 kB / 259.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.01669, allocations: 358.1 kB / 259.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01669, allocations: 0 / 259.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0003449/0.01704, allocations: 395.4 kB / 259.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.01705, allocations: 8 kB / 259.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.01705, allocations: 3.938 kB / 259.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.01707, allocations: 4 kB / 259.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/0.01752, allocations: 243.7 kB / 260.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.01752, allocations: 4 kB / 260.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.01763, allocations: 32.05 kB / 260.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.01766, allocations: 23.94 kB / 260.1 MB, free: 14.51 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.0001137/0.01777, allocations: 157.7 kB / 260.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/0.01784, allocations: 71.88 kB / 260.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.941e-05/0.01792, allocations: 77.56 kB / 260.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.01792, allocations: 12 kB / 260.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.01792, allocations: 0 / 260.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.01793, allocations: 7.969 kB / 260.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.019, allocations: 1.172 MB / 261.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.01901, allocations: 8.094 kB / 261.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.01943, allocations: 239.7 kB / 261.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.01947, allocations: 55.56 kB / 261.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.01948, allocations: 8 kB / 261.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.01951, allocations: 31.98 kB / 262 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.01951, allocations: 8 kB / 262 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.01952, allocations: 7.938 kB / 262 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005919/0.02011, allocations: 0.8007 MB / 262.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.02015, allocations: 27.94 kB / 262.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.02029, allocations: 27.98 kB / 262.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.02036, allocations: 76.75 kB / 262.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.02038, allocations: 32.05 kB / 262.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.527e-05/0.02044, allocations: 92.62 kB / 263 MB, free: 11.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02044, allocations: 0 / 263 MB, free: 11.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002593/0.0207, allocations: 156 kB / 263.2 MB, free: 11.29 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.0001092/0.02081, allocations: 120.2 kB / 263.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003574/0.02117, allocations: 424.3 kB / 263.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.729e-05/0.02118, allocations: 14.61 kB / 263.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.02145, allocations: 335.4 kB / 264.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007976/0.02225, allocations: 1.282 MB / 265.3 MB, free: 8.867 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.0242, allocations: 1.238 MB / 266.6 MB, free: 7.543 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.605e-05/0.02429, allocations: 147.9 kB / 266.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001849/0.02447, allocations: 81.22 kB / 266.8 MB, free: 7.301 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.02475, allocations: 197.3 kB / 267 MB, free: 7.105 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.02475, allocations: 3.938 kB / 267 MB, free: 7.102 MB / 266.7 MB Notification: Performance of Templates: time 0.009619/0.03437, allocations: 8.181 MB / 275.2 MB, free: 15.11 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5200559394434094]