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.001334/0.001335, allocations: 108 kB / 15.6 MB, free: 132 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.001768/0.001768, allocations: 198 kB / 16.54 MB, free: 6.672 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.695/1.695, allocations: 205.1 MB / 222.4 MB, free: 4.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.3718/0.3718, allocations: 39.94 MB / 309.7 MB, free: 9.32 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.001705/0.001705, allocations: 71.88 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1398, allocations: 56.87 MB / 434.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003945/0.1438, allocations: 2.824 MB / 437.3 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.145, allocations: 0.7409 MB / 438.1 MB, free: 112 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.1452, allocations: 8 kB / 438.1 MB, free: 104 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.1454, allocations: 51.39 kB / 438.1 MB, free: 52 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.1456, allocations: 127 kB / 438.2 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.1459, allocations: 95.64 kB / 438.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000395/0.1463, allocations: 430 kB / 438.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.1465, allocations: 145.5 kB / 438.9 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.1467, allocations: 159.4 kB / 439 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.147, allocations: 179.2 kB / 439.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.183e-05/0.147, allocations: 32 kB / 439.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.866e-05/0.1471, allocations: 36 kB / 439.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.074e-05/0.1471, allocations: 75.7 kB / 439.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.1473, allocations: 203.1 kB / 439.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.1477, allocations: 426.7 kB / 440 MB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1477, allocations: 3.938 kB / 440 MB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1477, allocations: 0 / 440 MB, free: 14.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1477, allocations: 0 / 440 MB, free: 14.17 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.0009601/0.1487, allocations: 0.6508 MB / 440.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1487, allocations: 11.89 kB / 440.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.1488, allocations: 44.47 kB / 440.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.1492, allocations: 272.5 kB / 441 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.1492, allocations: 29.38 kB / 441 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.408e-05/0.1493, allocations: 44.27 kB / 441 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005927/0.1499, allocations: 394.4 kB / 441.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.1499, allocations: 15.89 kB / 441.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.15, allocations: 16 kB / 441.4 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.15, allocations: 12 kB / 441.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004117/0.1504, allocations: 223.7 kB / 441.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.1527, allocations: 1.726 MB / 443.4 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.1532, allocations: 262.4 kB / 443.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.1534, allocations: 102.1 kB / 443.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1534, allocations: 3.938 kB / 443.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.1534, allocations: 38.56 kB / 443.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.814e-06/0.1535, allocations: 0 / 443.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006658/0.1541, allocations: 265 kB / 444.1 MB, free: 9.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.1543, allocations: 213.6 kB / 444.3 MB, free: 9.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.1545, allocations: 270.9 kB / 444.5 MB, free: 9.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1546, allocations: 29.7 kB / 444.6 MB, free: 9.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.1547, allocations: 239.6 kB / 444.8 MB, free: 8.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.638e-05/0.1548, allocations: 126.4 kB / 444.9 MB, free: 8.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.155, allocations: 102.2 kB / 445 MB, free: 8.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1551, allocations: 342.7 kB / 445.3 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.1553, allocations: 97.27 kB / 445.4 MB, free: 8.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/0.1558, allocations: 432.8 kB / 445.9 MB, free: 7.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007041/0.1565, allocations: 0.5706 MB / 446.4 MB, free: 6.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.1565, allocations: 4 kB / 446.4 MB, free: 6.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008077/0.1574, allocations: 0.5202 MB / 447 MB, free: 6.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.1574, allocations: 16.89 kB / 447 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.1574, allocations: 12 kB / 447 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-05/0.1575, allocations: 20 kB / 447 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/0.1579, allocations: 143.8 kB / 447.1 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-05/0.1579, allocations: 23.92 kB / 447.2 MB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.1582, allocations: 63.38 kB / 447.2 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.1583, allocations: 39.94 kB / 447.3 MB, free: 6.148 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.0002179/0.1585, allocations: 173.6 kB / 447.4 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.1587, allocations: 35.56 kB / 447.5 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.77e-05/0.1588, allocations: 41.72 kB / 447.5 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.1588, allocations: 8 kB / 447.5 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.1588, allocations: 0 / 447.5 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.1588, allocations: 4.5 kB / 447.5 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.16, allocations: 0.6475 MB / 448.2 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.16, allocations: 3.984 kB / 448.2 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.1605, allocations: 87.95 kB / 448.3 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1605, allocations: 4 kB / 448.3 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.1605, allocations: 16 kB / 448.3 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/0.1605, allocations: 11.86 kB / 448.3 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.1605, allocations: 4 kB / 448.3 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008287/0.1614, allocations: 0.8295 MB / 449.1 MB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.484e-05/0.1615, allocations: 112.8 kB / 449.2 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.1615, allocations: 8 kB / 449.2 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.1618, allocations: 15.94 kB / 449.3 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-05/0.1619, allocations: 23.97 kB / 449.3 MB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.162, allocations: 11.98 kB / 449.3 MB, free: 3.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.1621, allocations: 178 kB / 449.5 MB, free: 3.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1621, allocations: 0 / 449.5 MB, free: 3.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006695/0.1628, allocations: 103.8 kB / 449.6 MB, free: 3.719 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.0001256/0.1629, allocations: 123 kB / 449.7 MB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005063/0.1634, allocations: 293.5 kB / 450 MB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1635, allocations: 0 / 450 MB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.1636, allocations: 92.42 kB / 450.1 MB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.1646, allocations: 78.55 kB / 450.1 MB, free: 3.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.1671, allocations: 1.533 MB / 451.7 MB, free: 1.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.1675, allocations: 0.8028 MB / 452.5 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001633/0.1676, allocations: 47.2 kB / 452.5 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.1677, allocations: 31.42 kB / 452.6 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1677, allocations: 0 / 452.6 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of Templates: time 0.2672/0.4349, allocations: 2.922 MB / 455.5 MB, free: 50.18 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)