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.001897/0.001897, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 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.00203/0.00203, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001593/0.001593, allocations: 43.94 kB / 378.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.292, allocations: 53.36 MB / 431.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005312/0.2973, allocations: 3.684 MB / 435.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.2995, allocations: 0.9665 MB / 436.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.2997, allocations: 11.94 kB / 436.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.2999, allocations: 87.09 kB / 436.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.3002, allocations: 162.6 kB / 436.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.3007, allocations: 171.6 kB / 436.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000666/0.3014, allocations: 0.6189 MB / 437.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002752/0.3017, allocations: 146 kB / 437.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003811/0.302, allocations: 263.1 kB / 437.7 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000388/0.3024, allocations: 282.8 kB / 438 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.75e-05/0.3025, allocations: 52 kB / 438 MB, free: 476 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.3026, allocations: 56 kB / 438.1 MB, free: 420 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.3028, allocations: 127.5 kB / 438.2 MB, free: 292 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.303, allocations: 286.6 kB / 438.5 MB, free: 4 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007246/0.3037, allocations: 0.6236 MB / 439.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.3038, allocations: 3.984 kB / 439.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3038, allocations: 0 / 439.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3038, allocations: 4 kB / 439.1 MB, free: 15.38 MB / 350.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.00153/0.3053, allocations: 0.7737 MB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3053, allocations: 12.03 kB / 439.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.3056, allocations: 68.55 kB / 440 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000549/0.3061, allocations: 293.7 kB / 440.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.3061, allocations: 37 kB / 440.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.108e-05/0.3062, allocations: 47.95 kB / 440.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000773/0.307, allocations: 422.4 kB / 440.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.307, allocations: 3.984 kB / 440.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.3071, allocations: 20 kB / 440.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.3071, allocations: 12 kB / 440.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007214/0.3078, allocations: 383.8 kB / 441.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.3102, allocations: 1.348 MB / 442.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008008/0.311, allocations: 471.3 kB / 443 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006644/0.3117, allocations: 316.1 kB / 443.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.177e-05/0.3117, allocations: 12.64 kB / 443.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.3118, allocations: 39.22 kB / 443.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.205e-06/0.3118, allocations: 0 / 443.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.00666/0.3184, allocations: 2.868 MB / 446.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.3185, allocations: 64.41 kB / 446.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.3188, allocations: 276.6 kB / 446.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.262e-05/0.3189, allocations: 45.7 kB / 446.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.319, allocations: 221.4 kB / 446.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/0.3193, allocations: 372.7 kB / 447.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.3196, allocations: 150.7 kB / 447.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.3198, allocations: 370.8 kB / 447.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004489/0.3202, allocations: 233.9 kB / 447.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.3207, allocations: 317.4 kB / 448.2 MB, free: 6.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009817/0.3217, allocations: 0.5727 MB / 448.8 MB, free: 5.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3217, allocations: 7.938 kB / 448.8 MB, free: 5.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001257/0.323, allocations: 0.7393 MB / 449.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.323, allocations: 4 kB / 449.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.323, allocations: 3.938 kB / 449.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.323, allocations: 4 kB / 449.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007873/0.3238, allocations: 199.7 kB / 449.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.3238, allocations: 4 kB / 449.7 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.3241, allocations: 32.05 kB / 449.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/0.3242, allocations: 35.98 kB / 449.8 MB, free: 4.434 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.00028/0.3245, allocations: 205.5 kB / 450 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.3246, allocations: 59.67 kB / 450.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.3248, allocations: 77.62 kB / 450.1 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.3248, allocations: 8 kB / 450.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.3248, allocations: 4 kB / 450.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.3248, allocations: 7.969 kB / 450.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.3278, allocations: 1.895 MB / 452.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.3278, allocations: 8.031 kB / 452.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008097/0.3286, allocations: 195.7 kB / 452.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/0.3286, allocations: 8 kB / 452.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.207e-05/0.3287, allocations: 28 kB / 452.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-05/0.3287, allocations: 11.94 kB / 452.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.3287, allocations: 4 kB / 452.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.3307, allocations: 1.302 MB / 453.6 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.3308, allocations: 59.67 kB / 453.7 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-05/0.3309, allocations: 20 kB / 453.7 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/0.3313, allocations: 35.98 kB / 453.7 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.3314, allocations: 80.75 kB / 453.8 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.3314, allocations: 31.98 kB / 453.8 MB, free: 220 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002127/0.3317, allocations: 195.1 kB / 454 MB, free: 24 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3317, allocations: 0 / 454 MB, free: 24 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005594/0.3322, allocations: 160 kB / 454.2 MB, free: 15.86 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.0001712/0.3324, allocations: 133.5 kB / 454.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.3336, allocations: 0.6371 MB / 454.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.3336, allocations: 7.938 kB / 455 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006566/0.3342, allocations: 385.4 kB / 455.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008271/0.3351, allocations: 144.6 kB / 455.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.3378, allocations: 1.563 MB / 457 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005731/0.3383, allocations: 0.8803 MB / 457.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003096/0.3386, allocations: 85.2 kB / 458 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.3388, allocations: 55.42 kB / 458.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of SimCode: time 1.293e-06/0.3388, allocations: 0 / 458.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of Templates: time 0.01507/0.3539, allocations: 7.636 MB / 465.7 MB, free: 4.324 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.775170773034915]