Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.01239/0.01239, allocations: 101.2 kB / 15.73 MB, free: 5.523 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.002941/0.002941, allocations: 194.9 kB / 16.67 MB, free: 5.461 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.608/1.608, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.212/0.212, allocations: 39.97 MB / 309.9 MB, free: 4.02 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.2. 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.001503/0.001503, allocations: 66.19 kB / 435.8 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1558, allocations: 56.88 MB / 492.6 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004238/0.1601, allocations: 2.247 MB / 494.9 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.1618, allocations: 0.7761 MB / 495.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.162, allocations: 4 kB / 495.7 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.1622, allocations: 39.59 kB / 495.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.1623, allocations: 63.42 kB / 495.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.1628, allocations: 139.7 kB / 495.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.1632, allocations: 331.3 kB / 496.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.1634, allocations: 88.52 kB / 496.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.1636, allocations: 139.5 kB / 496.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.1638, allocations: 159.4 kB / 496.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.721e-05/0.1639, allocations: 28 kB / 496.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.1641, allocations: 79.94 kB / 496.7 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1642, allocations: 63.75 kB / 496.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.1644, allocations: 131.4 kB / 496.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.1648, allocations: 342.9 kB / 497.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.1648, allocations: 0 / 497.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1648, allocations: 3.938 kB / 497.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1649, allocations: 0 / 497.2 MB, free: 14.16 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.001089/0.1659, allocations: 0.5537 MB / 497.8 MB, free: 13.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.166, allocations: 15.89 kB / 497.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.1661, allocations: 24.66 kB / 497.8 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.1665, allocations: 251.8 kB / 498.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.1666, allocations: 20.81 kB / 498.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.95e-05/0.1666, allocations: 24.28 kB / 498.1 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005598/0.1672, allocations: 271.4 kB / 498.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.1672, allocations: 0 / 498.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.1673, allocations: 15.94 kB / 498.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1673, allocations: 4 kB / 498.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004847/0.1678, allocations: 237.6 kB / 498.6 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.1692, allocations: 0.7207 MB / 499.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/0.1698, allocations: 238.5 kB / 499.6 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003287/0.1702, allocations: 136.8 kB / 499.7 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.1702, allocations: 8.062 kB / 499.7 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.1702, allocations: 42.5 kB / 499.8 MB, free: 11.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.453e-06/0.1703, allocations: 0 / 499.8 MB, free: 11.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.00328/0.1735, allocations: 1.45 MB / 0.4895 GB, free: 9.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.1736, allocations: 59.34 kB / 0.4895 GB, free: 9.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.1738, allocations: 198.6 kB / 0.4897 GB, free: 9.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.1739, allocations: 41.7 kB / 0.4898 GB, free: 9.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.373e-05/0.174, allocations: 132.7 kB / 0.4899 GB, free: 9.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.048e-05/0.1741, allocations: 110.4 kB / 0.49 GB, free: 9.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.1742, allocations: 69.69 kB / 0.4901 GB, free: 9.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1743, allocations: 330.8 kB / 0.4904 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.1746, allocations: 123.9 kB / 0.4905 GB, free: 8.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.1749, allocations: 171.2 kB / 0.4907 GB, free: 8.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.1753, allocations: 251.3 kB / 0.4909 GB, free: 8.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1753, allocations: 0 / 0.4909 GB, free: 8.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007896/0.1761, allocations: 433.8 kB / 0.4913 GB, free: 7.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1761, allocations: 8 kB / 0.4913 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1761, allocations: 0 / 0.4913 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005127/0.1767, allocations: 236.7 kB / 0.4915 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.1769, allocations: 55.97 kB / 0.4916 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007917/0.1777, allocations: 0.7593 MB / 0.4923 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.178, allocations: 40.02 kB / 0.4924 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.178, allocations: 12 kB / 0.4924 GB, free: 6.805 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.0001641/0.1782, allocations: 151.4 kB / 0.4925 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.1782, allocations: 23.72 kB / 0.4926 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.062e-05/0.1783, allocations: 38.59 kB / 0.4926 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1783, allocations: 0 / 0.4926 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1784, allocations: 4 kB / 0.4926 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1784, allocations: 7.984 kB / 0.4926 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.1799, allocations: 0.9401 MB / 0.4935 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1799, allocations: 0 / 0.4935 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.1802, allocations: 47.94 kB / 0.4936 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000415/0.1806, allocations: 232.5 kB / 0.4938 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.1806, allocations: 7.984 kB / 0.4938 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006409/0.1813, allocations: 0.7162 MB / 0.4945 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1813, allocations: 0 / 0.4945 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.1824, allocations: 0.6456 MB / 0.4951 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.1825, allocations: 120.9 kB / 0.4952 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.1826, allocations: 15.94 kB / 0.4953 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.1828, allocations: 36.02 kB / 0.4953 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.183, allocations: 47.92 kB / 0.4953 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.183, allocations: 11.98 kB / 0.4953 GB, free: 3.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.1831, allocations: 148.2 kB / 0.4955 GB, free: 3.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1832, allocations: 0 / 0.4955 GB, free: 3.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003856/0.1835, allocations: 76 kB / 0.4956 GB, free: 3.406 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.0002171/0.1838, allocations: 119.2 kB / 0.4957 GB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007545/0.1845, allocations: 331.7 kB / 0.496 GB, free: 2.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1845, allocations: 0 / 0.496 GB, free: 2.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.1849, allocations: 164.1 kB / 0.4961 GB, free: 2.797 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.1853, allocations: 27.98 kB / 0.4962 GB, free: 2.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.1872, allocations: 0.7532 MB / 0.4969 GB, free: 1.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.1876, allocations: 0.7486 MB / 0.4976 GB, free: 1.207 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.288e-05/0.1877, allocations: 22.28 kB / 0.4977 GB, free: 1.184 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.1877, allocations: 23.44 kB / 0.4977 GB, free: 1.164 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1877, allocations: 3.938 kB / 0.4977 GB, free: 1.16 MB / 382.1 MB Notification: Performance of Templates: time 0.009925/0.1977, allocations: 5.312 MB / 0.5029 GB, free: 11.86 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1)