Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001768/0.001768, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001756/0.001757, allocations: 189.6 kB / 16.13 MB, free: 6.699 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.738/1.738, allocations: 205.1 MB / 222 MB, free: 4.754 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.3579/0.3579, allocations: 37.98 MB / 307.3 MB, free: 10.11 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.001487/0.001487, allocations: 63.91 kB / 374.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1559, allocations: 56.47 MB / 431 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004881/0.1608, allocations: 2.87 MB / 433.9 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.1621, allocations: 0.7332 MB / 434.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.1624, allocations: 11.94 kB / 434.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.1626, allocations: 39.69 kB / 434.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004754/0.1631, allocations: 107.2 kB / 434.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.1635, allocations: 71.88 kB / 434.8 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009281/0.1645, allocations: 418 kB / 435.3 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.1647, allocations: 117.1 kB / 435.4 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000343/0.1651, allocations: 147.4 kB / 435.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.1653, allocations: 179.2 kB / 435.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.697e-05/0.1653, allocations: 20 kB / 435.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.364e-05/0.1654, allocations: 24 kB / 435.7 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.847e-05/0.1655, allocations: 67.75 kB / 435.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.1657, allocations: 187.1 kB / 436 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004197/0.1661, allocations: 414.7 kB / 436.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1661, allocations: 0 / 436.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1662, allocations: 0 / 436.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1662, allocations: 0 / 436.4 MB, free: 1.691 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001142/0.1673, allocations: 0.6435 MB / 437 MB, free: 1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.187e-05/0.1674, allocations: 16.03 kB / 437 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.919e-05/0.1675, allocations: 40.47 kB / 437.1 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.168, allocations: 276.4 kB / 437.3 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.1681, allocations: 29.38 kB / 437.4 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.1683, allocations: 44.28 kB / 437.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007863/0.1691, allocations: 402.4 kB / 437.8 MB, free: 144 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.1691, allocations: 7.938 kB / 437.8 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.1692, allocations: 19.98 kB / 437.8 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.1692, allocations: 8 kB / 437.8 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006392/0.1698, allocations: 219.7 kB / 438.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002988/0.1728, allocations: 1.722 MB / 439.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/0.1733, allocations: 266.3 kB / 440 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.1735, allocations: 98.02 kB / 440.1 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.1736, allocations: 8.219 kB / 440.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/0.1738, allocations: 46.44 kB / 440.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 3.086e-06/0.1738, allocations: 0 / 440.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009206/0.1747, allocations: 261 kB / 440.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002293/0.1749, allocations: 213.6 kB / 440.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.1753, allocations: 266.9 kB / 440.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.1753, allocations: 33.7 kB / 441 MB, free: 12.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.1756, allocations: 243.6 kB / 441.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.766e-05/0.1757, allocations: 122.4 kB / 441.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.1758, allocations: 102.2 kB / 441.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.1761, allocations: 346.8 kB / 441.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.1763, allocations: 97.25 kB / 441.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/0.1767, allocations: 432.8 kB / 442.3 MB, free: 11.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006394/0.1773, allocations: 0.5624 MB / 442.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.1773, allocations: 4 kB / 442.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008604/0.1782, allocations: 0.5246 MB / 443.4 MB, free: 9.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.1782, allocations: 8.906 kB / 443.4 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.1783, allocations: 19.97 kB / 443.4 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.384e-05/0.1783, allocations: 16 kB / 443.4 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.1788, allocations: 151.7 kB / 443.5 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/0.1788, allocations: 27.86 kB / 443.6 MB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.1791, allocations: 63.38 kB / 443.6 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.1793, allocations: 32 kB / 443.7 MB, free: 9.668 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.0002727/0.1795, allocations: 181.5 kB / 443.8 MB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.1798, allocations: 36.11 kB / 443.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.916e-05/0.1799, allocations: 33.78 kB / 443.9 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.1799, allocations: 8 kB / 443.9 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.1799, allocations: 4 kB / 443.9 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.1799, allocations: 0 / 443.9 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.1816, allocations: 0.6514 MB / 444.6 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1816, allocations: 4 kB / 444.6 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.182, allocations: 92 kB / 444.7 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.182, allocations: 4 kB / 444.7 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.1821, allocations: 11.94 kB / 444.7 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.1821, allocations: 11.88 kB / 444.7 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1821, allocations: 0 / 444.7 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008498/0.1829, allocations: 0.8335 MB / 445.5 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.162e-05/0.183, allocations: 108.8 kB / 445.6 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/0.1831, allocations: 8 kB / 445.6 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.1834, allocations: 19.94 kB / 445.7 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.1835, allocations: 15.97 kB / 445.7 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.1835, allocations: 12 kB / 445.7 MB, free: 7.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002197/0.1837, allocations: 182 kB / 445.9 MB, free: 7.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1837, allocations: 7.938 kB / 445.9 MB, free: 7.336 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007053/0.1844, allocations: 99.78 kB / 446 MB, free: 7.238 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.0001324/0.1846, allocations: 111 kB / 446.1 MB, free: 7.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006615/0.1853, allocations: 293.4 kB / 446.4 MB, free: 6.836 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1853, allocations: 0 / 446.4 MB, free: 6.836 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.1854, allocations: 87.83 kB / 446.5 MB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.1865, allocations: 70.59 kB / 446.5 MB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.1892, allocations: 1.667 MB / 448.2 MB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005644/0.1898, allocations: 0.7992 MB / 449 MB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001854/0.1899, allocations: 43.25 kB / 449 MB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.19, allocations: 27.44 kB / 449.1 MB, free: 4.062 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.19, allocations: 0 / 449.1 MB, free: 4.062 MB / 382.1 MB Notification: Performance of Templates: time 0.0063/0.1963, allocations: 2.761 MB / 451.8 MB, free: 1.301 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1)