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.00108/0.00108, 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.001235/0.001235, allocations: 188.6 kB / 16.13 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.628/1.628, allocations: 205.1 MB / 222 MB, free: 4.918 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.3712/0.3712, allocations: 39.94 MB / 309.3 MB, free: 9.582 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.001357/0.001357, allocations: 59.92 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1462, allocations: 56.9 MB / 433.8 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004469/0.1507, allocations: 2.859 MB / 436.7 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1521, allocations: 0.7332 MB / 437.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.1523, allocations: 8 kB / 437.4 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.1525, allocations: 39.62 kB / 437.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.1528, allocations: 111.1 kB / 437.6 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.1531, allocations: 79.86 kB / 437.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.1534, allocations: 406 kB / 438 MB, free: 152 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.1537, allocations: 117.1 kB / 438.1 MB, free: 28 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.1539, allocations: 159.4 kB / 438.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.1542, allocations: 171.2 kB / 438.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.666e-05/0.1542, allocations: 24 kB / 438.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.66e-05/0.1543, allocations: 27.94 kB / 438.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.1544, allocations: 67.75 kB / 438.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.1545, allocations: 195 kB / 438.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.1549, allocations: 398.8 kB / 439.2 MB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.1549, allocations: 4 kB / 439.2 MB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1549, allocations: 0 / 439.2 MB, free: 15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1549, allocations: 0 / 439.2 MB, free: 15 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.001038/0.156, allocations: 0.6473 MB / 439.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.156, allocations: 8.031 kB / 439.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.06e-05/0.1561, allocations: 44.47 kB / 439.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1564, allocations: 272.5 kB / 440.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.1565, allocations: 25.38 kB / 440.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.055e-05/0.1565, allocations: 52.27 kB / 440.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006103/0.1571, allocations: 402.4 kB / 440.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.1572, allocations: 7.891 kB / 440.6 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.1572, allocations: 16 kB / 440.6 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.1572, allocations: 12 kB / 440.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/0.1576, allocations: 219.7 kB / 440.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.1597, allocations: 1.722 MB / 442.6 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.1602, allocations: 262.3 kB / 442.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.1603, allocations: 106.1 kB / 442.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.1604, allocations: 7.938 kB / 442.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.1604, allocations: 34.56 kB / 443 MB, free: 10.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.894e-06/0.1604, allocations: 0 / 443 MB, free: 10.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006565/0.1611, allocations: 261.1 kB / 443.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.1612, allocations: 217.5 kB / 443.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.1615, allocations: 270.9 kB / 443.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.1616, allocations: 29.7 kB / 443.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.1618, allocations: 247.8 kB / 444 MB, free: 9.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.707e-05/0.1618, allocations: 122.3 kB / 444.1 MB, free: 9.676 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.162, allocations: 106.2 kB / 444.2 MB, free: 9.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.1622, allocations: 346.7 kB / 444.5 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.1624, allocations: 93.27 kB / 444.6 MB, free: 9.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004436/0.1629, allocations: 432.8 kB / 445.1 MB, free: 8.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006623/0.1635, allocations: 0.5624 MB / 445.6 MB, free: 7.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.1636, allocations: 4 kB / 445.6 MB, free: 7.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008222/0.1644, allocations: 0.5253 MB / 446.1 MB, free: 7.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.1644, allocations: 11.98 kB / 446.2 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.1644, allocations: 12 kB / 446.2 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/0.1645, allocations: 20.03 kB / 446.2 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004322/0.1649, allocations: 143.8 kB / 446.3 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.452e-05/0.165, allocations: 27.86 kB / 446.4 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.1653, allocations: 63.38 kB / 446.4 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.1653, allocations: 32 kB / 446.4 MB, free: 6.984 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.000208/0.1655, allocations: 181.5 kB / 446.6 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.1657, allocations: 35.62 kB / 446.7 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.19e-05/0.1658, allocations: 41.78 kB / 446.7 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.1658, allocations: 7.938 kB / 446.7 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.1658, allocations: 0 / 446.7 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1658, allocations: 4 kB / 446.7 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.167, allocations: 0.648 MB / 447.4 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.167, allocations: 3.984 kB / 447.4 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.1675, allocations: 87.95 kB / 447.5 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1675, allocations: 4.062 kB / 447.5 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/0.1675, allocations: 16 kB / 447.5 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.1676, allocations: 7.922 kB / 447.5 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.1676, allocations: 7.938 kB / 447.5 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007834/0.1684, allocations: 0.8334 MB / 448.3 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-05/0.1685, allocations: 112.8 kB / 448.4 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.1685, allocations: 8 kB / 448.4 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.1689, allocations: 15.94 kB / 448.5 MB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.1689, allocations: 23.97 kB / 448.5 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.1689, allocations: 11.98 kB / 448.5 MB, free: 4.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000155/0.1691, allocations: 178 kB / 448.7 MB, free: 4.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1691, allocations: 0 / 448.7 MB, free: 4.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006922/0.1698, allocations: 103.8 kB / 448.8 MB, free: 4.543 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.0001389/0.17, allocations: 119 kB / 448.9 MB, free: 4.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005234/0.1705, allocations: 281.1 kB / 449.2 MB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.1705, allocations: 4 kB / 449.2 MB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.1707, allocations: 89.33 kB / 449.2 MB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.1717, allocations: 77.31 kB / 449.3 MB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.1739, allocations: 1.671 MB / 451 MB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.1744, allocations: 0.7914 MB / 451.8 MB, free: 1.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001748/0.1745, allocations: 47.25 kB / 451.8 MB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.1746, allocations: 27.44 kB / 451.9 MB, free: 1.367 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1746, allocations: 3.938 kB / 451.9 MB, free: 1.363 MB / 382.1 MB Notification: Performance of Templates: time 0.2276/0.4022, allocations: 2.747 MB / 454.6 MB, free: 49.77 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)