Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.005633/0.005633, allocations: 105.9 kB / 21.98 MB, free: 5.223 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.001474/0.001474, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 259 MB, free: 8.012 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.89 kB / 379.8 MB, free: 2.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2723, allocations: 53.37 MB / 433.2 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005071/0.2774, allocations: 3.68 MB / 436.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.2795, allocations: 0.9665 MB / 437.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.2797, allocations: 15.88 kB / 437.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.2799, allocations: 83.16 kB / 437.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.2802, allocations: 162.5 kB / 438.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.2807, allocations: 163.7 kB / 438.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006792/0.2814, allocations: 0.6305 MB / 438.9 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.2817, allocations: 146 kB / 439 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003662/0.282, allocations: 259.1 kB / 439.3 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.2824, allocations: 286.8 kB / 439.5 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.358e-05/0.2825, allocations: 48 kB / 439.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.2826, allocations: 56 kB / 439.6 MB, free: 456 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.2827, allocations: 127.5 kB / 439.8 MB, free: 328 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002839/0.283, allocations: 278.7 kB / 440 MB, free: 48 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007307/0.2837, allocations: 0.6286 MB / 440.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2837, allocations: 4 kB / 440.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2837, allocations: 0 / 440.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.2838, allocations: 0 / 440.7 MB, free: 15.41 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.001517/0.2853, allocations: 0.7776 MB / 441.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2853, allocations: 8.031 kB / 441.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.2855, allocations: 72.55 kB / 441.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005386/0.2861, allocations: 293.7 kB / 441.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.2861, allocations: 33 kB / 441.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.494e-05/0.2862, allocations: 59.89 kB / 441.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007903/0.287, allocations: 422.3 kB / 442.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.287, allocations: 4 kB / 442.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.888e-05/0.2871, allocations: 20 kB / 442.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.2871, allocations: 8 kB / 442.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00073/0.2878, allocations: 395.8 kB / 442.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.2902, allocations: 1.34 MB / 444.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008232/0.291, allocations: 475.2 kB / 444.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006528/0.2916, allocations: 316.1 kB / 444.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-05/0.2917, allocations: 12.64 kB / 444.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.2917, allocations: 35.22 kB / 444.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.094e-06/0.2917, allocations: 8 kB / 444.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006474/0.2982, allocations: 2.864 MB / 447.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.2982, allocations: 64.39 kB / 447.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.2986, allocations: 280.6 kB / 448.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.2986, allocations: 41.7 kB / 448.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.2988, allocations: 217.5 kB / 448.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/0.2991, allocations: 372.7 kB / 448.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.2993, allocations: 146.7 kB / 448.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.2994, allocations: 366.8 kB / 449.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000452/0.2999, allocations: 237.9 kB / 449.4 MB, free: 6.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.3004, allocations: 317.4 kB / 449.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009802/0.3014, allocations: 0.5727 MB / 450.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3014, allocations: 3.938 kB / 450.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001239/0.3026, allocations: 0.7393 MB / 451.1 MB, free: 4.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.3027, allocations: 12.06 kB / 451.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3027, allocations: 3.938 kB / 451.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.3027, allocations: 4 kB / 451.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007683/0.3035, allocations: 195.7 kB / 451.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.3035, allocations: 11.98 kB / 451.3 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.3038, allocations: 27.98 kB / 451.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/0.3038, allocations: 28 kB / 451.3 MB, free: 4.469 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.0002586/0.3041, allocations: 205.5 kB / 451.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.599e-05/0.3042, allocations: 59.67 kB / 451.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.3043, allocations: 77.62 kB / 451.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.3043, allocations: 12 kB / 451.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.3043, allocations: 0 / 451.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.3044, allocations: 11.95 kB / 451.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.3073, allocations: 1.894 MB / 453.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.3073, allocations: 4 kB / 453.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/0.3081, allocations: 199.7 kB / 453.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/0.3081, allocations: 12.53 kB / 453.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.075e-05/0.3081, allocations: 28 kB / 453.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/0.3081, allocations: 11.98 kB / 453.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.3082, allocations: 7.938 kB / 453.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.3102, allocations: 1.291 MB / 455.1 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.3103, allocations: 59.67 kB / 455.2 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/0.3104, allocations: 24.12 kB / 455.2 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.3107, allocations: 35.98 kB / 455.3 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.3109, allocations: 80.75 kB / 455.3 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.3109, allocations: 35.98 kB / 455.4 MB, free: 248 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.3111, allocations: 195.1 kB / 455.6 MB, free: 52 kB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3111, allocations: 4 kB / 455.6 MB, free: 48 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000553/0.3117, allocations: 160 kB / 455.7 MB, free: 15.89 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.0001682/0.3119, allocations: 137.6 kB / 455.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.3131, allocations: 0.6331 MB / 456.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3131, allocations: 3.938 kB / 456.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006664/0.3137, allocations: 389.7 kB / 456.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008739/0.3146, allocations: 148.8 kB / 457 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.3174, allocations: 1.581 MB / 458.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006378/0.318, allocations: 0.8764 MB / 459.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.3182, allocations: 71.42 kB / 459.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3182, allocations: 4 kB / 459.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of Templates: time 0.01353/0.3318, allocations: 7.705 MB / 467.3 MB, free: 4.258 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.949475051136687]