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.001683/0.001683, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.715/1.715, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.3701/0.3701, allocations: 37.99 MB / 307.8 MB, free: 9.977 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.002074/0.002075, allocations: 68.12 kB / 375.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1448, allocations: 56.46 MB / 431.7 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004948/0.1499, allocations: 2.824 MB / 434.5 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1513, allocations: 0.7332 MB / 435.3 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.1514, allocations: 11.94 kB / 435.3 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.1517, allocations: 63.38 kB / 435.3 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.1519, allocations: 114.9 kB / 435.5 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.1521, allocations: 91.88 kB / 435.5 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004366/0.1526, allocations: 433.9 kB / 436 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002796/0.1529, allocations: 141.5 kB / 436.1 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.1531, allocations: 167.4 kB / 436.3 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.1533, allocations: 183.1 kB / 436.4 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.32e-05/0.1534, allocations: 32 kB / 436.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.039e-05/0.1535, allocations: 32 kB / 436.5 MB, free: 1.781 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.418e-05/0.1536, allocations: 75.77 kB / 436.6 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.1538, allocations: 195.1 kB / 436.8 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004458/0.1542, allocations: 422.8 kB / 437.2 MB, free: 1.102 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1542, allocations: 0 / 437.2 MB, free: 1.102 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1542, allocations: 0 / 437.2 MB, free: 1.102 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.1542, allocations: 0 / 437.2 MB, free: 1.102 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.001106/0.1554, allocations: 0.6435 MB / 437.8 MB, free: 420 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.1554, allocations: 15.89 kB / 437.8 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.557e-05/0.1555, allocations: 40.47 kB / 437.9 MB, free: 364 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.1559, allocations: 284.3 kB / 438.2 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.156, allocations: 25.38 kB / 438.2 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.1561, allocations: 56.27 kB / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006961/0.1568, allocations: 398.4 kB / 438.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.1569, allocations: 3.984 kB / 438.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.1569, allocations: 20 kB / 438.7 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.1569, allocations: 12 kB / 438.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004516/0.1574, allocations: 223.2 kB / 438.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/0.1598, allocations: 1.726 MB / 440.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.1602, allocations: 266.3 kB / 440.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.1604, allocations: 94.08 kB / 441 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1604, allocations: 4 kB / 441 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/0.1605, allocations: 50.48 kB / 441 MB, free: 12.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.1605, allocations: 0 / 441 MB, free: 12.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006658/0.1612, allocations: 261 kB / 441.3 MB, free: 12.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.1613, allocations: 217.9 kB / 441.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.1616, allocations: 270.9 kB / 441.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1616, allocations: 29.7 kB / 441.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.1618, allocations: 239.3 kB / 442 MB, free: 11.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.977e-05/0.1619, allocations: 118.4 kB / 442.1 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.162, allocations: 98.25 kB / 442.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1622, allocations: 346.8 kB / 442.6 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.1624, allocations: 101.2 kB / 442.7 MB, free: 11.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004833/0.1629, allocations: 428.8 kB / 443.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007725/0.1637, allocations: 0.5706 MB / 443.7 MB, free: 9.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.1637, allocations: 4 kB / 443.7 MB, free: 9.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008701/0.1645, allocations: 0.5284 MB / 444.2 MB, free: 9.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.1646, allocations: 8 kB / 444.2 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.1646, allocations: 12 kB / 444.2 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/0.1646, allocations: 16 kB / 444.2 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/0.1651, allocations: 147.7 kB / 444.4 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.243e-05/0.1651, allocations: 19.94 kB / 444.4 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.1654, allocations: 67.7 kB / 444.4 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.1654, allocations: 36 kB / 444.5 MB, free: 9.07 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.0001813/0.1656, allocations: 181.5 kB / 444.7 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.1658, allocations: 35.62 kB / 444.7 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.1659, allocations: 33.78 kB / 444.7 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.1659, allocations: 7.984 kB / 444.7 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.1659, allocations: 0 / 444.7 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.1659, allocations: 4 kB / 444.7 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.1672, allocations: 0.6519 MB / 445.4 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1672, allocations: 4 kB / 445.4 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004284/0.1677, allocations: 87.88 kB / 445.5 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1677, allocations: 4 kB / 445.5 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.1677, allocations: 16 kB / 445.5 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.1677, allocations: 7.938 kB / 445.5 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1677, allocations: 0 / 445.5 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007454/0.1685, allocations: 0.8336 MB / 446.3 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.1686, allocations: 108.8 kB / 446.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.1686, allocations: 11.98 kB / 446.5 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.169, allocations: 11.94 kB / 446.5 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.1691, allocations: 27.91 kB / 446.5 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.1691, allocations: 8 kB / 446.5 MB, free: 6.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.1692, allocations: 186 kB / 446.7 MB, free: 6.742 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1692, allocations: 0 / 446.7 MB, free: 6.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007164/0.17, allocations: 103.8 kB / 446.8 MB, free: 6.641 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.0001317/0.1701, allocations: 115 kB / 446.9 MB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005462/0.1707, allocations: 298.2 kB / 447.2 MB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1707, allocations: 0.875 kB / 447.2 MB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.1708, allocations: 100 kB / 447.3 MB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.1719, allocations: 68.77 kB / 447.4 MB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.1742, allocations: 1.533 MB / 448.9 MB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.1747, allocations: 0.7912 MB / 449.7 MB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000169/0.1748, allocations: 43.27 kB / 449.7 MB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.1749, allocations: 27.44 kB / 449.8 MB, free: 3.59 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1749, allocations: 7.938 kB / 449.8 MB, free: 3.582 MB / 382.1 MB Notification: Performance of Templates: time 0.006382/0.1813, allocations: 2.941 MB / 452.7 MB, free: 0.6445 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)