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.001344/0.001344, allocations: 110.1 kB / 16.41 MB, free: 6.488 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.001321/0.001321, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.644/1.644, allocations: 205.1 MB / 223.2 MB, free: 12.1 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.2487/0.2487, allocations: 43.52 MB / 314.1 MB, free: 428 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.001799/0.001799, allocations: 66.03 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1488, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004754/0.1536, allocations: 2.246 MB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.1558, allocations: 0.7683 MB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000302/0.1561, allocations: 4 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.1564, allocations: 35.66 kB / 0.4908 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.1566, allocations: 71.41 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.1572, allocations: 139.6 kB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.1576, allocations: 331.3 kB / 0.4914 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/0.1579, allocations: 92.5 kB / 0.4915 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.1581, allocations: 147.5 kB / 0.4916 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.1584, allocations: 151.4 kB / 0.4917 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.668e-05/0.1584, allocations: 28 kB / 0.4918 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.1586, allocations: 83.88 kB / 0.4918 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1587, allocations: 59.81 kB / 0.4919 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.1588, allocations: 131.4 kB / 0.492 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.1593, allocations: 342.9 kB / 0.4924 GB, free: 7.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1593, allocations: 4 kB / 0.4924 GB, free: 7.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1593, allocations: 0 / 0.4924 GB, free: 7.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1593, allocations: 0 / 0.4924 GB, free: 7.156 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.0009671/0.1603, allocations: 0.5459 MB / 0.4929 GB, free: 6.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1603, allocations: 11.89 kB / 0.4929 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.754e-05/0.1604, allocations: 24.66 kB / 0.4929 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.1608, allocations: 263.8 kB / 0.4932 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.1608, allocations: 12.81 kB / 0.4932 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.1609, allocations: 28.28 kB / 0.4932 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/0.1614, allocations: 263.5 kB / 0.4935 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.1615, allocations: 3.938 kB / 0.4935 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.1615, allocations: 12 kB / 0.4935 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1615, allocations: 4 kB / 0.4935 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004676/0.162, allocations: 237.6 kB / 0.4937 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.1634, allocations: 0.7245 MB / 0.4944 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000607/0.164, allocations: 250.4 kB / 0.4947 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.1643, allocations: 136.8 kB / 0.4948 GB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.1643, allocations: 3.984 kB / 0.4948 GB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.1643, allocations: 38.55 kB / 0.4948 GB, free: 4.457 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.693e-06/0.1644, allocations: 0 / 0.4948 GB, free: 4.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.00321/0.1676, allocations: 1.461 MB / 0.4963 GB, free: 2.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/0.1677, allocations: 59.39 kB / 0.4963 GB, free: 2.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.1679, allocations: 190.6 kB / 0.4965 GB, free: 2.617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.1679, allocations: 33.7 kB / 0.4965 GB, free: 2.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.1681, allocations: 136.7 kB / 0.4967 GB, free: 2.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.1682, allocations: 118.4 kB / 0.4968 GB, free: 2.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.1683, allocations: 61.69 kB / 0.4968 GB, free: 2.258 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1685, allocations: 330.8 kB / 0.4971 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.1687, allocations: 124 kB / 0.4973 GB, free: 1.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.1691, allocations: 167.2 kB / 0.4974 GB, free: 1.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.1695, allocations: 255.2 kB / 0.4977 GB, free: 1.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1696, allocations: 4 kB / 0.4977 GB, free: 1.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007869/0.1704, allocations: 433.7 kB / 0.4981 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.1704, allocations: 4 kB / 0.4981 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.1704, allocations: 8.062 kB / 0.4981 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006034/0.171, allocations: 236.7 kB / 0.4983 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.1712, allocations: 55.91 kB / 0.4984 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008247/0.1721, allocations: 0.7475 MB / 0.4991 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.1723, allocations: 36.02 kB / 0.4991 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.1724, allocations: 16 kB / 0.4992 GB, free: 15.8 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.000166/0.1725, allocations: 151.1 kB / 0.4993 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.1726, allocations: 23.72 kB / 0.4993 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.116e-05/0.1727, allocations: 38.58 kB / 0.4994 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.1727, allocations: 4 kB / 0.4994 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1727, allocations: 0 / 0.4994 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1727, allocations: 0 / 0.4994 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.1743, allocations: 0.9518 MB / 0.5003 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1743, allocations: 0 / 0.5003 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.1745, allocations: 47.91 kB / 0.5003 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/0.175, allocations: 228.6 kB / 0.5006 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.175, allocations: 4 kB / 0.5006 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007525/0.1758, allocations: 0.7085 MB / 0.5013 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1758, allocations: 0 / 0.5013 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.177, allocations: 0.6534 MB / 0.5019 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.1772, allocations: 124.8 kB / 0.502 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.837e-05/0.1773, allocations: 11.94 kB / 0.502 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.1775, allocations: 35.95 kB / 0.5021 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.1777, allocations: 47.98 kB / 0.5021 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.1777, allocations: 15.98 kB / 0.5021 GB, free: 12.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.1779, allocations: 144.2 kB / 0.5023 GB, free: 12.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1779, allocations: 0 / 0.5023 GB, free: 12.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004112/0.1783, allocations: 80 kB / 0.5023 GB, free: 12.4 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.0002866/0.1786, allocations: 131.1 kB / 0.5025 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008416/0.1794, allocations: 323.8 kB / 0.5028 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.1795, allocations: 0 / 0.5028 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003757/0.1798, allocations: 168 kB / 0.5029 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.1803, allocations: 38.67 kB / 0.503 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.1821, allocations: 0.7452 MB / 0.5037 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.1825, allocations: 0.7525 MB / 0.5044 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.759e-05/0.1826, allocations: 22.28 kB / 0.5044 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/0.1826, allocations: 27.42 kB / 0.5045 GB, free: 10.14 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1827, allocations: 0 / 0.5045 GB, free: 10.14 MB / 398.1 MB Notification: Performance of Templates: time 0.01118/0.1938, allocations: 5.123 MB / 0.5095 GB, free: 5.023 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