Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001057/0.001057, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.4114/0.4114, allocations: 38.03 MB / 308.4 MB, free: 10.5 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.001023/0.001023, allocations: 20 kB / 376.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1615, allocations: 57.52 MB / 433.9 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002842/0.1644, allocations: 2.256 MB / 436.2 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1654, allocations: 0.7492 MB / 436.9 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1656, allocations: 11.94 kB / 436.9 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.172e-05/0.1656, allocations: 35.7 kB / 437 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.1659, allocations: 131.6 kB / 437.1 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.1661, allocations: 75.86 kB / 437.2 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.1664, allocations: 303.8 kB / 437.5 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.1667, allocations: 137.4 kB / 437.6 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.1668, allocations: 143.4 kB / 437.7 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.167, allocations: 155.3 kB / 437.9 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.1671, allocations: 20 kB / 437.9 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.395e-05/0.1671, allocations: 20 kB / 437.9 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.1672, allocations: 63.69 kB / 438 MB, free: 1.484 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.909e-05/0.1673, allocations: 105.5 kB / 438.1 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.1675, allocations: 319.3 kB / 438.4 MB, free: 1.062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1675, allocations: 4 kB / 438.4 MB, free: 1.059 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1675, allocations: 0 / 438.4 MB, free: 1.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1676, allocations: 0 / 438.4 MB, free: 1.059 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008336/0.1684, allocations: 0.6043 MB / 439 MB, free: 416 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1684, allocations: 12.03 kB / 439 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.541e-05/0.1685, allocations: 47.39 kB / 439.1 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.1688, allocations: 283.3 kB / 439.4 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.1689, allocations: 29 kB / 439.4 MB, free: 0 / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.118e-05/0.169, allocations: 44.05 kB / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006135/0.1696, allocations: 376.9 kB / 439.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.1696, allocations: 11.89 kB / 439.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.1697, allocations: 16 kB / 439.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.1697, allocations: 11.95 kB / 439.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/0.1701, allocations: 255.8 kB / 440.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.1716, allocations: 1.113 MB / 441.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005173/0.1721, allocations: 355.9 kB / 441.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.1722, allocations: 4 kB / 441.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.1722, allocations: 50.75 kB / 441.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.613e-06/0.1722, allocations: 0 / 441.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.003516/0.1757, allocations: 2.47 MB / 444.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.1758, allocations: 110.8 kB / 444.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.1761, allocations: 234.6 kB / 444.4 MB, free: 10.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.1761, allocations: 37.7 kB / 444.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.1763, allocations: 188.6 kB / 444.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.1764, allocations: 193 kB / 444.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/0.1765, allocations: 12 kB / 444.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.1767, allocations: 350.8 kB / 445.2 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.1769, allocations: 133 kB / 445.3 MB, free: 9.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/0.1773, allocations: 235.8 kB / 445.5 MB, free: 9.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.1775, allocations: 175.9 kB / 445.7 MB, free: 9.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1776, allocations: 0 / 445.7 MB, free: 9.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009548/0.1785, allocations: 0.5656 MB / 446.3 MB, free: 8.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1785, allocations: 4 kB / 446.3 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1786, allocations: 8.094 kB / 446.3 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/0.1789, allocations: 130.4 kB / 446.4 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.1793, allocations: 99.88 kB / 446.5 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003624/0.1829, allocations: 4.712 MB / 451.2 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.1831, allocations: 23.98 kB / 451.2 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.1831, allocations: 20 kB / 451.3 MB, free: 3.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.1833, allocations: 166.9 kB / 451.4 MB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.934e-05/0.1834, allocations: 39.48 kB / 451.5 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.084e-05/0.1835, allocations: 50.17 kB / 451.5 MB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1835, allocations: 7.938 kB / 451.5 MB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.1835, allocations: 4 kB / 451.5 MB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1835, allocations: 3.984 kB / 451.5 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.1853, allocations: 1.332 MB / 452.9 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.1853, allocations: 7.953 kB / 452.9 MB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.1857, allocations: 103.8 kB / 453 MB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002279/0.1859, allocations: 94.61 kB / 453.1 MB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.186, allocations: 8 kB / 453.1 MB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2666/0.4526, allocations: 4.138 MB / 457.2 MB, free: 46.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4527, allocations: 0.8438 kB / 457.2 MB, free: 46.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.454, allocations: 0.9926 MB / 458.2 MB, free: 45.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.4542, allocations: 113.1 kB / 458.3 MB, free: 45.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.4542, allocations: 13.67 kB / 458.3 MB, free: 45.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.4545, allocations: 19.98 kB / 458.3 MB, free: 45.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.4546, allocations: 47.27 kB / 458.4 MB, free: 45.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.4547, allocations: 16.45 kB / 458.4 MB, free: 45.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.4548, allocations: 170.6 kB / 458.6 MB, free: 45.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4548, allocations: 0 / 458.6 MB, free: 45.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007189/0.4555, allocations: 123.2 kB / 458.7 MB, free: 45.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001527/0.4557, allocations: 111.8 kB / 458.8 MB, free: 45.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.457, allocations: 0.7843 MB / 459.6 MB, free: 45.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.457, allocations: 0 / 459.6 MB, free: 45.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006275/0.4576, allocations: 0.5786 MB / 460.2 MB, free: 44.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.4582, allocations: 53.23 kB / 460.2 MB, free: 44.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.46, allocations: 1.294 MB / 461.5 MB, free: 44.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.4603, allocations: 0.8336 MB / 462.3 MB, free: 43.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.4604, allocations: 37.12 kB / 462.4 MB, free: 43.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/0.4605, allocations: 27.31 kB / 462.4 MB, free: 43.47 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4605, allocations: 0 / 462.4 MB, free: 43.47 MB / 382.1 MB Notification: Performance of Templates: time 0.008012/0.4685, allocations: 4 MB / 466.4 MB, free: 43.23 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) Environment - environmentSimulation: