Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, 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.001991/0.001991, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.592/1.592, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.3832/0.3832, allocations: 39.94 MB / 309.7 MB, free: 9.266 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.001635/0.001635, allocations: 74.39 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1559, allocations: 56.88 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.00364/0.1597, allocations: 1.845 MB / 436.3 MB, free: 1.828 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003901/0.1601, allocations: 147.5 kB / 436.5 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.366e-05/0.1602, allocations: 4 kB / 436.5 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.922e-05/0.1603, allocations: 23.72 kB / 436.5 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.1604, allocations: 59.55 kB / 436.6 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.1606, allocations: 31.97 kB / 436.6 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.1609, allocations: 187.1 kB / 436.8 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.1611, allocations: 65.36 kB / 436.8 MB, free: 1.316 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.505e-05/0.1612, allocations: 59.8 kB / 436.9 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1613, allocations: 79.58 kB / 437 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.1614, allocations: 16 kB / 437 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.472e-05/0.1614, allocations: 12 kB / 437 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.456e-05/0.1615, allocations: 35.91 kB / 437 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1616, allocations: 87.59 kB / 437.1 MB, free: 1.031 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.1618, allocations: 175.6 kB / 437.3 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1619, allocations: 0 / 437.3 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1619, allocations: 3.938 kB / 437.3 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1619, allocations: 0 / 437.3 MB, free: 0.8555 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007269/0.1626, allocations: 455.2 kB / 437.8 MB, free: 368 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.1627, allocations: 11.89 kB / 437.8 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.1627, allocations: 20.75 kB / 437.8 MB, free: 336 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.163, allocations: 212.1 kB / 438 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.163, allocations: 8.703 kB / 438 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.052e-05/0.1631, allocations: 20.36 kB / 438 MB, free: 56 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.1634, allocations: 170.2 kB / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.1634, allocations: 12.08 kB / 438.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.1635, allocations: 7.938 kB / 438.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.1635, allocations: 8 kB / 438.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.1637, allocations: 83.89 kB / 438.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008798/0.1646, allocations: 0.6227 MB / 438.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.1648, allocations: 129.2 kB / 439 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1649, allocations: 49.7 kB / 439.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1649, allocations: 7.984 kB / 439.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.165, allocations: 30.56 kB / 439.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.165, allocations: 0 / 439.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008446/0.1658, allocations: 381.4 kB / 439.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.1659, allocations: 85.11 kB / 439.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.166, allocations: 130.1 kB / 439.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1661, allocations: 30.08 kB / 439.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.1662, allocations: 124.1 kB / 439.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/0.1662, allocations: 63.08 kB / 439.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.1663, allocations: 37.72 kB / 440 MB, free: 13.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1665, allocations: 322.8 kB / 440.3 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-05/0.1665, allocations: 35.98 kB / 440.3 MB, free: 13.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.1667, allocations: 112.4 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.1669, allocations: 160.4 kB / 440.6 MB, free: 13.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1669, allocations: 0 / 440.6 MB, free: 13.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003553/0.1672, allocations: 227 kB / 440.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1673, allocations: 7.938 kB / 440.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1673, allocations: 4 kB / 440.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/0.1675, allocations: 45.7 kB / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.1677, allocations: 40.11 kB / 440.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.1701, allocations: 2.998 MB / 443.9 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.782e-05/0.1702, allocations: 19.75 kB / 443.9 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1702, allocations: 8 kB / 443.9 MB, free: 9.578 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 (20): * Single equations (assignments): 18 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.1704, allocations: 133.9 kB / 444 MB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.1704, allocations: 11.89 kB / 444.1 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.1705, allocations: 20.66 kB / 444.1 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1705, allocations: 0 / 444.1 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1705, allocations: 4 kB / 444.1 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1705, allocations: 0 / 444.1 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.1708, allocations: 229.6 kB / 444.3 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1708, allocations: 0 / 444.3 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.171, allocations: 27.98 kB / 444.3 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/0.1711, allocations: 49.64 kB / 444.4 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.1711, allocations: 11.94 kB / 444.4 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/0.1736, allocations: 2.978 MB / 447.4 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1736, allocations: 4.031 kB / 447.4 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004534/0.174, allocations: 379.7 kB / 447.7 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.1741, allocations: 92.86 kB / 447.8 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.1741, allocations: 8.062 kB / 447.8 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1742, allocations: 3.938 kB / 447.9 MB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.1743, allocations: 11.98 kB / 447.9 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.1743, allocations: 8 kB / 447.9 MB, free: 5.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.601e-05/0.1744, allocations: 95.27 kB / 448 MB, free: 5.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1744, allocations: 0 / 448 MB, free: 5.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004616/0.1749, allocations: 52 kB / 448 MB, free: 5.102 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001641/0.175, allocations: 107.2 kB / 448.1 MB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000611/0.1757, allocations: 357.5 kB / 448.5 MB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.1757, allocations: 0 / 448.5 MB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003295/0.176, allocations: 289.3 kB / 448.8 MB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.1766, allocations: 23.98 kB / 448.8 MB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.1777, allocations: 0.6397 MB / 449.4 MB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.1781, allocations: 0.7281 MB / 450.1 MB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.956e-05/0.1782, allocations: 13.41 kB / 450.2 MB, free: 2.852 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.1782, allocations: 11.44 kB / 450.2 MB, free: 2.84 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1782, allocations: 4 kB / 450.2 MB, free: 2.836 MB / 382.1 MB Notification: Performance of Templates: time 0.005161/0.1834, allocations: 1.905 MB / 452.1 MB, free: 0.9297 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1)