Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, 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.00155/0.00155, allocations: 193.6 kB / 16.53 MB, free: 6.699 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.665/1.665, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.3622/0.3622, allocations: 39.94 MB / 309.7 MB, free: 9.336 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.001488/0.001488, allocations: 71.89 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1465, allocations: 56.89 MB / 434.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003799/0.1504, allocations: 1.651 MB / 436.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003212/0.1507, allocations: 107.6 kB / 436.2 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.1508, allocations: 4 kB / 436.3 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.863e-05/0.151, allocations: 11.86 kB / 436.3 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.1511, allocations: 39.62 kB / 436.3 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.1512, allocations: 23.98 kB / 436.3 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.1514, allocations: 131.4 kB / 436.5 MB, free: 1.727 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.1516, allocations: 40.91 kB / 436.5 MB, free: 1.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.69e-05/0.1517, allocations: 47.86 kB / 436.5 MB, free: 1.641 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.335e-05/0.1518, allocations: 51.77 kB / 436.6 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.1519, allocations: 8 kB / 436.6 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.05e-05/0.1519, allocations: 8 kB / 436.6 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.409e-05/0.1519, allocations: 27.92 kB / 436.6 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.229e-05/0.152, allocations: 59.73 kB / 436.7 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.1522, allocations: 115.9 kB / 436.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1522, allocations: 0 / 436.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1522, allocations: 0 / 436.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1522, allocations: 0 / 436.8 MB, free: 1.375 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006052/0.1529, allocations: 415.2 kB / 437.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.1529, allocations: 15.89 kB / 437.2 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.153, allocations: 8.844 kB / 437.2 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.1532, allocations: 200.1 kB / 437.4 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.1532, allocations: 16.55 kB / 437.4 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.1533, allocations: 12.38 kB / 437.5 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.1536, allocations: 129.5 kB / 437.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.1536, allocations: 192 / 437.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.1536, allocations: 15.88 kB / 437.6 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1536, allocations: 0 / 437.6 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.1538, allocations: 63.95 kB / 437.7 MB, free: 424 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009285/0.1547, allocations: 0.545 MB / 438.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.1549, allocations: 93.06 kB / 438.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.556e-05/0.1549, allocations: 25.72 kB / 438.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1549, allocations: 7.922 kB / 438.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.155, allocations: 34.56 kB / 438.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.155, allocations: 0 / 438.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006867/0.1557, allocations: 309.4 kB / 438.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.1558, allocations: 77.11 kB / 438.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.1559, allocations: 117.8 kB / 438.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.156, allocations: 25.7 kB / 438.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.1561, allocations: 123.7 kB / 439 MB, free: 14.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.1561, allocations: 35.45 kB / 439 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.1562, allocations: 29.72 kB / 439.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.1564, allocations: 326.8 kB / 439.4 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.001e-05/0.1565, allocations: 20 kB / 439.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.1566, allocations: 87.8 kB / 439.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.1568, allocations: 124.5 kB / 439.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1568, allocations: 3.938 kB / 439.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003264/0.1572, allocations: 159.1 kB / 439.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.1572, allocations: 8 kB / 439.8 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.1572, allocations: 0 / 439.8 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002498/0.1575, allocations: 49.83 kB / 439.8 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1576, allocations: 23.98 kB / 439.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002648/0.1602, allocations: 2.734 MB / 442.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.228e-05/0.1604, allocations: 15.84 kB / 442.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1604, allocations: 7.938 kB / 442.6 MB, free: 10.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.1606, allocations: 133.9 kB / 442.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.1606, allocations: 7.906 kB / 442.7 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.1607, allocations: 11.84 kB / 442.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1607, allocations: 4 kB / 442.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.488e-05/0.1607, allocations: 4 kB / 442.8 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1607, allocations: 0 / 442.8 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/0.1611, allocations: 205.5 kB / 443 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1611, allocations: 0 / 443 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.491e-05/0.1612, allocations: 12 kB / 443 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.1613, allocations: 37.7 kB / 443 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1614, allocations: 7.938 kB / 443 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002711/0.1641, allocations: 2.726 MB / 445.8 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1641, allocations: 3.938 kB / 445.8 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.1645, allocations: 308.4 kB / 446.1 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.1646, allocations: 81.02 kB / 446.1 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.1646, allocations: 8 kB / 446.1 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.1647, allocations: 0 / 446.1 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.1648, allocations: 8.031 kB / 446.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.1648, allocations: 0 / 446.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.726e-05/0.1649, allocations: 99.27 kB / 446.2 MB, free: 6.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1649, allocations: 4 kB / 446.3 MB, free: 6.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004281/0.1653, allocations: 39.84 kB / 446.3 MB, free: 6.844 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001893/0.1655, allocations: 103.1 kB / 446.4 MB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006064/0.1661, allocations: 301.7 kB / 446.7 MB, free: 6.414 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1662, allocations: 4.062 kB / 446.7 MB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.1664, allocations: 257.3 kB / 446.9 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.0006182/0.1671, allocations: 31.31 kB / 447 MB, free: 6.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.1681, allocations: 477.1 kB / 447.4 MB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.1685, allocations: 0.7045 MB / 448.1 MB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.631e-05/0.1686, allocations: 12.86 kB / 448.2 MB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.1686, allocations: 11.44 kB / 448.2 MB, free: 4.855 MB / 382.1 MB Notification: Performance of SimCode: time 1.363e-06/0.1686, allocations: 0 / 448.2 MB, free: 4.855 MB / 382.1 MB Notification: Performance of Templates: time 0.004339/0.173, allocations: 1.516 MB / 449.7 MB, free: 3.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1)