Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.0008724/0.0008724, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004121/0.004121, allocations: 163.9 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8795/0.8795, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2398/0.2398, allocations: 34.26 MB / 295.7 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.27e-05, allocations: 6.922 kB / 443.4 MB, free: 1.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.192/0.1921, allocations: 2.258 MB / 445.7 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009635/0.193, allocations: 0.862 MB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.702e-05/0.1931, allocations: 8.281 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.1934, allocations: 59.28 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.1935, allocations: 71.81 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.1938, allocations: 155.4 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.194, allocations: 365.2 kB / 447.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.1941, allocations: 52.91 kB / 447.2 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.1944, allocations: 214.5 kB / 447.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.1945, allocations: 137.9 kB / 447.6 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.1946, allocations: 26.19 kB / 447.6 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1947, allocations: 89.86 kB / 447.7 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.23e-05/0.1948, allocations: 72.19 kB / 447.8 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.811e-05/0.1948, allocations: 102.1 kB / 447.9 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.1951, allocations: 400.1 kB / 448.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1951, allocations: 3.938 kB / 448.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1951, allocations: 0 / 448.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1952, allocations: 0 / 448.3 MB, free: 42.42 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006124/0.1958, allocations: 0.5104 MB / 448.8 MB, free: 42.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1958, allocations: 9 kB / 448.8 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.1959, allocations: 39.95 kB / 448.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.1962, allocations: 193.3 kB / 449 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.1962, allocations: 23.56 kB / 449 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/0.1963, allocations: 23.72 kB / 449.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.1966, allocations: 268.6 kB / 449.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1966, allocations: 0.6875 kB / 449.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.1966, allocations: 11.25 kB / 449.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.1966, allocations: 16.72 kB / 449.3 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.1969, allocations: 230.4 kB / 449.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007455/0.1977, allocations: 0.5962 MB / 450.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.198, allocations: 227.3 kB / 450.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.1981, allocations: 123.3 kB / 450.5 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.1982, allocations: 6.844 kB / 450.5 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.1982, allocations: 33.94 kB / 450.6 MB, free: 41.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.1982, allocations: 0 / 450.6 MB, free: 41.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001722/0.1999, allocations: 1.196 MB / 451.7 MB, free: 40.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.1999, allocations: 60.66 kB / 451.8 MB, free: 40.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.2, allocations: 188.4 kB / 452 MB, free: 40.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2001, allocations: 36.64 kB / 452 MB, free: 40.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.2001, allocations: 142.8 kB / 452.2 MB, free: 40.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.2001, allocations: 119.6 kB / 452.3 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/0.2002, allocations: 65.61 kB / 452.3 MB, free: 39.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.714e-05/0.2003, allocations: 334.6 kB / 452.7 MB, free: 39.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.2004, allocations: 117.1 kB / 452.8 MB, free: 39.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.2005, allocations: 164.8 kB / 452.9 MB, free: 39.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.2008, allocations: 237.4 kB / 453.2 MB, free: 39.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2008, allocations: 0 / 453.2 MB, free: 39.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004676/0.2012, allocations: 423.5 kB / 453.6 MB, free: 39.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2013, allocations: 15.41 kB / 453.6 MB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2013, allocations: 0 / 453.6 MB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/0.2016, allocations: 196.2 kB / 453.8 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.2017, allocations: 54.47 kB / 453.9 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003939/0.2021, allocations: 0.7301 MB / 454.6 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.2022, allocations: 38.89 kB / 454.6 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.2022, allocations: 15.97 kB / 454.6 MB, free: 38.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.free,bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 9.217e-05/0.2023, allocations: 144.2 kB / 454.8 MB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.2023, allocations: 27.86 kB / 454.8 MB, free: 38.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.2024, allocations: 41.5 kB / 454.8 MB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2024, allocations: 2.625 kB / 454.8 MB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2024, allocations: 0 / 454.8 MB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2024, allocations: 0 / 454.8 MB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008427/0.2032, allocations: 0.8288 MB / 455.7 MB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2032, allocations: 0 / 455.7 MB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.2033, allocations: 52.16 kB / 455.7 MB, free: 37.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002122/0.2036, allocations: 174.3 kB / 455.9 MB, free: 37.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.2036, allocations: 10.25 kB / 455.9 MB, free: 37.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003215/0.2039, allocations: 0.686 MB / 456.6 MB, free: 37.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2039, allocations: 3.938 kB / 456.6 MB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000597/0.2045, allocations: 0.5982 MB / 457.2 MB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.048e-05/0.2046, allocations: 45.3 kB / 457.2 MB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.2046, allocations: 14.88 kB / 457.3 MB, free: 36.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.2047, allocations: 40.33 kB / 457.3 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.861e-05/0.2048, allocations: 52.73 kB / 457.3 MB, free: 36.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.2048, allocations: 15.45 kB / 457.4 MB, free: 36.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.914e-05/0.2049, allocations: 141.2 kB / 457.5 MB, free: 36.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2049, allocations: 0 / 457.5 MB, free: 36.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002234/0.2051, allocations: 70.03 kB / 457.6 MB, free: 36.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007479/0.2059, allocations: 391.7 kB / 458 MB, free: 36.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004462/0.2063, allocations: 294.7 kB / 458.2 MB, free: 36.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.2063, allocations: 0 / 458.2 MB, free: 36.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.2065, allocations: 150.3 kB / 458.4 MB, free: 36.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.2068, allocations: 48.69 kB / 458.4 MB, free: 36.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.2078, allocations: 0.7488 MB / 459.2 MB, free: 35.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.862e-05/0.2079, allocations: 141.9 kB / 459.3 MB, free: 35.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.208, allocations: 30.77 kB / 459.3 MB, free: 35.81 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.208, allocations: 0 / 459.3 MB, free: 35.81 MB / 410.7 MB Notification: Performance of Templates: time 0.004475/0.2125, allocations: 4.544 MB / 463.9 MB, free: 35.33 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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: 5.488204189576209]