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.002029/0.002029, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 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.002053/0.002053, allocations: 213 kB / 24.47 MB, free: 3.547 MB / 14.72 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.482/1.482, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 51.92 kB / 347.7 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2835, allocations: 49.16 MB / 396.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003891/0.2874, allocations: 3.2 MB / 400 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.2888, allocations: 0.886 MB / 400.9 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.289, allocations: 11.91 kB / 400.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.2892, allocations: 85.64 kB / 401 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.2895, allocations: 144.3 kB / 401.2 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.2899, allocations: 158.4 kB / 401.3 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004883/0.2903, allocations: 0.597 MB / 401.9 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.2906, allocations: 133.8 kB / 402.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.2909, allocations: 242.7 kB / 402.3 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.2912, allocations: 237.8 kB / 402.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.082e-05/0.2912, allocations: 54.66 kB / 402.6 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.512e-05/0.2913, allocations: 51.03 kB / 402.6 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-05/0.2914, allocations: 120.6 kB / 402.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.2916, allocations: 226.2 kB / 403 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.2922, allocations: 0.6084 MB / 403.6 MB, free: 5.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2922, allocations: 1 kB / 403.6 MB, free: 5.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2922, allocations: 0 / 403.6 MB, free: 5.332 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.2922, allocations: 0 / 403.6 MB, free: 5.332 MB / 318.1 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.001464/0.2937, allocations: 0.7747 MB / 404.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2937, allocations: 10.53 kB / 404.4 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.289e-05/0.2938, allocations: 60.17 kB / 404.4 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.2942, allocations: 276.5 kB / 404.7 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.2943, allocations: 32.5 kB / 404.7 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.328e-05/0.2944, allocations: 55.16 kB / 404.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008803/0.2952, allocations: 456.2 kB / 405.2 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.2953, allocations: 7.375 kB / 405.2 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.2953, allocations: 16.03 kB / 405.2 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.2953, allocations: 14.34 kB / 405.3 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.2964, allocations: 450.9 kB / 405.7 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.2986, allocations: 1.162 MB / 406.9 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009427/0.2995, allocations: 0.501 MB / 407.4 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008225/0.3004, allocations: 351.8 kB / 407.7 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.326e-05/0.3004, allocations: 7.891 kB / 407.7 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3004, allocations: 44.25 kB / 407.8 MB, free: 3.164 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 4.078e-06/0.3004, allocations: 3.984 kB / 407.8 MB, free: 3.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.007485/0.3079, allocations: 3.001 MB / 410.8 MB, free: 1.766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.308, allocations: 69.56 kB / 410.8 MB, free: 1.695 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.3082, allocations: 243.8 kB / 411.1 MB, free: 1.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.3083, allocations: 45.2 kB / 411.1 MB, free: 1.477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.306e-05/0.3084, allocations: 196.7 kB / 411.3 MB, free: 1.297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.3085, allocations: 369 kB / 411.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.3087, allocations: 140.9 kB / 411.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.3088, allocations: 362 kB / 412.1 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005569/0.3094, allocations: 278.5 kB / 412.4 MB, free: 412 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.3099, allocations: 351.8 kB / 412.8 MB, free: 224 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.3111, allocations: 0.6202 MB / 413.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3111, allocations: 0 / 413.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001682/0.3128, allocations: 0.7811 MB / 414.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.3128, allocations: 10.47 kB / 414.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.3129, allocations: 3.984 kB / 414.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.3129, allocations: 4.438 kB / 414.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009077/0.3138, allocations: 214.5 kB / 414.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.3138, allocations: 4.469 kB / 414.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/0.3142, allocations: 41.19 kB / 414.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.708e-05/0.3143, allocations: 31.36 kB / 414.5 MB, free: 15.43 MB / 334.1 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.000354/0.3147, allocations: 195.2 kB / 414.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.3148, allocations: 53.95 kB / 414.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.315, allocations: 73.14 kB / 414.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.315, allocations: 13.72 kB / 414.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.733e-05/0.315, allocations: 0 / 414.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.315, allocations: 5.047 kB / 414.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.3184, allocations: 1.764 MB / 416.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.3184, allocations: 4.125 kB / 416.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008384/0.3192, allocations: 205.4 kB / 416.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/0.3192, allocations: 7.906 kB / 416.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/0.3193, allocations: 30.7 kB / 416.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.3193, allocations: 8.75 kB / 416.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/0.3193, allocations: 16.84 kB / 416.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.3218, allocations: 1.364 MB / 418.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.322, allocations: 54.94 kB / 418.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/0.3221, allocations: 21.97 kB / 418.3 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/0.3225, allocations: 43.34 kB / 418.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.3226, allocations: 79.75 kB / 418.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.165e-05/0.3227, allocations: 39.73 kB / 418.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.3229, allocations: 175.4 kB / 418.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3229, allocations: 0 / 418.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000564/0.3234, allocations: 152.1 kB / 418.8 MB, free: 12.76 MB / 334.1 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.0002007/0.3236, allocations: 137.7 kB / 418.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.3251, allocations: 0.7012 MB / 419.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.3251, allocations: 0 / 419.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008578/0.326, allocations: 418.6 kB / 420 MB, free: 11.63 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008017/0.3268, allocations: 124.2 kB / 420.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.3295, allocations: 1.532 MB / 421.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.3298, allocations: 272.5 kB / 421.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003142/0.3302, allocations: 68.95 kB / 422 MB, free: 9.535 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.3303, allocations: 55.42 kB / 422 MB, free: 9.48 MB / 334.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3303, allocations: 0 / 422 MB, free: 9.48 MB / 334.1 MB Notification: Performance of Templates: time 0.01387/0.3442, allocations: 7.192 MB / 429.2 MB, free: 2.27 MB / 334.1 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.889549218118191]