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.001802/0.001802, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002241/0.002241, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.575/1.575, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2506/0.2506, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 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 0.002065/0.002065, allocations: 71.83 kB / 0.4914 GB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1471, allocations: 65.99 MB / 0.5558 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004802/0.1519, allocations: 2.362 MB / 0.5582 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.1537, allocations: 0.919 MB / 0.559 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.1539, allocations: 7.938 kB / 0.5591 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.1542, allocations: 55.52 kB / 0.5591 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.1544, allocations: 75.39 kB / 0.5592 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.1549, allocations: 143.6 kB / 0.5593 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000448/0.1554, allocations: 355.3 kB / 0.5597 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.1556, allocations: 64.92 kB / 0.5597 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003051/0.1559, allocations: 163.5 kB / 0.5599 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.1561, allocations: 163.4 kB / 0.56 GB, free: 1.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.376e-05/0.1562, allocations: 28 kB / 0.5601 GB, free: 1.008 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.1564, allocations: 83.97 kB / 0.5601 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.1565, allocations: 67.81 kB / 0.5602 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.1567, allocations: 139.3 kB / 0.5603 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005763/0.1573, allocations: 390.5 kB / 0.5607 GB, free: 348 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.1573, allocations: 4 kB / 0.5607 GB, free: 344 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1573, allocations: 4 kB / 0.5607 GB, free: 340 kB / 414.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.1573, allocations: 0 / 0.5607 GB, free: 340 kB / 414.1 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.001201/0.1585, allocations: 0.5843 MB / 0.5613 GB, free: 15.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1585, allocations: 13.11 kB / 0.5613 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.1587, allocations: 32.8 kB / 0.5613 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.1591, allocations: 263 kB / 0.5616 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.1591, allocations: 12.94 kB / 0.5616 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/0.1592, allocations: 28.31 kB / 0.5616 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/0.1598, allocations: 273.1 kB / 0.5619 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.1598, allocations: 3.953 kB / 0.5619 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.1598, allocations: 8 kB / 0.5619 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.1599, allocations: 8 kB / 0.5619 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005641/0.1604, allocations: 242 kB / 0.5621 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.162, allocations: 0.733 MB / 0.5628 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/0.1626, allocations: 232.6 kB / 0.5631 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.1629, allocations: 125.2 kB / 0.5632 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.163, allocations: 3.938 kB / 0.5632 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.163, allocations: 38.55 kB / 0.5632 GB, free: 13.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.523e-06/0.163, allocations: 0 / 0.5632 GB, free: 13.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.003695/0.1667, allocations: 1.418 MB / 0.5646 GB, free: 12.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.1668, allocations: 63.33 kB / 0.5647 GB, free: 12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.167, allocations: 207.7 kB / 0.5649 GB, free: 11.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.1671, allocations: 37.7 kB / 0.5649 GB, free: 11.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.1672, allocations: 136.9 kB / 0.565 GB, free: 11.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.1673, allocations: 130.9 kB / 0.5652 GB, free: 11.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.1675, allocations: 65.69 kB / 0.5652 GB, free: 11.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1676, allocations: 334.8 kB / 0.5655 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.1679, allocations: 116 kB / 0.5657 GB, free: 10.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.1682, allocations: 159.3 kB / 0.5658 GB, free: 10.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004849/0.1687, allocations: 243 kB / 0.566 GB, free: 10.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1687, allocations: 0 / 0.566 GB, free: 10.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009665/0.1697, allocations: 418 kB / 0.5664 GB, free: 10.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.1697, allocations: 16.05 kB / 0.5665 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.1697, allocations: 3.938 kB / 0.5665 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005083/0.1702, allocations: 188.7 kB / 0.5666 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.1705, allocations: 55.91 kB / 0.5667 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008985/0.1714, allocations: 0.7393 MB / 0.5674 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.1716, allocations: 39.89 kB / 0.5674 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.1717, allocations: 15.98 kB / 0.5675 GB, free: 9.035 MB / 430.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,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0002204/0.1719, allocations: 145.8 kB / 0.5676 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/0.172, allocations: 23.86 kB / 0.5676 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.1721, allocations: 30.66 kB / 0.5677 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1721, allocations: 8.062 kB / 0.5677 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.1721, allocations: 0 / 0.5677 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.1721, allocations: 3.984 kB / 0.5677 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.174, allocations: 0.9364 MB / 0.5686 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.174, allocations: 4.031 kB / 0.5686 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.1742, allocations: 59.84 kB / 0.5686 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004229/0.1746, allocations: 168.7 kB / 0.5688 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.1747, allocations: 11.98 kB / 0.5688 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007444/0.1754, allocations: 0.7005 MB / 0.5695 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1754, allocations: 0 / 0.5695 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.1766, allocations: 0.6037 MB / 0.5701 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.1768, allocations: 133 kB / 0.5702 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.521e-05/0.1768, allocations: 15.98 kB / 0.5702 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.1771, allocations: 31.97 kB / 0.5703 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.1773, allocations: 47.92 kB / 0.5703 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.1773, allocations: 11.98 kB / 0.5703 GB, free: 5.965 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.1775, allocations: 153.5 kB / 0.5705 GB, free: 5.816 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1775, allocations: 0 / 0.5705 GB, free: 5.816 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004016/0.1779, allocations: 79.92 kB / 0.5705 GB, free: 5.738 MB / 430.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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001383/0.1793, allocations: 366 kB / 0.5709 GB, free: 5.504 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000808/0.1801, allocations: 291.5 kB / 0.5712 GB, free: 5.219 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1801, allocations: 0 / 0.5712 GB, free: 5.219 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003715/0.1804, allocations: 147.9 kB / 0.5713 GB, free: 5.074 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.1809, allocations: 47.45 kB / 0.5714 GB, free: 5.031 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.183, allocations: 0.7723 MB / 0.5721 GB, free: 4.227 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.1835, allocations: 0.7525 MB / 0.5728 GB, free: 3.445 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.1836, allocations: 26.28 kB / 0.5729 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.876e-05/0.1837, allocations: 27.42 kB / 0.5729 GB, free: 3.391 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1837, allocations: 0 / 0.5729 GB, free: 3.391 MB / 430.1 MB Notification: Performance of Templates: time 0.01139/0.195, allocations: 5.22 MB / 0.578 GB, free: 14.18 MB / 446.1 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.515587244182825]