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.000812/0.0008119, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005561/0.005561, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.612/1.612, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.3803/0.3803, allocations: 38.03 MB / 308.8 MB, free: 10.34 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.000585/0.000585, allocations: 16 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1353, allocations: 57.53 MB / 434.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003102/0.1384, allocations: 2.5 MB / 437.1 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1395, allocations: 0.7254 MB / 437.8 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.1397, allocations: 11.94 kB / 437.8 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.1399, allocations: 35.7 kB / 437.8 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.1401, allocations: 111.1 kB / 437.9 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.1403, allocations: 71.88 kB / 438 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004079/0.1408, allocations: 417.9 kB / 438.4 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.141, allocations: 121.1 kB / 438.5 MB, free: 1.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.1412, allocations: 139.5 kB / 438.7 MB, free: 1.055 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.1414, allocations: 163.2 kB / 438.8 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.1415, allocations: 20 kB / 438.9 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.46e-05/0.1415, allocations: 16 kB / 438.9 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.1416, allocations: 71.69 kB / 438.9 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.1418, allocations: 204.8 kB / 439.1 MB, free: 0.582 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.1421, allocations: 406.6 kB / 439.5 MB, free: 188 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1421, allocations: 4 kB / 439.5 MB, free: 184 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1421, allocations: 0 / 439.5 MB, free: 184 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1421, allocations: 0 / 439.5 MB, free: 184 kB / 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.0008024/0.1429, allocations: 0.5773 MB / 440.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.143, allocations: 8.031 kB / 440.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/0.143, allocations: 44.45 kB / 440.2 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.1433, allocations: 280.4 kB / 440.4 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.1434, allocations: 33.38 kB / 440.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-05/0.1434, allocations: 36.38 kB / 440.5 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/0.144, allocations: 402.4 kB / 440.9 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.1441, allocations: 15.84 kB / 440.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/0.1441, allocations: 16 kB / 440.9 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.1441, allocations: 8 kB / 440.9 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.1446, allocations: 235.7 kB / 441.2 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/0.1467, allocations: 1.726 MB / 442.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.1471, allocations: 262.4 kB / 443.2 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.1473, allocations: 102 kB / 443.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.1473, allocations: 12 kB / 443.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.1474, allocations: 42.5 kB / 443.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.503e-06/0.1474, allocations: 0 / 443.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006392/0.148, allocations: 273.3 kB / 443.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.1481, allocations: 209.6 kB / 443.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.1484, allocations: 279 kB / 444.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1484, allocations: 33.7 kB / 444.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.1486, allocations: 239.1 kB / 444.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.169e-05/0.1486, allocations: 118.5 kB / 444.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.1487, allocations: 53.69 kB / 444.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1488, allocations: 346.7 kB / 444.8 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.149, allocations: 101.3 kB / 444.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.1494, allocations: 436.8 kB / 445.4 MB, free: 9.801 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/0.15, allocations: 0.5784 MB / 445.9 MB, free: 9.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.15, allocations: 4 kB / 445.9 MB, free: 9.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000756/0.1508, allocations: 0.5318 MB / 446.5 MB, free: 8.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1508, allocations: 8.906 kB / 446.5 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.1508, allocations: 12 kB / 446.5 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.1508, allocations: 20 kB / 446.5 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.1513, allocations: 147.8 kB / 446.7 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/0.1513, allocations: 23.92 kB / 446.7 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.1516, allocations: 67.36 kB / 446.7 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.1516, allocations: 32 kB / 446.8 MB, free: 8.215 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.0002137/0.1518, allocations: 181.5 kB / 446.9 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.152, allocations: 39.62 kB / 447 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.182e-05/0.152, allocations: 33.78 kB / 447 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1521, allocations: 4 kB / 447 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.1521, allocations: 0 / 447 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1521, allocations: 7.984 kB / 447 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.1532, allocations: 0.6518 MB / 447.7 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1532, allocations: 4.062 kB / 447.7 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/0.1536, allocations: 87.89 kB / 447.8 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.1536, allocations: 4 kB / 447.8 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.1537, allocations: 11.98 kB / 447.8 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.974e-06/0.1537, allocations: 7.938 kB / 447.8 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1537, allocations: 7.938 kB / 447.8 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006579/0.1544, allocations: 0.8491 MB / 448.7 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.1544, allocations: 105 kB / 448.8 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.1545, allocations: 8 kB / 448.8 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.1548, allocations: 19.92 kB / 448.8 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.1549, allocations: 31.91 kB / 448.8 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.1549, allocations: 11.98 kB / 448.8 MB, free: 6.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.155, allocations: 182 kB / 449 MB, free: 5.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.155, allocations: 0 / 449 MB, free: 5.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006544/0.1557, allocations: 103.8 kB / 449.1 MB, free: 5.758 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.0001038/0.1558, allocations: 103.2 kB / 449.2 MB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000467/0.1563, allocations: 293.6 kB / 449.5 MB, free: 5.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1563, allocations: 0 / 449.5 MB, free: 5.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.1564, allocations: 95.83 kB / 449.6 MB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.1575, allocations: 77.72 kB / 449.7 MB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.1597, allocations: 1.93 MB / 451.6 MB, free: 3.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.1601, allocations: 0.7992 MB / 452.4 MB, free: 2.379 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001653/0.1602, allocations: 43.27 kB / 452.4 MB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/0.1603, allocations: 31.42 kB / 452.5 MB, free: 2.305 MB / 382.1 MB Notification: Performance of SimCode: time 1.473e-06/0.1603, allocations: 0 / 452.5 MB, free: 2.305 MB / 382.1 MB Notification: Performance of Templates: time 0.2138/0.3741, allocations: 2.737 MB / 455.2 MB, free: 48.85 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: