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.001331/0.001331, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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: 171.1 kB / 16.26 MB, free: 6.613 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.779/1.779, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.3826/0.3826, allocations: 40 MB / 310.7 MB, free: 9.879 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.0006705/0.0006705, allocations: 16.66 kB / 379.4 MB, free: 12.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1427, allocations: 57.96 MB / 437.4 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003706/0.1464, allocations: 2.489 MB / 439.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1484, allocations: 0.7254 MB / 440.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004331/0.1488, allocations: 11.94 kB / 440.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.1491, allocations: 43.62 kB / 440.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004907/0.1496, allocations: 111.1 kB / 440.8 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.1501, allocations: 75.86 kB / 440.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009413/0.151, allocations: 406.1 kB / 441.3 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003888/0.1514, allocations: 121 kB / 441.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005313/0.152, allocations: 147.4 kB / 441.5 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005039/0.1525, allocations: 167.2 kB / 441.7 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.661e-05/0.1526, allocations: 24 kB / 441.7 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5e-05/0.1526, allocations: 16 kB / 441.7 MB, free: 13.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.853e-05/0.1527, allocations: 67.69 kB / 441.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002881/0.153, allocations: 208.7 kB / 442 MB, free: 13.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006419/0.1537, allocations: 390.7 kB / 442.4 MB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.1537, allocations: 4 kB / 442.4 MB, free: 13.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.878e-06/0.1537, allocations: 0 / 442.4 MB, free: 13.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1537, allocations: 0 / 442.4 MB, free: 13.2 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.001273/0.155, allocations: 0.5889 MB / 443 MB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.786e-05/0.1551, allocations: 8.031 kB / 443 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.923e-05/0.1552, allocations: 40.47 kB / 443 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.1556, allocations: 276.4 kB / 443.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/0.1557, allocations: 29.38 kB / 443.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.1558, allocations: 44.27 kB / 443.4 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008419/0.1566, allocations: 410.4 kB / 443.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.559e-05/0.1567, allocations: 11.84 kB / 443.8 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.1568, allocations: 19.98 kB / 443.8 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.1568, allocations: 12 kB / 443.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005302/0.1574, allocations: 227.7 kB / 444 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002426/0.1598, allocations: 1.719 MB / 445.7 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.1604, allocations: 262.4 kB / 446 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.1606, allocations: 106 kB / 446.1 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.1606, allocations: 7.984 kB / 446.1 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.1609, allocations: 42.5 kB / 446.1 MB, free: 9.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 4.168e-06/0.1609, allocations: 4 kB / 446.1 MB, free: 9.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0008231/0.1617, allocations: 273.2 kB / 446.4 MB, free: 8.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001881/0.1619, allocations: 218 kB / 446.6 MB, free: 8.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004188/0.1623, allocations: 266.9 kB / 446.9 MB, free: 8.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.1624, allocations: 33.7 kB / 446.9 MB, free: 8.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.1626, allocations: 243.4 kB / 447.2 MB, free: 8.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.1627, allocations: 110.4 kB / 447.3 MB, free: 7.914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.606e-05/0.1628, allocations: 53.64 kB / 447.3 MB, free: 7.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.163, allocations: 346.7 kB / 447.7 MB, free: 7.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.1632, allocations: 109.2 kB / 447.8 MB, free: 7.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.1636, allocations: 432.8 kB / 448.2 MB, free: 6.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000732/0.1644, allocations: 0.5745 MB / 448.8 MB, free: 6.086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.1644, allocations: 4 kB / 448.8 MB, free: 6.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000882/0.1653, allocations: 0.5325 MB / 449.3 MB, free: 5.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.1653, allocations: 20.06 kB / 449.3 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.1653, allocations: 12 kB / 449.3 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.1654, allocations: 16 kB / 449.3 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/0.1658, allocations: 151.7 kB / 449.5 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/0.1659, allocations: 19.94 kB / 449.5 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.1662, allocations: 71.36 kB / 449.6 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.1662, allocations: 32 kB / 449.6 MB, free: 5.227 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.0002062/0.1664, allocations: 185.4 kB / 449.8 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.1666, allocations: 31.62 kB / 449.8 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.767e-05/0.1667, allocations: 37.78 kB / 449.9 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1667, allocations: 4 kB / 449.9 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1667, allocations: 0 / 449.9 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.1667, allocations: 7.984 kB / 449.9 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.168, allocations: 0.6514 MB / 450.5 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.168, allocations: 0 / 450.5 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000432/0.1684, allocations: 95.88 kB / 450.6 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.1685, allocations: 4 kB / 450.6 MB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.1685, allocations: 8 kB / 450.6 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.1685, allocations: 7.938 kB / 450.6 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1685, allocations: 4 kB / 450.6 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000831/0.1693, allocations: 0.8457 MB / 451.5 MB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-05/0.1694, allocations: 104.8 kB / 451.6 MB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.1695, allocations: 11.98 kB / 451.6 MB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.1698, allocations: 19.94 kB / 451.6 MB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.1699, allocations: 27.97 kB / 451.6 MB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1699, allocations: 8 kB / 451.7 MB, free: 3.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.1701, allocations: 189.9 kB / 451.8 MB, free: 2.871 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1701, allocations: 0 / 451.8 MB, free: 2.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007052/0.1708, allocations: 103.8 kB / 451.9 MB, free: 2.77 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.0001272/0.1709, allocations: 99.25 kB / 452 MB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005772/0.1715, allocations: 305.3 kB / 452.3 MB, free: 2.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.1715, allocations: 4 kB / 452.3 MB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.1717, allocations: 89.33 kB / 452.4 MB, free: 2.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.1728, allocations: 72.45 kB / 452.5 MB, free: 2.207 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.1754, allocations: 1.941 MB / 454.4 MB, free: 216 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2217/0.3972, allocations: 0.7916 MB / 455.2 MB, free: 47.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003161/0.3975, allocations: 39.98 kB / 455.3 MB, free: 47.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.656e-05/0.3976, allocations: 31.97 kB / 455.3 MB, free: 47.18 MB / 382.1 MB Notification: Performance of SimCode: time 2.364e-06/0.3976, allocations: 0 / 455.3 MB, free: 47.18 MB / 382.1 MB Notification: Performance of Templates: time 0.006812/0.4044, allocations: 2.74 MB / 458 MB, free: 47.12 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: