Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0007131/0.0007131, allocations: 91.61 kB / 22.18 MB, free: 2.371 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.0007761/0.0007761, allocations: 163.2 kB / 25.45 MB, free: 9.355 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 0.9239/0.9239, allocations: 158.6 MB / 187.2 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.841e-05, allocations: 2.281 kB / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003176/0.003194, allocations: 3.201 MB / 302.9 MB, free: 3.703 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009937/0.004188, allocations: 0.9004 MB / 303.8 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.004319, allocations: 15.88 kB / 303.8 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.004447, allocations: 71.23 kB / 303.9 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.004613, allocations: 158.5 kB / 304 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.004885, allocations: 155.7 kB / 304.2 MB, free: 2.398 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000373/0.005258, allocations: 0.6188 MB / 304.8 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.00544, allocations: 141.9 kB / 304.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.005691, allocations: 347.3 kB / 305.3 MB, free: 1.301 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.005863, allocations: 207.4 kB / 305.5 MB, free: 1.098 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.282e-05/0.005915, allocations: 52 kB / 305.5 MB, free: 1.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.958e-05/0.005965, allocations: 52 kB / 305.6 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.497e-05/0.00603, allocations: 123.5 kB / 305.7 MB, free: 0.875 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.00614, allocations: 191.6 kB / 305.9 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003957/0.006535, allocations: 0.6191 MB / 306.5 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.006537, allocations: 0 / 306.5 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.006538, allocations: 0 / 306.5 MB, free: 68 kB / 282.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.006543, allocations: 0 / 306.5 MB, free: 68 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.0009042/0.007447, allocations: 0.7855 MB / 307.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.007478, allocations: 8.031 kB / 307.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/0.007543, allocations: 60.55 kB / 307.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.007826, allocations: 264.4 kB / 307.6 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.007859, allocations: 37.38 kB / 307.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.724e-05/0.007916, allocations: 52.33 kB / 307.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.008456, allocations: 450.9 kB / 308.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.008474, allocations: 4.188 kB / 308.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.008507, allocations: 24.36 kB / 308.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.008516, allocations: 11.94 kB / 308.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005878/0.009104, allocations: 455.7 kB / 308.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.01074, allocations: 1.173 MB / 309.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005531/0.01129, allocations: 0.4946 MB / 310.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004279/0.01172, allocations: 339.2 kB / 310.6 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.01175, allocations: 8.656 kB / 310.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.01177, allocations: 43.22 kB / 310.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 1.674e-06/0.01177, allocations: 3.938 kB / 310.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.00412/0.01589, allocations: 2.999 MB / 313.7 MB, free: 8.723 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.01592, allocations: 64.41 kB / 313.8 MB, free: 8.648 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.01609, allocations: 241.9 kB / 314 MB, free: 8.402 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.01612, allocations: 41.7 kB / 314 MB, free: 8.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.892e-05/0.01621, allocations: 201.5 kB / 314.2 MB, free: 8.152 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.01637, allocations: 360.8 kB / 314.6 MB, free: 7.797 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.0165, allocations: 142.7 kB / 314.7 MB, free: 7.652 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.0166, allocations: 362.7 kB / 315.1 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.01694, allocations: 277.8 kB / 315.3 MB, free: 7.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.01732, allocations: 349.4 kB / 315.7 MB, free: 6.668 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007188/0.01804, allocations: 0.6234 MB / 316.3 MB, free: 6.039 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01804, allocations: 0 / 316.3 MB, free: 6.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00113/0.01917, allocations: 0.7862 MB / 317.1 MB, free: 5.242 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.01919, allocations: 4 kB / 317.1 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.0192, allocations: 4 kB / 317.1 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.01921, allocations: 7.984 kB / 317.1 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.0196, allocations: 203.7 kB / 317.3 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.01961, allocations: 4 kB / 317.3 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.01976, allocations: 59.89 kB / 317.4 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.01979, allocations: 27.98 kB / 317.4 MB, free: 4.938 MB / 298.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 (113): * Single equations (assignments): 113 * 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.000156/0.01995, allocations: 197.6 kB / 317.6 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.02, allocations: 59.62 kB / 317.6 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.354e-05/0.02008, allocations: 69.36 kB / 317.7 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.02009, allocations: 12 kB / 317.7 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.02009, allocations: 0 / 317.7 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.0201, allocations: 3.984 kB / 317.7 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.02182, allocations: 1.766 MB / 319.5 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.02183, allocations: 8 kB / 319.5 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.02221, allocations: 204.3 kB / 319.7 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.944e-06/0.02222, allocations: 12 kB / 319.7 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.02225, allocations: 27.98 kB / 319.7 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.02225, allocations: 8 kB / 319.8 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.02226, allocations: 7.938 kB / 319.8 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.02356, allocations: 1.369 MB / 321.1 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.0236, allocations: 51.61 kB / 321.2 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.02365, allocations: 28.05 kB / 321.2 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.02383, allocations: 47.97 kB / 321.3 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.02391, allocations: 76.75 kB / 321.3 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.02394, allocations: 35.98 kB / 321.4 MB, free: 0.793 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.014e-05/0.02403, allocations: 165.2 kB / 321.5 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02403, allocations: 0 / 321.5 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002884/0.02432, allocations: 156 kB / 321.7 MB, free: 492 kB / 298.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 (103): * Single equations (assignments): 103 * 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.000106/0.02442, allocations: 127 kB / 321.8 MB, free: 356 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008355/0.02526, allocations: 0.7035 MB / 322.5 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.02526, allocations: 0 / 322.5 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004496/0.02571, allocations: 418.3 kB / 322.9 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.02615, allocations: 131.7 kB / 323 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.02785, allocations: 1.416 MB / 324.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.02801, allocations: 268.5 kB / 324.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.02815, allocations: 68.47 kB / 324.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02815, allocations: 0 / 324.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of Templates: time 0.006406/0.03456, allocations: 7.537 MB / 332.3 MB, free: 5.668 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.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.5004440154880285]