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.001098/0.001098, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00154/0.002637, allocations: 445.7 kB / 10.37 MB, free: 328 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.001032/0.001032, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001079/0.002111, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 1.034/1.034, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1749/1.208, allocations: 49.49 MB / 220.6 MB, free: 1.445 MB / 218.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 2.345e-06/2.345e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.127e-05, allocations: 2.312 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003786/0.003808, allocations: 3.475 MB / 225.3 MB, free: 12.67 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.005411, allocations: 0.9545 MB / 226.3 MB, free: 11.7 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002528/0.005664, allocations: 11.94 kB / 226.3 MB, free: 11.69 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.005819, allocations: 83.16 kB / 226.4 MB, free: 11.61 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.006067, allocations: 158.5 kB / 226.5 MB, free: 11.45 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.006413, allocations: 151.7 kB / 226.7 MB, free: 11.3 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004719/0.006885, allocations: 0.611 MB / 227.3 MB, free: 10.69 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.007105, allocations: 142.6 kB / 227.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005808/0.007686, allocations: 395.6 kB / 227.8 MB, free: 10.16 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.007919, allocations: 207.4 kB / 228 MB, free: 9.961 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.742e-05/0.007976, allocations: 52 kB / 228 MB, free: 9.91 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.264e-05/0.008029, allocations: 52 kB / 228.1 MB, free: 9.859 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.809e-05/0.008087, allocations: 83.69 kB / 228.2 MB, free: 9.777 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.00821, allocations: 155.7 kB / 228.3 MB, free: 9.625 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.008567, allocations: 370.6 kB / 228.7 MB, free: 9.262 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.73e-05/0.008584, allocations: 0 / 228.7 MB, free: 9.262 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.008586, allocations: 0 / 228.7 MB, free: 9.262 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.008602, allocations: 0 / 228.7 MB, free: 9.262 MB / 234.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.001006/0.009609, allocations: 0.8386 MB / 229.5 MB, free: 8.398 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.009661, allocations: 11.97 kB / 229.5 MB, free: 8.387 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.009762, allocations: 76.88 kB / 229.6 MB, free: 8.312 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.01004, allocations: 228.5 kB / 229.8 MB, free: 8.059 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.01008, allocations: 33.38 kB / 229.9 MB, free: 8.027 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.01013, allocations: 56.23 kB / 229.9 MB, free: 7.973 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.01051, allocations: 323.6 kB / 230.2 MB, free: 7.648 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.01053, allocations: 12.16 kB / 230.3 MB, free: 7.637 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.01055, allocations: 20.38 kB / 230.3 MB, free: 7.617 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.01056, allocations: 15.94 kB / 230.3 MB, free: 7.602 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.01076, allocations: 154.9 kB / 230.4 MB, free: 7.449 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.01237, allocations: 0.8457 MB / 231.3 MB, free: 6.582 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.01269, allocations: 327 kB / 231.6 MB, free: 6.258 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.01293, allocations: 215.1 kB / 231.8 MB, free: 6.047 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.01296, allocations: 12.66 kB / 231.8 MB, free: 6.035 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.01299, allocations: 43.22 kB / 231.9 MB, free: 5.98 MB / 234.7 MB Notification: Performance of pre-optimization done (n=67): time 1.914e-06/0.01299, allocations: 0 / 231.9 MB, free: 5.98 MB / 234.7 MB Notification: Performance of matching and sorting (n=103): time 0.00278/0.01577, allocations: 2.179 MB / 234.1 MB, free: 3.758 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.01582, allocations: 60.41 kB / 234.1 MB, free: 3.688 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.01599, allocations: 229 kB / 234.3 MB, free: 3.449 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.01602, allocations: 37.7 kB / 234.4 MB, free: 3.406 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.01614, allocations: 182 kB / 234.6 MB, free: 3.223 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.01636, allocations: 364.7 kB / 234.9 MB, free: 2.863 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.01651, allocations: 146.6 kB / 235.1 MB, free: 2.715 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.01666, allocations: 374.6 kB / 235.4 MB, free: 2.34 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.01677, allocations: 97.89 kB / 235.5 MB, free: 2.242 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.01691, allocations: 169.4 kB / 235.7 MB, free: 2.066 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.01721, allocations: 334.2 kB / 236 MB, free: 1.73 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01722, allocations: 0 / 236 MB, free: 1.73 MB / 234.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0003962/0.01761, allocations: 395.4 kB / 236.4 MB, free: 1.34 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.01765, allocations: 7.984 kB / 236.4 MB, free: 1.332 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.01766, allocations: 0 / 236.4 MB, free: 1.332 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.01767, allocations: 8.062 kB / 236.4 MB, free: 1.324 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/0.0182, allocations: 241.6 kB / 236.6 MB, free: 1.09 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.01821, allocations: 7.938 kB / 236.6 MB, free: 1.082 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.01834, allocations: 31.98 kB / 236.7 MB, free: 1.051 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.01836, allocations: 27.98 kB / 236.7 MB, free: 1.023 MB / 234.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.0001533/0.01852, allocations: 153.7 kB / 236.9 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.01859, allocations: 67.94 kB / 236.9 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.607e-05/0.01869, allocations: 73.38 kB / 237 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.01869, allocations: 8 kB / 237 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.0187, allocations: 0 / 237 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.01871, allocations: 15.91 kB / 237 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.02028, allocations: 1.16 MB / 238.2 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.02029, allocations: 4 kB / 238.2 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004623/0.02075, allocations: 240.2 kB / 238.4 MB, free: 15.22 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.0208, allocations: 51.67 kB / 238.5 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.0208, allocations: 8 kB / 238.5 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.02083, allocations: 23.98 kB / 238.5 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.02084, allocations: 12 kB / 238.5 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.02084, allocations: 11.88 kB / 238.5 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/0.02147, allocations: 0.789 MB / 239.3 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.02151, allocations: 24 kB / 239.3 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.02166, allocations: 39.98 kB / 239.4 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/0.02174, allocations: 76.75 kB / 239.4 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.02177, allocations: 28.05 kB / 239.5 MB, free: 14.09 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.24e-05/0.02182, allocations: 78.72 kB / 239.6 MB, free: 14.01 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.02182, allocations: 0 / 239.6 MB, free: 14.01 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002979/0.02212, allocations: 159.9 kB / 239.7 MB, free: 13.85 MB / 250.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.0001514/0.02227, allocations: 116.1 kB / 239.8 MB, free: 13.73 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004332/0.0227, allocations: 415.3 kB / 240.2 MB, free: 13.32 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-05/0.02273, allocations: 18.55 kB / 240.2 MB, free: 13.3 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.02295, allocations: 268.3 kB / 240.5 MB, free: 13.04 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.02339, allocations: 181.2 kB / 240.7 MB, free: 12.86 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.0254, allocations: 1.19 MB / 241.9 MB, free: 11.59 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.314e-05/0.02549, allocations: 143.7 kB / 242 MB, free: 11.43 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002043/0.02569, allocations: 76.97 kB / 242.1 MB, free: 11.35 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.02593, allocations: 185.3 kB / 242.3 MB, free: 11.17 MB / 250.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02593, allocations: 4 kB / 242.3 MB, free: 11.16 MB / 250.7 MB Notification: Performance of Templates: time 0.009753/0.03569, allocations: 7.588 MB / 249.9 MB, free: 3.602 MB / 250.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] 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","",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.785596579313278]