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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 107.1 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001586, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2314/0.2314, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 73.45 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1501, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004179/0.1543, allocations: 2.242 MB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.1562, allocations: 0.7722 MB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1564, allocations: 4 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.1567, allocations: 39.59 kB / 0.4908 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.1568, allocations: 67.45 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.1573, allocations: 139.6 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003498/0.1576, allocations: 339.2 kB / 0.4914 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.1579, allocations: 84.52 kB / 0.4914 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.1581, allocations: 147.5 kB / 0.4916 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.1583, allocations: 155.4 kB / 0.4917 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.1584, allocations: 28 kB / 0.4918 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.1585, allocations: 79.88 kB / 0.4918 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1586, allocations: 63.81 kB / 0.4919 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.1588, allocations: 127.4 kB / 0.492 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004992/0.1593, allocations: 346.9 kB / 0.4924 GB, free: 7.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1593, allocations: 0 / 0.4924 GB, free: 7.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1593, allocations: 0 / 0.4924 GB, free: 7.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.1593, allocations: 0 / 0.4924 GB, free: 7.172 MB / 382.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.00104/0.1604, allocations: 0.5536 MB / 0.4929 GB, free: 6.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.1604, allocations: 11.89 kB / 0.4929 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.392e-05/0.1605, allocations: 28.66 kB / 0.4929 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.1609, allocations: 251.9 kB / 0.4932 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.161, allocations: 16.81 kB / 0.4932 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.662e-05/0.161, allocations: 28.28 kB / 0.4932 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/0.1616, allocations: 263.5 kB / 0.4935 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.1616, allocations: 0 / 0.4935 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.1616, allocations: 8 kB / 0.4935 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.1616, allocations: 11.92 kB / 0.4935 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005742/0.1622, allocations: 245.5 kB / 0.4937 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.1636, allocations: 0.7129 MB / 0.4944 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.1641, allocations: 250.3 kB / 0.4947 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.1644, allocations: 144.9 kB / 0.4948 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.1644, allocations: 7.969 kB / 0.4948 GB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.1645, allocations: 34.56 kB / 0.4948 GB, free: 4.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.334e-06/0.1645, allocations: 0 / 0.4948 GB, free: 4.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.003329/0.1678, allocations: 1.454 MB / 0.4963 GB, free: 2.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.1679, allocations: 63.39 kB / 0.4963 GB, free: 2.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.1681, allocations: 186.6 kB / 0.4965 GB, free: 2.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.1682, allocations: 37.7 kB / 0.4965 GB, free: 2.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.1684, allocations: 132.7 kB / 0.4967 GB, free: 2.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.1685, allocations: 118.4 kB / 0.4968 GB, free: 2.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.1686, allocations: 69.69 kB / 0.4968 GB, free: 2.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1687, allocations: 330.8 kB / 0.4971 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.169, allocations: 124 kB / 0.4973 GB, free: 1.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.1693, allocations: 167.2 kB / 0.4974 GB, free: 1.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/0.1697, allocations: 255.2 kB / 0.4977 GB, free: 1.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1697, allocations: 0 / 0.4977 GB, free: 1.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008857/0.1706, allocations: 437.7 kB / 0.4981 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1706, allocations: 4 kB / 0.4981 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.1707, allocations: 4 kB / 0.4981 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/0.1713, allocations: 240.7 kB / 0.4983 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.1715, allocations: 55.91 kB / 0.4984 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.1726, allocations: 0.7475 MB / 0.4991 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/0.173, allocations: 35.95 kB / 0.4991 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/0.1731, allocations: 12 kB / 0.4992 GB, free: 15.82 MB / 398.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.0002226/0.1733, allocations: 151.2 kB / 0.4993 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.1734, allocations: 27.7 kB / 0.4993 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.853e-05/0.1735, allocations: 42.58 kB / 0.4994 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.1735, allocations: 4 kB / 0.4994 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1735, allocations: 0 / 0.4994 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.1736, allocations: 0 / 0.4994 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.176, allocations: 0.9479 MB / 0.5003 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.176, allocations: 0 / 0.5003 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.1763, allocations: 51.91 kB / 0.5003 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004005/0.1767, allocations: 220.6 kB / 0.5006 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.1767, allocations: 19.92 kB / 0.5006 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006364/0.1774, allocations: 0.7046 MB / 0.5013 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1774, allocations: 0 / 0.5013 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.1785, allocations: 0.6457 MB / 0.5019 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.1786, allocations: 124.8 kB / 0.502 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.1787, allocations: 15.94 kB / 0.502 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.179, allocations: 36.02 kB / 0.5021 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.1792, allocations: 43.94 kB / 0.5021 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.1792, allocations: 16.05 kB / 0.5021 GB, free: 12.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.1793, allocations: 148.2 kB / 0.5023 GB, free: 12.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1793, allocations: 3.938 kB / 0.5023 GB, free: 12.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000386/0.1797, allocations: 80 kB / 0.5023 GB, free: 12.41 MB / 398.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.0002087/0.1799, allocations: 119.2 kB / 0.5025 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007309/0.1807, allocations: 319.7 kB / 0.5028 GB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1807, allocations: 128 / 0.5028 GB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.181, allocations: 172 kB / 0.5029 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.1815, allocations: 31.42 kB / 0.503 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.1835, allocations: 0.753 MB / 0.5037 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.1839, allocations: 0.7486 MB / 0.5044 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.777e-05/0.184, allocations: 22.3 kB / 0.5044 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/0.1841, allocations: 23.42 kB / 0.5045 GB, free: 10.17 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1841, allocations: 0 / 0.5045 GB, free: 10.17 MB / 398.1 MB Notification: Performance of Templates: time 0.01014/0.1942, allocations: 5.13 MB / 0.5095 GB, free: 5.047 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile (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) 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) Reference file matches