Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001174/0.001174, allocations: 193.4 kB / 16.25 MB, free: 6.621 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.614/1.614, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.3662/0.3662, allocations: 39.93 MB / 309.4 MB, free: 9.398 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.001822/0.001822, allocations: 67.91 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1561, allocations: 56.88 MB / 434 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.00559/0.1618, allocations: 2.866 MB / 436.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.1639, allocations: 0.7371 MB / 437.6 MB, free: 412 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005264/0.1645, allocations: 11.94 kB / 437.6 MB, free: 400 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.165, allocations: 39.64 kB / 437.6 MB, free: 360 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008088/0.1658, allocations: 103.2 kB / 437.7 MB, free: 256 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.1664, allocations: 75.92 kB / 437.8 MB, free: 180 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.1674, allocations: 437.9 kB / 438.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004841/0.1679, allocations: 137.5 kB / 438.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005137/0.1685, allocations: 175.4 kB / 438.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004343/0.1689, allocations: 179.2 kB / 438.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-05/0.169, allocations: 32 kB / 438.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.663e-05/0.1691, allocations: 32 kB / 438.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.879e-05/0.1692, allocations: 71.77 kB / 438.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002725/0.1695, allocations: 203 kB / 439.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000534/0.17, allocations: 422.8 kB / 439.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1701, allocations: 3.938 kB / 439.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1701, allocations: 0 / 439.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.1701, allocations: 0 / 439.5 MB, free: 14.51 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001132/0.1712, allocations: 0.6396 MB / 440.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.264e-05/0.1713, allocations: 15.89 kB / 440.1 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.786e-05/0.1714, allocations: 44.41 kB / 440.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.1718, allocations: 276.5 kB / 440.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.1718, allocations: 25.38 kB / 440.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.737e-05/0.1719, allocations: 44.28 kB / 440.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006675/0.1726, allocations: 402.4 kB / 440.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.1726, allocations: 11.91 kB / 440.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.1727, allocations: 16 kB / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.1727, allocations: 12 kB / 440.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003982/0.1731, allocations: 219.7 kB / 441.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.1754, allocations: 1.722 MB / 442.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.1759, allocations: 266.4 kB / 443.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.176, allocations: 94.08 kB / 443.2 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.1761, allocations: 7.938 kB / 443.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.1761, allocations: 46.55 kB / 443.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.1761, allocations: 0 / 443.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007195/0.1769, allocations: 253.1 kB / 443.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.177, allocations: 217.9 kB / 443.7 MB, free: 9.863 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.1773, allocations: 270.9 kB / 444 MB, free: 9.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.1774, allocations: 33.7 kB / 444 MB, free: 9.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.1776, allocations: 235.2 kB / 444.3 MB, free: 9.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.577e-05/0.1777, allocations: 122.4 kB / 444.4 MB, free: 9.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.1778, allocations: 98.27 kB / 444.5 MB, free: 9.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.178, allocations: 354.7 kB / 444.8 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.1782, allocations: 97.19 kB / 444.9 MB, free: 8.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004181/0.1786, allocations: 436.8 kB / 445.4 MB, free: 8.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000677/0.1793, allocations: 0.5585 MB / 445.9 MB, free: 7.344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.1794, allocations: 8 kB / 445.9 MB, free: 7.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000813/0.1802, allocations: 0.529 MB / 446.5 MB, free: 6.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.1802, allocations: 8 kB / 446.5 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.1802, allocations: 12 kB / 446.5 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.76e-05/0.1803, allocations: 16 kB / 446.5 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004361/0.1807, allocations: 148.2 kB / 446.6 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-05/0.1808, allocations: 19.94 kB / 446.7 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.1811, allocations: 71.36 kB / 446.7 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.1811, allocations: 40.25 kB / 446.8 MB, free: 6.492 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.1813, allocations: 177.5 kB / 446.9 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.1815, allocations: 31.62 kB / 447 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.805e-05/0.1815, allocations: 33.78 kB / 447 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.1816, allocations: 4 kB / 447 MB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.1816, allocations: 11.92 kB / 447 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1816, allocations: 0 / 447 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.1828, allocations: 0.6475 MB / 447.7 MB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1828, allocations: 4 kB / 447.7 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/0.1833, allocations: 91.88 kB / 447.8 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.1833, allocations: 4 kB / 447.8 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.1833, allocations: 8 kB / 447.8 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/0.1833, allocations: 11.88 kB / 447.8 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1833, allocations: 0 / 447.8 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008005/0.1841, allocations: 0.8452 MB / 448.6 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.1842, allocations: 104.8 kB / 448.7 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.1843, allocations: 15.98 kB / 448.7 MB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.1846, allocations: 11.94 kB / 448.8 MB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.1847, allocations: 19.97 kB / 448.8 MB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.1847, allocations: 12 kB / 448.8 MB, free: 4.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.1849, allocations: 186 kB / 449 MB, free: 4.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1849, allocations: 4 kB / 449 MB, free: 4.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007328/0.1856, allocations: 99.78 kB / 449.1 MB, free: 4.059 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001425/0.1858, allocations: 111 kB / 449.2 MB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005365/0.1863, allocations: 301.9 kB / 449.5 MB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1863, allocations: 0 / 449.5 MB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.1865, allocations: 96.7 kB / 449.6 MB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009565/0.1875, allocations: 81.48 kB / 449.6 MB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.1899, allocations: 1.669 MB / 451.3 MB, free: 1.758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.1902, allocations: 0.7951 MB / 452.1 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000191/0.1904, allocations: 51.19 kB / 452.2 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.458e-05/0.1905, allocations: 27.44 kB / 452.2 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1905, allocations: 0 / 452.2 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of Templates: time 0.2156/0.4062, allocations: 2.868 MB / 455.1 MB, free: 50.7 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1)