Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001456/0.001456, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.001756/0.001756, allocations: 213.7 kB / 22.98 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2414/0.2414, allocations: 44.27 MB / 330.4 MB, free: 9.293 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003859/0.003859, allocations: 80.98 kB / 468 MB, free: 3.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1781, allocations: 61.04 MB / 0.5166 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004076/0.1821, allocations: 2.159 MB / 0.5187 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.1838, allocations: 0.7295 MB / 0.5195 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.1839, allocations: 11.94 kB / 0.5195 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.1842, allocations: 35.64 kB / 0.5195 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.1843, allocations: 67.41 kB / 0.5196 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.1849, allocations: 139.7 kB / 0.5197 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004377/0.1853, allocations: 331.2 kB / 0.52 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.1855, allocations: 64.72 kB / 0.5201 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.1858, allocations: 143.6 kB / 0.5202 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.1861, allocations: 147.4 kB / 0.5203 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.845e-05/0.1861, allocations: 24 kB / 0.5204 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.1863, allocations: 79.94 kB / 0.5204 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1864, allocations: 63.77 kB / 0.5205 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.1865, allocations: 115.5 kB / 0.5206 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005095/0.187, allocations: 342.7 kB / 0.5209 GB, free: 2.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.187, allocations: 0 / 0.5209 GB, free: 2.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.187, allocations: 0 / 0.5209 GB, free: 2.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.187, allocations: 0 / 0.5209 GB, free: 2.23 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001013/0.1881, allocations: 493.5 kB / 0.5214 GB, free: 1.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.1881, allocations: 12.03 kB / 0.5214 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.1882, allocations: 24.8 kB / 0.5215 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.1886, allocations: 198 kB / 0.5216 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.1886, allocations: 12.81 kB / 0.5217 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.34e-05/0.1887, allocations: 32.31 kB / 0.5217 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.1892, allocations: 275.4 kB / 0.5219 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1892, allocations: 0 / 0.5219 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.1893, allocations: 8 kB / 0.522 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.1893, allocations: 8 kB / 0.522 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004941/0.1898, allocations: 229.6 kB / 0.5222 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.1911, allocations: 0.5957 MB / 0.5228 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/0.1917, allocations: 230.4 kB / 0.523 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.1919, allocations: 124.8 kB / 0.5231 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.192, allocations: 4 kB / 0.5231 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/0.192, allocations: 38.56 kB / 0.5231 GB, free: 15.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/0.192, allocations: 0 / 0.5231 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.00317/0.1952, allocations: 1.232 MB / 0.5243 GB, free: 14.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.1953, allocations: 55.41 kB / 0.5244 GB, free: 14.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.1955, allocations: 182.4 kB / 0.5246 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.1956, allocations: 29.7 kB / 0.5246 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1957, allocations: 144.8 kB / 0.5247 GB, free: 14.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.1958, allocations: 115.1 kB / 0.5248 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.1959, allocations: 61.66 kB / 0.5249 GB, free: 13.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002489/0.1962, allocations: 334.8 kB / 0.5252 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.1964, allocations: 123.9 kB / 0.5253 GB, free: 13.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.1968, allocations: 167.4 kB / 0.5255 GB, free: 13.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/0.1972, allocations: 251.2 kB / 0.5257 GB, free: 13.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1972, allocations: 0 / 0.5257 GB, free: 13.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008256/0.1981, allocations: 429.8 kB / 0.5262 GB, free: 12.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1981, allocations: 4 kB / 0.5262 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.1981, allocations: 8.062 kB / 0.5262 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005739/0.1987, allocations: 236.7 kB / 0.5264 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.1989, allocations: 51.91 kB / 0.5264 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008579/0.1997, allocations: 0.7553 MB / 0.5272 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.2, allocations: 39.95 kB / 0.5272 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.2, allocations: 11.98 kB / 0.5272 GB, free: 11.52 MB / 414.1 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001884/0.2002, allocations: 149.8 kB / 0.5274 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.937e-05/0.2003, allocations: 23.86 kB / 0.5274 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.566e-05/0.2004, allocations: 34.66 kB / 0.5274 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.2004, allocations: 7.938 kB / 0.5274 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2004, allocations: 0 / 0.5274 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.2004, allocations: 3.984 kB / 0.5274 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.202, allocations: 0.8384 MB / 0.5283 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.202, allocations: 4 kB / 0.5283 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.2023, allocations: 47.91 kB / 0.5283 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004196/0.2027, allocations: 216.7 kB / 0.5285 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.2027, allocations: 11.98 kB / 0.5285 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.2038, allocations: 0.7124 MB / 0.5292 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.2038, allocations: 3.938 kB / 0.5292 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.205, allocations: 0.6383 MB / 0.5298 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.2051, allocations: 43.86 kB / 0.5299 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/0.2052, allocations: 12 kB / 0.5299 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.2054, allocations: 31.95 kB / 0.5299 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.2055, allocations: 55.83 kB / 0.53 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.2056, allocations: 16.05 kB / 0.53 GB, free: 8.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.2057, allocations: 132.3 kB / 0.5301 GB, free: 8.441 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2057, allocations: 0 / 0.5301 GB, free: 8.441 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003729/0.2061, allocations: 76 kB / 0.5302 GB, free: 8.367 MB / 414.1 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002169/0.2063, allocations: 123.1 kB / 0.5303 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007445/0.207, allocations: 300 kB / 0.5306 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.207, allocations: 0 / 0.5306 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003535/0.2074, allocations: 164 kB / 0.5308 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.2078, allocations: 35.95 kB / 0.5308 GB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.2098, allocations: 0.7511 MB / 0.5315 GB, free: 6.965 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.21, allocations: 142.9 kB / 0.5317 GB, free: 6.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.396e-05/0.2101, allocations: 21.95 kB / 0.5317 GB, free: 6.781 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.2101, allocations: 27.42 kB / 0.5317 GB, free: 6.758 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2101, allocations: 0 / 0.5317 GB, free: 6.758 MB / 414.1 MB Notification: Performance of Templates: time 0.009867/0.22, allocations: 4.434 MB / 0.536 GB, free: 2.348 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.90691583417356]