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.001325/0.001325, allocations: 100 kB / 21.18 MB, free: 0.6484 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.001394/0.001394, allocations: 184.9 kB / 24.45 MB, free: 3.961 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.457/1.457, allocations: 225.7 MB / 253.3 MB, free: 12.81 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.001694/0.001694, allocations: 43.92 kB / 371.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2698, allocations: 52.19 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004918/0.2747, allocations: 3.231 MB / 427.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.2766, allocations: 0.8412 MB / 427.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002145/0.2768, allocations: 15.88 kB / 427.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.277, allocations: 79.22 kB / 428 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.2773, allocations: 146.6 kB / 428.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.2778, allocations: 155.7 kB / 428.3 MB, free: 9.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006768/0.2785, allocations: 0.5995 MB / 428.9 MB, free: 9.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.2787, allocations: 134 kB / 429 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003193/0.2791, allocations: 247.2 kB / 429.3 MB, free: 9.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003437/0.2794, allocations: 238.9 kB / 429.5 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.523e-05/0.2795, allocations: 52 kB / 429.5 MB, free: 8.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.771e-05/0.2796, allocations: 52 kB / 429.6 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.2797, allocations: 115.6 kB / 429.7 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.2799, allocations: 227 kB / 429.9 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006814/0.2806, allocations: 0.6085 MB / 430.5 MB, free: 7.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.2806, allocations: 0 / 430.5 MB, free: 7.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2806, allocations: 4 kB / 430.5 MB, free: 7.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.2806, allocations: 0 / 430.5 MB, free: 7.727 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.001716/0.2824, allocations: 0.7808 MB / 431.3 MB, free: 6.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.2824, allocations: 15.97 kB / 431.3 MB, free: 6.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.2825, allocations: 56.61 kB / 431.4 MB, free: 6.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.283, allocations: 269.2 kB / 431.6 MB, free: 6.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/0.2831, allocations: 33.38 kB / 431.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.2832, allocations: 52.33 kB / 431.7 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009819/0.2842, allocations: 458.6 kB / 432.2 MB, free: 6.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.2842, allocations: 4 kB / 432.2 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.2843, allocations: 16 kB / 432.2 MB, free: 6.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.2843, allocations: 8 kB / 432.2 MB, free: 5.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.2854, allocations: 459.7 kB / 432.7 MB, free: 5.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002444/0.2878, allocations: 1.161 MB / 433.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.2888, allocations: 0.5032 MB / 434.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008597/0.2897, allocations: 344 kB / 434.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/0.2897, allocations: 16.58 kB / 434.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.2898, allocations: 39.22 kB / 434.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 2.224e-06/0.2898, allocations: 0 / 434.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=103): time 0.007856/0.2976, allocations: 3.004 MB / 437.7 MB, free: 396 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.2977, allocations: 68.34 kB / 437.8 MB, free: 316 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.298, allocations: 237.9 kB / 438 MB, free: 64 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.298, allocations: 41.7 kB / 438.1 MB, free: 16 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.2982, allocations: 201.5 kB / 438.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000386/0.2986, allocations: 372.8 kB / 438.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.2988, allocations: 142.6 kB / 438.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.299, allocations: 362.8 kB / 439.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006221/0.2997, allocations: 269.8 kB / 439.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007655/0.3004, allocations: 357.4 kB / 439.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.3018, allocations: 0.6194 MB / 440.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3018, allocations: 0 / 440.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001691/0.3035, allocations: 0.7862 MB / 441.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3035, allocations: 4 kB / 441.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3036, allocations: 0 / 441.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/0.3036, allocations: 8 kB / 441.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008793/0.3045, allocations: 215.7 kB / 441.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.3045, allocations: 7.984 kB / 441.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/0.3048, allocations: 43.95 kB / 441.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/0.3049, allocations: 28 kB / 441.4 MB, free: 12.59 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.0002802/0.3052, allocations: 193.7 kB / 441.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.89e-05/0.3053, allocations: 51.67 kB / 441.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.3054, allocations: 77.36 kB / 441.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.3055, allocations: 15.94 kB / 441.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.3055, allocations: 0 / 441.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.3055, allocations: 7.969 kB / 441.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003321/0.3088, allocations: 1.763 MB / 443.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.3088, allocations: 8.031 kB / 443.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008631/0.3097, allocations: 203.7 kB / 443.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.3097, allocations: 8 kB / 443.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.675e-05/0.3097, allocations: 28 kB / 443.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.328e-05/0.3098, allocations: 11.98 kB / 443.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/0.3098, allocations: 11.88 kB / 443.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.3123, allocations: 1.369 MB / 445.2 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.3125, allocations: 51.73 kB / 445.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-05/0.3125, allocations: 24 kB / 445.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/0.313, allocations: 52.08 kB / 445.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.3131, allocations: 80.75 kB / 445.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/0.3131, allocations: 39.92 kB / 445.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.3133, allocations: 169.2 kB / 445.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3133, allocations: 3.938 kB / 445.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000581/0.3139, allocations: 152 kB / 445.7 MB, free: 8.117 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.000211/0.3141, allocations: 135 kB / 445.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.3157, allocations: 0.6957 MB / 446.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3157, allocations: 0 / 446.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008284/0.3165, allocations: 418.6 kB / 447 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007743/0.3173, allocations: 114.6 kB / 447.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.3201, allocations: 1.573 MB / 448.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.3204, allocations: 268.5 kB / 448.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.3206, allocations: 71.41 kB / 449 MB, free: 4.742 MB / 350.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3206, allocations: 0 / 449 MB, free: 4.742 MB / 350.1 MB Notification: Performance of Templates: time 0.01226/0.3328, allocations: 7.539 MB / 456.5 MB, free: 13.2 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/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: 7.529110088944435]