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.00146/0.00146, 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.001709/0.001709, allocations: 194.6 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.674/1.674, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3954/0.3954, allocations: 39.93 MB / 309.3 MB, free: 9.328 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.001933/0.001934, allocations: 60.48 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1719, allocations: 56.89 MB / 433.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003878/0.1758, allocations: 2.283 MB / 436.1 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1773, allocations: 0.78 MB / 436.9 MB, free: 1.027 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1774, allocations: 0 / 436.9 MB, free: 1.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.1776, allocations: 31.78 kB / 436.9 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.1778, allocations: 67.53 kB / 437 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.1781, allocations: 99.88 kB / 437.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.1785, allocations: 319.3 kB / 437.4 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.1786, allocations: 69.02 kB / 437.4 MB, free: 464 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.1788, allocations: 135.5 kB / 437.6 MB, free: 328 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.1791, allocations: 143.4 kB / 437.7 MB, free: 184 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.25e-05/0.1791, allocations: 16 kB / 437.7 MB, free: 168 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.1793, allocations: 75.89 kB / 437.8 MB, free: 92 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.26e-05/0.1794, allocations: 59.8 kB / 437.9 MB, free: 32 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.1795, allocations: 119.5 kB / 438 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.1799, allocations: 323.1 kB / 438.3 MB, free: 15.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1799, allocations: 0 / 438.3 MB, free: 15.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1799, allocations: 0 / 438.3 MB, free: 15.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.1799, allocations: 0 / 438.3 MB, free: 15.6 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.0009366/0.1809, allocations: 0.5536 MB / 438.8 MB, free: 15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1809, allocations: 8.031 kB / 438.9 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.933e-05/0.181, allocations: 24.66 kB / 438.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.1813, allocations: 259.7 kB / 439.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.1813, allocations: 20.81 kB / 439.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.209e-05/0.1814, allocations: 16.38 kB / 439.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.1819, allocations: 267.5 kB / 439.4 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.1819, allocations: 3.906 kB / 439.4 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.182, allocations: 12 kB / 439.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.182, allocations: 11.98 kB / 439.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004678/0.1825, allocations: 237.5 kB / 439.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.1837, allocations: 0.7207 MB / 440.4 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.1843, allocations: 246.4 kB / 440.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.1845, allocations: 144.8 kB / 440.8 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.1846, allocations: 0 / 440.8 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.1846, allocations: 38.56 kB / 440.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.052e-06/0.1846, allocations: 0 / 440.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.003052/0.1877, allocations: 1.465 MB / 442.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.1877, allocations: 55.41 kB / 442.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.1879, allocations: 190.6 kB / 442.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.188, allocations: 37.69 kB / 442.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.194e-05/0.1881, allocations: 132.6 kB / 442.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.584e-05/0.1882, allocations: 118.4 kB / 442.8 MB, free: 10.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.1883, allocations: 61.69 kB / 442.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1884, allocations: 338.8 kB / 443.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.1887, allocations: 127.7 kB / 443.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.1889, allocations: 159.4 kB / 443.5 MB, free: 10.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.1894, allocations: 255.1 kB / 443.7 MB, free: 9.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1894, allocations: 0 / 443.7 MB, free: 9.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007686/0.1902, allocations: 433.7 kB / 444.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1902, allocations: 7.594 kB / 444.2 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1902, allocations: 4 kB / 444.2 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005909/0.1908, allocations: 236.8 kB / 444.4 MB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.191, allocations: 59.91 kB / 444.5 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007351/0.1918, allocations: 0.7553 MB / 445.2 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.192, allocations: 31.95 kB / 445.3 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.1921, allocations: 16 kB / 445.3 MB, free: 8.238 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.000157/0.1922, allocations: 146.1 kB / 445.4 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.1923, allocations: 23.72 kB / 445.4 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.939e-05/0.1924, allocations: 38.58 kB / 445.5 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.1924, allocations: 4 kB / 445.5 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.1924, allocations: 3.938 kB / 445.5 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1924, allocations: 0 / 445.5 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.1939, allocations: 0.9675 MB / 446.4 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1939, allocations: 0 / 446.4 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.1942, allocations: 55.84 kB / 446.5 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004142/0.1946, allocations: 220.7 kB / 446.7 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.1946, allocations: 11.98 kB / 446.7 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006687/0.1953, allocations: 0.7045 MB / 447.4 MB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.1953, allocations: 4.031 kB / 447.4 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.1964, allocations: 0.6449 MB / 448.1 MB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.1966, allocations: 124.8 kB / 448.2 MB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.815e-05/0.1966, allocations: 11.94 kB / 448.2 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.1969, allocations: 40.02 kB / 448.3 MB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.197, allocations: 47.92 kB / 448.3 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.1971, allocations: 11.98 kB / 448.3 MB, free: 5.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.1972, allocations: 148.2 kB / 448.5 MB, free: 4.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1972, allocations: 0 / 448.5 MB, free: 4.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003787/0.1976, allocations: 72 kB / 448.5 MB, free: 4.828 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.0002332/0.1978, allocations: 127.1 kB / 448.6 MB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007/0.1985, allocations: 319.8 kB / 449 MB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1985, allocations: 0 / 449 MB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.1989, allocations: 163.8 kB / 449.1 MB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.1993, allocations: 31.92 kB / 449.2 MB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.2012, allocations: 0.859 MB / 450 MB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.2015, allocations: 0.7525 MB / 450.8 MB, free: 2.527 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.2016, allocations: 18.3 kB / 450.8 MB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.2017, allocations: 23.42 kB / 450.8 MB, free: 2.488 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2017, allocations: 4 kB / 450.8 MB, free: 2.484 MB / 382.1 MB Notification: Performance of Templates: time 0.2252/0.4268, allocations: 4.774 MB / 455.6 MB, free: 51.6 MB / 382.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)