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.001765/0.001765, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001621/0.001621, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.565/1.565, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.3741/0.3741, allocations: 37.98 MB / 307.4 MB, free: 9.996 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.00155/0.00155, allocations: 70.47 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1423, allocations: 56.46 MB / 431.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.005604/0.1479, allocations: 2.874 MB / 434.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.1497, allocations: 0.7371 MB / 434.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004698/0.1503, allocations: 12 kB / 434.8 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.1506, allocations: 35.64 kB / 434.9 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005718/0.1512, allocations: 107.1 kB / 435 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.1516, allocations: 71.94 kB / 435 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005661/0.1522, allocations: 429.9 kB / 435.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.1525, allocations: 145.5 kB / 435.6 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.1527, allocations: 163.4 kB / 435.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.1529, allocations: 183.2 kB / 435.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.158e-05/0.153, allocations: 32 kB / 436 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.785e-05/0.153, allocations: 32 kB / 436 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.719e-05/0.1531, allocations: 75.75 kB / 436.1 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.1533, allocations: 191.1 kB / 436.3 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004239/0.1537, allocations: 434.7 kB / 436.7 MB, free: 1.449 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1537, allocations: 4 kB / 436.7 MB, free: 1.445 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1538, allocations: 0 / 436.7 MB, free: 1.445 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1538, allocations: 0 / 436.7 MB, free: 1.445 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.0009585/0.1547, allocations: 0.6435 MB / 437.3 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1548, allocations: 11.89 kB / 437.3 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.856e-05/0.1549, allocations: 40.47 kB / 437.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.1552, allocations: 288.3 kB / 437.7 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.1552, allocations: 29.38 kB / 437.7 MB, free: 364 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.1553, allocations: 40.28 kB / 437.7 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006152/0.1559, allocations: 398.4 kB / 438.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.1559, allocations: 4 kB / 438.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.156, allocations: 16 kB / 438.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.156, allocations: 8 kB / 438.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.1564, allocations: 231.2 kB / 438.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.1587, allocations: 1.722 MB / 440.1 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.1591, allocations: 262.4 kB / 440.3 MB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.1593, allocations: 94.02 kB / 440.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.1594, allocations: 8.062 kB / 440.4 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1594, allocations: 46.55 kB / 440.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.004e-06/0.1594, allocations: 0 / 440.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006488/0.1601, allocations: 265 kB / 440.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.1602, allocations: 210 kB / 441 MB, free: 12.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.1604, allocations: 278.9 kB / 441.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.1604, allocations: 33.64 kB / 441.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.1606, allocations: 235.2 kB / 441.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.873e-05/0.1607, allocations: 122.4 kB / 441.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.1608, allocations: 98.25 kB / 441.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.161, allocations: 346.8 kB / 442 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.1611, allocations: 101.2 kB / 442.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/0.1616, allocations: 432.8 kB / 442.6 MB, free: 11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005973/0.1622, allocations: 0.5667 MB / 443.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.1622, allocations: 4 kB / 443.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008735/0.1631, allocations: 0.5247 MB / 443.7 MB, free: 9.734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/0.1631, allocations: 12 kB / 443.7 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.1632, allocations: 12 kB / 443.7 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.1632, allocations: 12 kB / 443.7 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004258/0.1636, allocations: 152.2 kB / 443.8 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.308e-05/0.1637, allocations: 27.86 kB / 443.9 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.164, allocations: 59.38 kB / 443.9 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.164, allocations: 36.22 kB / 444 MB, free: 9.43 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.0001842/0.1642, allocations: 185.5 kB / 444.1 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.1644, allocations: 39.61 kB / 444.2 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.154e-05/0.1645, allocations: 33.78 kB / 444.2 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.1645, allocations: 4 kB / 444.2 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.1645, allocations: 4 kB / 444.2 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1645, allocations: 0 / 444.2 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.1657, allocations: 0.6436 MB / 444.9 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1657, allocations: 4 kB / 444.9 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004221/0.1662, allocations: 87.88 kB / 445 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.1662, allocations: 4 kB / 445 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.1662, allocations: 8 kB / 445 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.447e-06/0.1662, allocations: 11.88 kB / 445 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.1663, allocations: 4 kB / 445 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009673/0.1672, allocations: 0.841 MB / 445.8 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.1674, allocations: 104.8 kB / 445.9 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.1674, allocations: 15.98 kB / 445.9 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.1678, allocations: 12.12 kB / 446 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/0.1679, allocations: 19.97 kB / 446 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.1679, allocations: 11.98 kB / 446 MB, free: 7.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002182/0.1681, allocations: 190 kB / 446.2 MB, free: 7.102 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1681, allocations: 0 / 446.2 MB, free: 7.102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008235/0.1689, allocations: 103.8 kB / 446.3 MB, free: 7 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.0001842/0.1691, allocations: 115 kB / 446.4 MB, free: 6.879 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006411/0.1698, allocations: 298 kB / 446.7 MB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1698, allocations: 0 / 446.7 MB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.17, allocations: 100.6 kB / 446.8 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.171, allocations: 81.02 kB / 446.9 MB, free: 6.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.1735, allocations: 1.67 MB / 448.5 MB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.174, allocations: 0.7912 MB / 449.3 MB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000189/0.1742, allocations: 47.25 kB / 449.4 MB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.1743, allocations: 27.44 kB / 449.4 MB, free: 3.793 MB / 382.1 MB Notification: Performance of SimCode: time 9.41e-07/0.1743, allocations: 3.938 kB / 449.4 MB, free: 3.789 MB / 382.1 MB Notification: Performance of Templates: time 0.00704/0.1813, allocations: 2.871 MB / 452.3 MB, free: 0.918 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)