Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.0009716/0.0009716, allocations: 88.28 kB / 21.44 MB, free: 3.121 MB / 18.57 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.005295/0.005295, allocations: 153.8 kB / 24.69 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8816/0.8816, allocations: 177 MB / 204.9 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2442/0.2442, allocations: 34.23 MB / 295.6 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 443.4 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.154e-05/3.308e-05, allocations: 5.094 kB / 443.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.1933/0.1933, allocations: 2.261 MB / 445.7 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1944, allocations: 0.868 MB / 446.5 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.1945, allocations: 2.906 kB / 446.5 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.1948, allocations: 58.08 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.195, allocations: 75.83 kB / 446.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.1953, allocations: 154.7 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.1956, allocations: 363.2 kB / 447.2 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.1958, allocations: 52.22 kB / 447.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.1961, allocations: 220.1 kB / 447.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.1962, allocations: 130.6 kB / 447.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.358e-05/0.1963, allocations: 28.56 kB / 447.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.1964, allocations: 90.83 kB / 447.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.161e-05/0.1965, allocations: 73.77 kB / 447.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.009e-05/0.1966, allocations: 101.8 kB / 447.9 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.197, allocations: 403.2 kB / 448.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.197, allocations: 0 / 448.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.197, allocations: 0 / 448.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.197, allocations: 0 / 448.3 MB, free: 42.34 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.0006594/0.1977, allocations: 0.5029 MB / 448.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1977, allocations: 10.75 kB / 448.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.1978, allocations: 39.34 kB / 448.8 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.1982, allocations: 194.4 kB / 449 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.1982, allocations: 22.72 kB / 449 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.1982, allocations: 30.14 kB / 449 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.1986, allocations: 262.9 kB / 449.3 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1986, allocations: 3.062 kB / 449.3 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.1986, allocations: 12.38 kB / 449.3 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1986, allocations: 10.38 kB / 449.3 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.1989, allocations: 232.8 kB / 449.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007996/0.1997, allocations: 0.5935 MB / 450.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.2001, allocations: 237.8 kB / 450.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.2002, allocations: 124.9 kB / 450.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.2003, allocations: 448 / 450.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.2003, allocations: 33.41 kB / 450.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.292e-06/0.2003, allocations: 0 / 450.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001793/0.2021, allocations: 1.201 MB / 451.7 MB, free: 40.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.2021, allocations: 62.34 kB / 451.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2022, allocations: 187.1 kB / 452 MB, free: 40.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.2023, allocations: 35.55 kB / 452 MB, free: 40.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.2023, allocations: 143.5 kB / 452.2 MB, free: 39.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.2024, allocations: 123.8 kB / 452.3 MB, free: 39.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/0.2024, allocations: 59.62 kB / 452.3 MB, free: 39.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.662e-05/0.2025, allocations: 334.7 kB / 452.7 MB, free: 39.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.2026, allocations: 120.8 kB / 452.8 MB, free: 39.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.2028, allocations: 163 kB / 452.9 MB, free: 39.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.203, allocations: 240.2 kB / 453.2 MB, free: 39.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.203, allocations: 0 / 453.2 MB, free: 39.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000479/0.2035, allocations: 419.7 kB / 453.6 MB, free: 39.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2035, allocations: 8.984 kB / 453.6 MB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2035, allocations: 2.469 kB / 453.6 MB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003235/0.2038, allocations: 196.4 kB / 453.8 MB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.204, allocations: 55.5 kB / 453.8 MB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004247/0.2044, allocations: 0.7414 MB / 454.6 MB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.2045, allocations: 37.53 kB / 454.6 MB, free: 38.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.2046, allocations: 12.09 kB / 454.6 MB, free: 38.4 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 0.0001141/0.2047, allocations: 156.8 kB / 454.8 MB, free: 38.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.2047, allocations: 27.52 kB / 454.8 MB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.366e-05/0.2048, allocations: 37 kB / 454.8 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2048, allocations: 5.625 kB / 454.8 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.2048, allocations: 0 / 454.8 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2048, allocations: 0 / 454.8 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009448/0.2057, allocations: 0.825 MB / 455.7 MB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2057, allocations: 0 / 455.7 MB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.2058, allocations: 50.2 kB / 455.7 MB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002387/0.2061, allocations: 169.7 kB / 455.9 MB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.2061, allocations: 14.23 kB / 455.9 MB, free: 37.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000344/0.2064, allocations: 0.6882 MB / 456.6 MB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2064, allocations: 3.938 kB / 456.6 MB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006298/0.2071, allocations: 0.5958 MB / 457.2 MB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.624e-05/0.2072, allocations: 48.84 kB / 457.2 MB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.2072, allocations: 17.62 kB / 457.3 MB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.2073, allocations: 39.14 kB / 457.3 MB, free: 36.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.2074, allocations: 52.27 kB / 457.3 MB, free: 36.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.2074, allocations: 12.89 kB / 457.4 MB, free: 36.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.77e-05/0.2075, allocations: 139.3 kB / 457.5 MB, free: 36.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2075, allocations: 0 / 457.5 MB, free: 36.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002586/0.2077, allocations: 67.44 kB / 457.6 MB, free: 36.54 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.0006255/0.2084, allocations: 394.2 kB / 457.9 MB, free: 36.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004803/0.2089, allocations: 291.1 kB / 458.2 MB, free: 36.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2089, allocations: 0 / 458.2 MB, free: 36.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.209, allocations: 149 kB / 458.4 MB, free: 36.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.2093, allocations: 43.36 kB / 458.4 MB, free: 36.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.2105, allocations: 0.7419 MB / 459.2 MB, free: 35.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.2106, allocations: 147.9 kB / 459.3 MB, free: 35.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.515e-05/0.2107, allocations: 31.17 kB / 459.3 MB, free: 35.71 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2107, allocations: 3.938 kB / 459.3 MB, free: 35.71 MB / 410.7 MB Notification: Performance of Templates: time 0.005469/0.2161, allocations: 4.543 MB / 463.9 MB, free: 35.22 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.481265278533101]