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.0009519/0.0009519, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007014/0.007014, allocations: 173.9 kB / 16.27 MB, free: 6.676 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.746/1.746, allocations: 205.4 MB / 222.5 MB, free: 5.789 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.3881/0.3881, allocations: 40 MB / 310.7 MB, free: 9.809 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.0005875/0.0005875, allocations: 12 kB / 379.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1416, allocations: 57.96 MB / 437.4 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002163/0.1438, allocations: 1.56 MB / 439 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002918/0.1441, allocations: 143.5 kB / 439.1 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.312e-05/0.1442, allocations: 4 kB / 439.1 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.786e-05/0.1443, allocations: 19.84 kB / 439.1 MB, free: 500 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.1444, allocations: 47.61 kB / 439.2 MB, free: 452 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.1446, allocations: 31.97 kB / 439.2 MB, free: 420 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.1448, allocations: 175.1 kB / 439.4 MB, free: 244 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.145, allocations: 57.69 kB / 439.4 MB, free: 180 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.359e-05/0.1451, allocations: 63.78 kB / 439.5 MB, free: 116 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.1452, allocations: 63.64 kB / 439.6 MB, free: 52 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.1452, allocations: 12 kB / 439.6 MB, free: 40 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.63e-05/0.1453, allocations: 8 kB / 439.6 MB, free: 32 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.1453, allocations: 23.92 kB / 439.6 MB, free: 8 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.1454, allocations: 101.4 kB / 439.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.1456, allocations: 167.5 kB / 439.9 MB, free: 15.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1456, allocations: 3.938 kB / 439.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1456, allocations: 4 kB / 439.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1456, allocations: 0 / 439.9 MB, free: 15.73 MB / 382.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.0005129/0.1461, allocations: 427.3 kB / 440.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1462, allocations: 12.03 kB / 440.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.1463, allocations: 20.69 kB / 440.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.1465, allocations: 204.1 kB / 440.5 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.1465, allocations: 12.7 kB / 440.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.1466, allocations: 24.28 kB / 440.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.1469, allocations: 174.1 kB / 440.7 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1469, allocations: 192 / 440.7 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.1469, allocations: 11.94 kB / 440.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.147, allocations: 4 kB / 440.7 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.1471, allocations: 91.89 kB / 440.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008182/0.148, allocations: 0.6189 MB / 441.5 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.1482, allocations: 133.2 kB / 441.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.823e-05/0.1483, allocations: 49.7 kB / 441.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.1483, allocations: 4 kB / 441.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1483, allocations: 30.56 kB / 441.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.1483, allocations: 0 / 441.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008121/0.1491, allocations: 385.4 kB / 442 MB, free: 13.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.1492, allocations: 81.05 kB / 442.1 MB, free: 13.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1494, allocations: 137.8 kB / 442.3 MB, free: 13.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1494, allocations: 33.7 kB / 442.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.1495, allocations: 124 kB / 442.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.1495, allocations: 55.2 kB / 442.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.1496, allocations: 25.7 kB / 442.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1497, allocations: 322.8 kB / 442.8 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.954e-05/0.1498, allocations: 35.98 kB / 442.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1499, allocations: 104.6 kB / 442.9 MB, free: 12.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.1502, allocations: 160.7 kB / 443.1 MB, free: 12.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1502, allocations: 0 / 443.1 MB, free: 12.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003725/0.1506, allocations: 227 kB / 443.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.1506, allocations: 4 kB / 443.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.1506, allocations: 8 kB / 443.3 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002436/0.1509, allocations: 49.69 kB / 443.4 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.151, allocations: 39.92 kB / 443.4 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.1534, allocations: 2.724 MB / 446.1 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.875e-05/0.1535, allocations: 15.88 kB / 446.2 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1535, allocations: 11.94 kB / 446.2 MB, free: 8.785 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.0001341/0.1537, allocations: 133.9 kB / 446.3 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.1537, allocations: 15.91 kB / 446.3 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.1538, allocations: 16.7 kB / 446.3 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1538, allocations: 0 / 446.3 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.1538, allocations: 0 / 446.3 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/0.1538, allocations: 4 kB / 446.3 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.1541, allocations: 233.4 kB / 446.6 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1541, allocations: 3.984 kB / 446.6 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.1543, allocations: 28 kB / 446.6 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/0.1544, allocations: 45.69 kB / 446.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.1544, allocations: 11.94 kB / 446.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002286/0.1567, allocations: 2.716 MB / 449.4 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1567, allocations: 0 / 449.4 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004618/0.1572, allocations: 380.3 kB / 449.7 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.1573, allocations: 92.86 kB / 449.8 MB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.1573, allocations: 8.156 kB / 449.8 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1574, allocations: 3.938 kB / 449.8 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.1575, allocations: 15.98 kB / 449.9 MB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1575, allocations: 4 kB / 449.9 MB, free: 4.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.053e-05/0.1576, allocations: 103.2 kB / 450 MB, free: 4.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1576, allocations: 0 / 450 MB, free: 4.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004278/0.158, allocations: 44.09 kB / 450 MB, free: 4.578 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.0001369/0.1582, allocations: 115.1 kB / 450.1 MB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005682/0.1587, allocations: 349.1 kB / 450.5 MB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1587, allocations: 0 / 450.5 MB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004021/0.1592, allocations: 293.8 kB / 450.7 MB, free: 3.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.1597, allocations: 28.2 kB / 450.8 MB, free: 3.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1609, allocations: 0.8028 MB / 451.6 MB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.1613, allocations: 0.7242 MB / 452.3 MB, free: 2.168 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.6e-05/0.1613, allocations: 17.41 kB / 452.3 MB, free: 2.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.1614, allocations: 11.44 kB / 452.3 MB, free: 2.141 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1614, allocations: 0 / 452.3 MB, free: 2.141 MB / 382.1 MB Notification: Performance of Templates: time 0.004786/0.1661, allocations: 1.823 MB / 454.1 MB, free: 328 kB / 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: