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.001071/0.001071, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001219/0.001219, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.3625/0.3625, allocations: 40 MB / 310.4 MB, free: 9.914 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.0006137/0.0006138, allocations: 16 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1446, allocations: 57.95 MB / 436.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002318/0.147, allocations: 1.451 MB / 438.2 MB, free: 1.145 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005249/0.1475, allocations: 163.6 kB / 438.4 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.1477, allocations: 4 kB / 438.4 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.177e-05/0.1478, allocations: 15.84 kB / 438.4 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.148, allocations: 51.88 kB / 438.4 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.1482, allocations: 35.91 kB / 438.5 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.1484, allocations: 123.8 kB / 438.6 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.1486, allocations: 53.67 kB / 438.6 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.1488, allocations: 55.8 kB / 438.7 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.1489, allocations: 63.75 kB / 438.8 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.149, allocations: 8 kB / 438.8 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.364e-05/0.149, allocations: 8 kB / 438.8 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.084e-05/0.149, allocations: 35.8 kB / 438.8 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.071e-05/0.1491, allocations: 57.64 kB / 438.9 MB, free: 484 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.1493, allocations: 131.9 kB / 439 MB, free: 352 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1493, allocations: 0 / 439 MB, free: 352 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1493, allocations: 0 / 439 MB, free: 352 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1493, allocations: 0 / 439 MB, free: 352 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008579/0.1502, allocations: 431.1 kB / 439.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.51e-05/0.1503, allocations: 8.031 kB / 439.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.27e-05/0.1504, allocations: 19.77 kB / 439.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.1507, allocations: 210.8 kB / 439.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.1508, allocations: 12.33 kB / 439.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.1508, allocations: 20 kB / 439.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.1512, allocations: 165.6 kB / 439.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.1512, allocations: 3.906 kB / 439.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.1513, allocations: 4 kB / 439.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.1513, allocations: 8 kB / 439.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/0.1515, allocations: 99.77 kB / 440 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.1528, allocations: 0.6112 MB / 440.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.1531, allocations: 125.2 kB / 440.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.1531, allocations: 192 / 440.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.1532, allocations: 42.5 kB / 440.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 3.337e-06/0.1532, allocations: 3.984 kB / 440.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001039/0.1542, allocations: 377.2 kB / 441.1 MB, free: 14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/0.1543, allocations: 85.09 kB / 441.2 MB, free: 13.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.1545, allocations: 133.9 kB / 441.3 MB, free: 13.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.1546, allocations: 25.7 kB / 441.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.1547, allocations: 132 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.795e-05/0.1548, allocations: 51.2 kB / 441.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.1548, allocations: 8 kB / 441.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.155, allocations: 327.2 kB / 441.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.66e-05/0.1551, allocations: 35.98 kB / 441.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1552, allocations: 112.4 kB / 442 MB, free: 13.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.8e-05/0.1553, allocations: 47.94 kB / 442 MB, free: 12.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1553, allocations: 4 kB / 442 MB, free: 12.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004128/0.1557, allocations: 222.9 kB / 442.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.1558, allocations: 7.953 kB / 442.3 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.1558, allocations: 4 kB / 442.3 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002845/0.1561, allocations: 53.94 kB / 442.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.1563, allocations: 35.92 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.1585, allocations: 2.728 MB / 445.1 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.1586, allocations: 15.88 kB / 445.1 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.1586, allocations: 8 kB / 445.1 MB, free: 9.621 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.1587, allocations: 141.7 kB / 445.3 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.1588, allocations: 19.75 kB / 445.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.1588, allocations: 12.91 kB / 445.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1588, allocations: 8 kB / 445.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1589, allocations: 0 / 445.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1589, allocations: 0 / 445.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.1592, allocations: 237.5 kB / 445.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1592, allocations: 0 / 445.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.1593, allocations: 23.98 kB / 445.5 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.1595, allocations: 45.7 kB / 445.6 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1595, allocations: 3.984 kB / 445.6 MB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.1616, allocations: 2.728 MB / 448.3 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1616, allocations: 0 / 448.3 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.1621, allocations: 390.2 kB / 448.7 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.1622, allocations: 89 kB / 448.8 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.1622, allocations: 8.062 kB / 448.8 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/0.1623, allocations: 0 / 448.8 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.1623, allocations: 11.98 kB / 448.8 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.1623, allocations: 8.094 kB / 448.8 MB, free: 5.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.013e-05/0.1624, allocations: 103.1 kB / 448.9 MB, free: 5.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1624, allocations: 0 / 448.9 MB, free: 5.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004474/0.1629, allocations: 55.91 kB / 449 MB, free: 5.383 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001274/0.163, allocations: 95.25 kB / 449.1 MB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004972/0.1635, allocations: 345.4 kB / 449.4 MB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1635, allocations: 0 / 449.4 MB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.1639, allocations: 289.3 kB / 449.7 MB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.1643, allocations: 28.17 kB / 449.7 MB, free: 4.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.1654, allocations: 0.7874 MB / 450.5 MB, free: 3.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.1657, allocations: 0.7281 MB / 451.2 MB, free: 3.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.292e-05/0.1658, allocations: 5.438 kB / 451.2 MB, free: 3.004 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.1658, allocations: 15.44 kB / 451.2 MB, free: 2.988 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1658, allocations: 4 kB / 451.3 MB, free: 2.984 MB / 382.1 MB Notification: Performance of Templates: time 0.005583/0.1714, allocations: 1.763 MB / 453 MB, free: 1.223 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: