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.001126/0.001125, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.01044/0.01044, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.672/1.672, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3824/0.3824, allocations: 40 MB / 310.7 MB, free: 9.586 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.001018/0.001018, allocations: 12.61 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1674, allocations: 57.96 MB / 437.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002882/0.1703, allocations: 1.928 MB / 439.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.172, allocations: 0.7682 MB / 440.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.1723, allocations: 4 kB / 440.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.1726, allocations: 27.78 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.1729, allocations: 63.53 kB / 440.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.1734, allocations: 103.8 kB / 440.3 MB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006055/0.174, allocations: 323.3 kB / 440.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.1743, allocations: 61.03 kB / 440.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003128/0.1746, allocations: 127.5 kB / 440.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.1749, allocations: 143.5 kB / 440.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.279e-05/0.175, allocations: 16 kB / 441 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.1752, allocations: 63.91 kB / 441 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1753, allocations: 55.8 kB / 441.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.1755, allocations: 141 kB / 441.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004708/0.176, allocations: 311.2 kB / 441.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.176, allocations: 0 / 441.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.998e-06/0.176, allocations: 0 / 441.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.176, allocations: 3.938 kB / 441.5 MB, free: 13.77 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.00102/0.1771, allocations: 0.5224 MB / 442 MB, free: 13.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1771, allocations: 8.031 kB / 442 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.051e-05/0.1772, allocations: 28.66 kB / 442.1 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.1775, allocations: 247.9 kB / 442.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.1776, allocations: 20.81 kB / 442.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.629e-05/0.1777, allocations: 28.3 kB / 442.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/0.1783, allocations: 267.5 kB / 442.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.1783, allocations: 7.906 kB / 442.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.1784, allocations: 4 kB / 442.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.1784, allocations: 11.94 kB / 442.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000523/0.1789, allocations: 245.6 kB / 442.9 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.1806, allocations: 0.7363 MB / 443.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00058/0.1812, allocations: 258.6 kB / 443.9 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.1815, allocations: 144.8 kB / 444 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.1815, allocations: 0 / 444 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.1815, allocations: 38.55 kB / 444.1 MB, free: 11.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 3.186e-06/0.1816, allocations: 4 kB / 444.1 MB, free: 11.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.003769/0.1853, allocations: 1.504 MB / 445.6 MB, free: 9.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.1854, allocations: 55.41 kB / 445.6 MB, free: 9.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.1857, allocations: 198.5 kB / 445.8 MB, free: 9.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.1858, allocations: 41.64 kB / 445.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.1859, allocations: 136.6 kB / 446 MB, free: 8.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.186, allocations: 114.4 kB / 446.1 MB, free: 8.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.1861, allocations: 33.7 kB / 446.1 MB, free: 8.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1863, allocations: 334.8 kB / 446.5 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.1866, allocations: 127.9 kB / 446.6 MB, free: 8.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.1869, allocations: 167.2 kB / 446.7 MB, free: 8.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005282/0.1874, allocations: 259.1 kB / 447 MB, free: 7.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1875, allocations: 0 / 447 MB, free: 7.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008581/0.1883, allocations: 433.9 kB / 447.4 MB, free: 7.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.1884, allocations: 8.062 kB / 447.4 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.1884, allocations: 4 kB / 447.4 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006418/0.189, allocations: 236.6 kB / 447.7 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.1893, allocations: 51.97 kB / 447.7 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008134/0.1901, allocations: 0.7552 MB / 448.5 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.1904, allocations: 52.05 kB / 448.5 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.1905, allocations: 12 kB / 448.5 MB, free: 6.363 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.0001961/0.1907, allocations: 138 kB / 448.7 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.505e-05/0.1908, allocations: 31.72 kB / 448.7 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.1909, allocations: 38.58 kB / 448.7 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1909, allocations: 4 kB / 448.7 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.1909, allocations: 0 / 448.7 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1909, allocations: 0 / 448.7 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.1926, allocations: 0.9674 MB / 449.7 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1926, allocations: 64 / 449.7 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.1929, allocations: 55.91 kB / 449.8 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00043/0.1933, allocations: 228.6 kB / 450 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.1934, allocations: 15.92 kB / 450 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007734/0.1942, allocations: 0.7084 MB / 450.7 MB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1942, allocations: 0 / 450.7 MB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.1955, allocations: 0.6488 MB / 451.4 MB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.1957, allocations: 128.8 kB / 451.5 MB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.1958, allocations: 15.94 kB / 451.5 MB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.1961, allocations: 48.02 kB / 451.5 MB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.1962, allocations: 47.92 kB / 451.6 MB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.1963, allocations: 11.98 kB / 451.6 MB, free: 3.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.1964, allocations: 148.2 kB / 451.8 MB, free: 2.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1964, allocations: 4 kB / 451.8 MB, free: 2.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004343/0.1969, allocations: 72 kB / 451.8 MB, free: 2.922 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.0002845/0.1972, allocations: 127.1 kB / 451.9 MB, free: 2.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008483/0.198, allocations: 319.8 kB / 452.3 MB, free: 2.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.198, allocations: 0 / 452.3 MB, free: 2.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003896/0.1984, allocations: 164 kB / 452.4 MB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.1989, allocations: 35.78 kB / 452.5 MB, free: 2.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.2013, allocations: 0.977 MB / 453.4 MB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.2018, allocations: 0.7525 MB / 454.2 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.2019, allocations: 18.3 kB / 454.2 MB, free: 488 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/0.202, allocations: 19.44 kB / 454.2 MB, free: 468 kB / 382.1 MB Notification: Performance of SimCode: time 1.673e-06/0.202, allocations: 4 kB / 454.2 MB, free: 464 kB / 382.1 MB Notification: Performance of Templates: time 0.2415/0.4435, allocations: 4.74 MB / 459 MB, free: 48.49 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: