Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001499/0.001499, allocations: 106.2 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001751/0.001751, allocations: 214.3 kB / 23 MB, free: 5.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 59.89 kB / 376.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2719, allocations: 53.33 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00527/0.2771, allocations: 3.688 MB / 433.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.279, allocations: 0.951 MB / 434.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.2792, allocations: 12 kB / 434.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.2794, allocations: 83.09 kB / 434.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.2797, allocations: 166.5 kB / 434.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.2801, allocations: 159.7 kB / 434.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000627/0.2807, allocations: 0.6268 MB / 435.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.281, allocations: 149.5 kB / 435.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.2814, allocations: 255.1 kB / 435.9 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003368/0.2817, allocations: 282.8 kB / 436.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.836e-05/0.2818, allocations: 55.98 kB / 436.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.2819, allocations: 52 kB / 436.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.282, allocations: 123.5 kB / 436.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.2823, allocations: 286.6 kB / 436.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006429/0.2829, allocations: 0.6275 MB / 437.3 MB, free: 20 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2829, allocations: 7.938 kB / 437.3 MB, free: 12 kB / 334.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.2829, allocations: 0 / 437.3 MB, free: 12 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.2829, allocations: 0 / 437.3 MB, free: 12 kB / 334.1 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.001434/0.2843, allocations: 0.849 MB / 438.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2844, allocations: 12.03 kB / 438.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.2846, allocations: 68.55 kB / 438.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.285, allocations: 358.9 kB / 438.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.2851, allocations: 37 kB / 438.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/0.2852, allocations: 55.95 kB / 438.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007399/0.2859, allocations: 418.4 kB / 439.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.2859, allocations: 4 kB / 439.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.286, allocations: 20 kB / 439.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.286, allocations: 8 kB / 439.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000706/0.2867, allocations: 387.8 kB / 439.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.2889, allocations: 1.383 MB / 440.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007865/0.2897, allocations: 479.3 kB / 441.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006368/0.2903, allocations: 319 kB / 441.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.006e-05/0.2904, allocations: 12.64 kB / 441.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.2904, allocations: 43.16 kB / 441.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 1.854e-06/0.2904, allocations: 0 / 441.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006399/0.2968, allocations: 3.024 MB / 444.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.2969, allocations: 64.41 kB / 444.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.2972, allocations: 276.5 kB / 445 MB, free: 7.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/0.2973, allocations: 41.7 kB / 445.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.2974, allocations: 205.6 kB / 445.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000328/0.2978, allocations: 380.6 kB / 445.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.298, allocations: 158.6 kB / 445.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.2982, allocations: 362.8 kB / 446.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004378/0.2986, allocations: 237.9 kB / 446.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.2991, allocations: 321.4 kB / 446.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009662/0.3001, allocations: 0.5728 MB / 447.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.3001, allocations: 3.938 kB / 447.3 MB, free: 5.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001212/0.3013, allocations: 0.7354 MB / 448 MB, free: 4.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3013, allocations: 4 kB / 448 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3013, allocations: 3.938 kB / 448 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.3013, allocations: 4 kB / 448 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007691/0.3021, allocations: 199.7 kB / 448.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.3021, allocations: 4.062 kB / 448.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.3024, allocations: 35.98 kB / 448.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-05/0.3025, allocations: 31.98 kB / 448.3 MB, free: 4.664 MB / 350.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 (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.0002499/0.3027, allocations: 197.5 kB / 448.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.736e-05/0.3028, allocations: 63.61 kB / 448.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.303, allocations: 77.62 kB / 448.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.303, allocations: 8 kB / 448.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.303, allocations: 0 / 448.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.303, allocations: 11.98 kB / 448.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/0.3059, allocations: 1.937 MB / 450.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.3059, allocations: 4 kB / 450.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007434/0.3066, allocations: 199.7 kB / 450.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.3066, allocations: 8 kB / 450.8 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.178e-05/0.3067, allocations: 24 kB / 450.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.364e-05/0.3067, allocations: 15.92 kB / 450.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.3067, allocations: 8 kB / 450.8 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.3086, allocations: 1.299 MB / 452.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.3087, allocations: 132.7 kB / 452.3 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-05/0.3088, allocations: 24.06 kB / 452.3 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/0.3091, allocations: 31.98 kB / 452.3 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.3092, allocations: 80.78 kB / 452.4 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/0.3093, allocations: 35.98 kB / 452.4 MB, free: 316 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.3095, allocations: 195.1 kB / 452.6 MB, free: 124 kB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3095, allocations: 0 / 452.6 MB, free: 124 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005101/0.31, allocations: 160 kB / 452.8 MB, free: 15.96 MB / 366.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 (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.0001607/0.3102, allocations: 127 kB / 452.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.3113, allocations: 0.6371 MB / 453.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.3113, allocations: 7.938 kB / 453.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006197/0.3119, allocations: 386.4 kB / 453.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007817/0.3127, allocations: 144.7 kB / 454.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.3152, allocations: 1.554 MB / 455.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.3157, allocations: 0.8764 MB / 456.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003018/0.316, allocations: 85.2 kB / 456.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.3161, allocations: 55.42 kB / 456.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3161, allocations: 4 kB / 456.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of Templates: time 0.0139/0.33, allocations: 7.394 MB / 464 MB, free: 4.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.5584388403221965]