Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001504/0.001504, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001905/0.001905, allocations: 197.7 kB / 16.14 MB, free: 6.703 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.586/1.586, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4084/0.4084, allocations: 37.98 MB / 307.3 MB, free: 9.824 MB / 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 59.91 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1513, allocations: 56.47 MB / 431 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004002/0.1553, allocations: 2.29 MB / 433.3 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1568, allocations: 0.7762 MB / 434.1 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.1569, allocations: 0 / 434.1 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.1571, allocations: 31.78 kB / 434.1 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.1573, allocations: 55.55 kB / 434.2 MB, free: 3.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.1577, allocations: 115.8 kB / 434.3 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.158, allocations: 311.3 kB / 434.6 MB, free: 3.484 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.1582, allocations: 73 kB / 434.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.1584, allocations: 139.5 kB / 434.8 MB, free: 3.277 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.1586, allocations: 143.5 kB / 434.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.1587, allocations: 16 kB / 434.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.1588, allocations: 71.88 kB / 435 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.101e-05/0.1589, allocations: 47.83 kB / 435.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.1591, allocations: 127.3 kB / 435.2 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.1594, allocations: 323.3 kB / 435.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1594, allocations: 0 / 435.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1595, allocations: 0 / 435.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1595, allocations: 3.938 kB / 435.5 MB, free: 2.559 MB / 366.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.0009656/0.1604, allocations: 0.5576 MB / 436.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1605, allocations: 8.031 kB / 436.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.932e-05/0.1606, allocations: 28.56 kB / 436.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.1609, allocations: 239.9 kB / 436.3 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.1609, allocations: 16.81 kB / 436.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.904e-05/0.161, allocations: 28.31 kB / 436.4 MB, free: 1.598 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/0.1615, allocations: 275.5 kB / 436.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1615, allocations: 0 / 436.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.1615, allocations: 4 kB / 436.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1616, allocations: 8 kB / 436.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004664/0.162, allocations: 237.6 kB / 436.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.1634, allocations: 0.7246 MB / 437.6 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005516/0.1639, allocations: 238.5 kB / 437.8 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.1642, allocations: 148.7 kB / 438 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.1643, allocations: 0 / 438 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1643, allocations: 34.56 kB / 438 MB, free: 15.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.363e-06/0.1643, allocations: 0 / 438 MB, free: 15.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.003325/0.1677, allocations: 1.462 MB / 439.5 MB, free: 14.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.1677, allocations: 55.41 kB / 439.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.1679, allocations: 198.5 kB / 439.7 MB, free: 14.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.168, allocations: 41.64 kB / 439.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.406e-05/0.1681, allocations: 140.5 kB / 439.9 MB, free: 13.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.182e-05/0.1682, allocations: 114.5 kB / 440 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.1683, allocations: 65.61 kB / 440.1 MB, free: 13.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1684, allocations: 330.8 kB / 440.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.1687, allocations: 131.7 kB / 440.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.169, allocations: 176 kB / 440.7 MB, free: 13.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/0.1694, allocations: 247.1 kB / 441 MB, free: 12.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1694, allocations: 0 / 441 MB, free: 12.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007564/0.1702, allocations: 433.9 kB / 441.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1702, allocations: 4 kB / 441.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1702, allocations: 8.062 kB / 441.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/0.1708, allocations: 240.6 kB / 441.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.171, allocations: 51.97 kB / 441.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000715/0.1718, allocations: 0.7475 MB / 442.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.172, allocations: 36.02 kB / 442.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.172, allocations: 16 kB / 442.5 MB, free: 11.2 MB / 382.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.0001899/0.1722, allocations: 142 kB / 442.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.1723, allocations: 23.72 kB / 442.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.362e-05/0.1724, allocations: 38.59 kB / 442.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1724, allocations: 4 kB / 442.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.1724, allocations: 0 / 442.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.1724, allocations: 3.984 kB / 442.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.1741, allocations: 0.9674 MB / 443.7 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.1741, allocations: 4.031 kB / 443.7 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.1743, allocations: 55.91 kB / 443.7 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003903/0.1747, allocations: 212.6 kB / 443.9 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.1747, allocations: 11.98 kB / 443.9 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006314/0.1754, allocations: 0.7161 MB / 444.6 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1754, allocations: 4.031 kB / 444.6 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.1765, allocations: 0.6371 MB / 445.3 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.1766, allocations: 124.8 kB / 445.4 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.947e-05/0.1767, allocations: 20 kB / 445.4 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.177, allocations: 40.11 kB / 445.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.1771, allocations: 47.86 kB / 445.5 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.1772, allocations: 11.98 kB / 445.5 MB, free: 7.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.1773, allocations: 156.2 kB / 445.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1773, allocations: 0 / 445.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003648/0.1777, allocations: 72 kB / 445.7 MB, free: 7.773 MB / 382.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.0002211/0.1779, allocations: 139.2 kB / 445.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007229/0.1786, allocations: 315.8 kB / 446.2 MB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1786, allocations: 0 / 446.2 MB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003382/0.179, allocations: 155.9 kB / 446.3 MB, free: 7.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.1794, allocations: 31.98 kB / 446.4 MB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.1813, allocations: 0.8591 MB / 447.2 MB, free: 6.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.1816, allocations: 0.7486 MB / 448 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.214e-05/0.1817, allocations: 26.28 kB / 448 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.1817, allocations: 23.44 kB / 448 MB, free: 5.426 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1817, allocations: 0 / 448 MB, free: 5.426 MB / 382.1 MB Notification: Performance of Templates: time 0.008245/0.19, allocations: 4.781 MB / 452.8 MB, free: 0.6406 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1)