Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 105.8 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002312/0.002312, allocations: 188.3 kB / 23.72 MB, free: 4.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 47.92 kB / 370.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2675, allocations: 52.18 MB / 423.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005266/0.2727, allocations: 3.584 MB / 426.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.2746, allocations: 0.8801 MB / 427.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004017/0.275, allocations: 11.94 kB / 427.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.2754, allocations: 83.16 kB / 427.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005191/0.2759, allocations: 146.7 kB / 427.8 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005396/0.2764, allocations: 151.7 kB / 428 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000807/0.2773, allocations: 0.5956 MB / 428.6 MB, free: 9.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.2776, allocations: 142 kB / 428.7 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004343/0.278, allocations: 251.2 kB / 428.9 MB, free: 8.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004177/0.2784, allocations: 274.9 kB / 429.2 MB, free: 8.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.2785, allocations: 52 kB / 429.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.2786, allocations: 56 kB / 429.3 MB, free: 8.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.2788, allocations: 115.5 kB / 429.4 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002954/0.2791, allocations: 270.7 kB / 429.7 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007032/0.2798, allocations: 0.6042 MB / 430.3 MB, free: 7.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2798, allocations: 0 / 430.3 MB, free: 7.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2798, allocations: 0 / 430.3 MB, free: 7.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.388e-05/0.2798, allocations: 0 / 430.3 MB, free: 7.484 MB / 334.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.00194/0.2818, allocations: 0.7856 MB / 431.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2818, allocations: 8.031 kB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.2819, allocations: 56.61 kB / 431.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.2824, allocations: 269.1 kB / 431.4 MB, free: 6.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.122e-05/0.2825, allocations: 37.38 kB / 431.4 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.833e-05/0.2826, allocations: 52.31 kB / 431.5 MB, free: 6.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.2836, allocations: 458.7 kB / 431.9 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.2836, allocations: 0 / 431.9 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.878e-05/0.2837, allocations: 20 kB / 432 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.2837, allocations: 12 kB / 432 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.2849, allocations: 455.7 kB / 432.4 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/0.2876, allocations: 1.332 MB / 433.7 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000988/0.2886, allocations: 0.4987 MB / 434.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008332/0.2894, allocations: 351.9 kB / 434.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/0.2895, allocations: 8.641 kB / 434.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.2895, allocations: 59.08 kB / 434.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 2.495e-06/0.2895, allocations: 0 / 434.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=103): time 0.00799/0.2975, allocations: 3.005 MB / 437.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.2976, allocations: 60.41 kB / 437.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.2979, allocations: 256.2 kB / 438 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.2979, allocations: 41.7 kB / 438 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.2981, allocations: 197.5 kB / 438.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003002/0.2984, allocations: 368.8 kB / 438.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.2986, allocations: 142.7 kB / 438.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002804/0.2989, allocations: 362.8 kB / 439.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/0.2996, allocations: 277.8 kB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000922/0.3005, allocations: 345.3 kB / 439.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.3021, allocations: 0.6235 MB / 440.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3021, allocations: 0 / 440.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001669/0.3038, allocations: 0.7861 MB / 441.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.3038, allocations: 4 kB / 441.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3038, allocations: 0 / 441.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.3038, allocations: 7.938 kB / 441.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008829/0.3047, allocations: 215.8 kB / 441.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/0.3047, allocations: 4 kB / 441.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/0.3052, allocations: 47.95 kB / 441.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/0.3052, allocations: 31.92 kB / 441.4 MB, free: 12.16 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 (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.0003454/0.3056, allocations: 197.6 kB / 441.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.3057, allocations: 59.67 kB / 441.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.306, allocations: 77.33 kB / 441.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.306, allocations: 12 kB / 441.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/0.306, allocations: 0 / 441.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.306, allocations: 3.984 kB / 441.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004155/0.3102, allocations: 1.945 MB / 443.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.3102, allocations: 4 kB / 443.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008744/0.311, allocations: 203.7 kB / 443.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.059e-05/0.3111, allocations: 8 kB / 443.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-05/0.3111, allocations: 31.92 kB / 443.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-05/0.3111, allocations: 8 kB / 443.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.3112, allocations: 7.938 kB / 443.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/0.3139, allocations: 1.377 MB / 445.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.314, allocations: 51.73 kB / 445.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.567e-05/0.3141, allocations: 27.92 kB / 445.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/0.3146, allocations: 43.97 kB / 445.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.3147, allocations: 84.75 kB / 445.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/0.3148, allocations: 36.11 kB / 445.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002/0.315, allocations: 179.1 kB / 445.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.315, allocations: 3.938 kB / 445.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005804/0.3155, allocations: 159.9 kB / 445.9 MB, free: 7.457 MB / 350.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.0001804/0.3157, allocations: 119.1 kB / 446 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.3174, allocations: 0.6957 MB / 446.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.3174, allocations: 3.938 kB / 446.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000863/0.3183, allocations: 413.9 kB / 447.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000853/0.3192, allocations: 120.8 kB / 447.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.3224, allocations: 1.555 MB / 448.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007869/0.3232, allocations: 0.8723 MB / 449.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003848/0.3235, allocations: 76.97 kB / 449.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.3237, allocations: 59.42 kB / 449.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of SimCode: time 1.684e-06/0.3237, allocations: 0 / 449.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of Templates: time 0.01589/0.3396, allocations: 7.163 MB / 456.9 MB, free: 12.33 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.6528798667714]