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.001021/0.001021, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001156/0.001156, allocations: 168.7 kB / 15.95 MB, free: 204 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.772/1.772, allocations: 205.4 MB / 222.1 MB, free: 5.613 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.4098/0.4098, allocations: 40 MB / 310.4 MB, free: 9.652 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.0006193/0.0006196, allocations: 16 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1389, allocations: 57.96 MB / 436.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003309/0.1423, allocations: 2.4 MB / 439.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1435, allocations: 0.7023 MB / 439.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.1436, allocations: 7.938 kB / 439.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.1438, allocations: 43.69 kB / 439.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.144, allocations: 107.1 kB / 440.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.1443, allocations: 67.92 kB / 440.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004454/0.1447, allocations: 402 kB / 440.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.1449, allocations: 112.2 kB / 440.6 MB, free: 14.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.1451, allocations: 135.5 kB / 440.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.1453, allocations: 159.2 kB / 440.9 MB, free: 14.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.1454, allocations: 20 kB / 440.9 MB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.407e-05/0.1454, allocations: 20 kB / 440.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.1455, allocations: 59.77 kB / 441 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.938e-05/0.1456, allocations: 101.5 kB / 441.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.146, allocations: 307.4 kB / 441.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/0.146, allocations: 0 / 441.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.198e-06/0.146, allocations: 0 / 441.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.146, allocations: 0 / 441.4 MB, free: 13.64 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.0009158/0.147, allocations: 0.5926 MB / 442 MB, free: 13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.147, allocations: 8.031 kB / 442 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.378e-05/0.1471, allocations: 43.47 kB / 442 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.1474, allocations: 271.2 kB / 442.3 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.1475, allocations: 29 kB / 442.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.395e-05/0.1475, allocations: 40 kB / 442.4 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006299/0.1482, allocations: 398 kB / 442.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.1482, allocations: 7.906 kB / 442.8 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.1482, allocations: 16 kB / 442.8 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.1483, allocations: 8 kB / 442.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004432/0.1487, allocations: 235.7 kB / 443 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/0.1509, allocations: 1.727 MB / 444.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.1514, allocations: 266.3 kB / 445 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.1515, allocations: 94.08 kB / 445.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.1516, allocations: 11.98 kB / 445.1 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.1516, allocations: 46.48 kB / 445.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.1516, allocations: 3.938 kB / 445.2 MB, free: 9.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006478/0.1523, allocations: 273.3 kB / 445.4 MB, free: 9.281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.1524, allocations: 213.6 kB / 445.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.1527, allocations: 274.8 kB / 445.9 MB, free: 8.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.1527, allocations: 33.8 kB / 445.9 MB, free: 8.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.1529, allocations: 243.4 kB / 446.2 MB, free: 8.469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.204e-05/0.1529, allocations: 114.4 kB / 446.3 MB, free: 8.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/0.153, allocations: 12 kB / 446.3 MB, free: 8.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1531, allocations: 342.8 kB / 446.6 MB, free: 8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.1533, allocations: 101.2 kB / 446.7 MB, free: 7.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.1537, allocations: 432.8 kB / 447.2 MB, free: 7.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.154, allocations: 171.8 kB / 447.3 MB, free: 7.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.154, allocations: 4 kB / 447.3 MB, free: 7.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007847/0.1548, allocations: 0.5202 MB / 447.9 MB, free: 6.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.1548, allocations: 12.84 kB / 447.9 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.1549, allocations: 8 kB / 447.9 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/0.1549, allocations: 24 kB / 447.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.1553, allocations: 147.8 kB / 448 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/0.1554, allocations: 19.92 kB / 448.1 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.1556, allocations: 71.3 kB / 448.1 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.1557, allocations: 43.92 kB / 448.2 MB, free: 6.301 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001757/0.1559, allocations: 173.5 kB / 448.3 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.156, allocations: 31.72 kB / 448.4 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.499e-05/0.1561, allocations: 33.78 kB / 448.4 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.1561, allocations: 8.562 kB / 448.4 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1561, allocations: 0 / 448.4 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.1561, allocations: 4 kB / 448.4 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.1573, allocations: 0.6558 MB / 449.1 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1573, allocations: 64 / 449.1 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/0.1578, allocations: 91.89 kB / 449.2 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.1578, allocations: 4 kB / 449.2 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.1578, allocations: 23.97 kB / 449.2 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1579, allocations: 4 kB / 449.2 MB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1579, allocations: 7.891 kB / 449.2 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007484/0.1586, allocations: 0.8415 MB / 450 MB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.1587, allocations: 104.8 kB / 450.2 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.1587, allocations: 15.94 kB / 450.2 MB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.1591, allocations: 15.98 kB / 450.2 MB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.1591, allocations: 19.94 kB / 450.2 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.1592, allocations: 15.98 kB / 450.2 MB, free: 4.137 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.1594, allocations: 182 kB / 450.4 MB, free: 3.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1594, allocations: 0 / 450.4 MB, free: 3.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007107/0.1601, allocations: 103.8 kB / 450.5 MB, free: 3.855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001358/0.1602, allocations: 115.1 kB / 450.6 MB, free: 3.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005371/0.1608, allocations: 289.8 kB / 450.9 MB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1608, allocations: 4 kB / 450.9 MB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.161, allocations: 87.83 kB / 451 MB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009482/0.1619, allocations: 73.44 kB / 451.1 MB, free: 3.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.1644, allocations: 1.895 MB / 452.9 MB, free: 1.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.1648, allocations: 0.7955 MB / 453.7 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001791/0.165, allocations: 47.25 kB / 453.8 MB, free: 488 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.1651, allocations: 27.44 kB / 453.8 MB, free: 460 kB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1651, allocations: 0 / 453.8 MB, free: 460 kB / 382.1 MB Notification: Performance of Templates: time 0.2395/0.4046, allocations: 2.651 MB / 456.5 MB, free: 47.02 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: