Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001229/0.001229, allocations: 108 kB / 15.6 MB, free: 132 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.001324/0.001324, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.595/1.595, 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.1+maint.om/package.mo): time 0.4305/0.4305, allocations: 38 MB / 307.8 MB, free: 10.07 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.00156/0.00156, allocations: 71.91 kB / 375.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1479, allocations: 56.46 MB / 431.7 MB, free: 6.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003271/0.1512, allocations: 1.857 MB / 433.6 MB, free: 4.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003522/0.1516, allocations: 147.5 kB / 433.7 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.507e-05/0.1517, allocations: 8 kB / 433.7 MB, free: 4.629 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 8.203e-05/0.1518, allocations: 19.73 kB / 433.7 MB, free: 4.609 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.152, allocations: 51.56 kB / 433.8 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.1522, allocations: 39.94 kB / 433.8 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.1524, allocations: 183.1 kB / 434 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.1526, allocations: 61.5 kB / 434.1 MB, free: 4.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1527, allocations: 63.8 kB / 434.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.1529, allocations: 75.7 kB / 434.2 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.153, allocations: 16 kB / 434.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.536e-05/0.153, allocations: 12 kB / 434.2 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.153, allocations: 39.83 kB / 434.3 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.1532, allocations: 83.61 kB / 434.3 MB, free: 3.996 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.1534, allocations: 179.6 kB / 434.5 MB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1534, allocations: 0 / 434.5 MB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.1534, allocations: 0 / 434.5 MB, free: 3.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1534, allocations: 0 / 434.5 MB, free: 3.82 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.0007254/0.1542, allocations: 455.3 kB / 435 MB, free: 3.324 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.39e-05/0.1543, allocations: 11.89 kB / 435 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.1543, allocations: 20.73 kB / 435 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.1546, allocations: 204.1 kB / 435.2 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.1546, allocations: 12.7 kB / 435.2 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/0.1547, allocations: 24.28 kB / 435.2 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.155, allocations: 174 kB / 435.4 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.1551, allocations: 8.172 kB / 435.4 MB, free: 2.832 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.1551, allocations: 11.94 kB / 435.4 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.1551, allocations: 4 kB / 435.4 MB, free: 2.816 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.1553, allocations: 87.89 kB / 435.5 MB, free: 2.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009391/0.1562, allocations: 0.6111 MB / 436.1 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.1565, allocations: 137.1 kB / 436.2 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.562e-05/0.1566, allocations: 49.7 kB / 436.3 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.1566, allocations: 4 kB / 436.3 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.1566, allocations: 34.75 kB / 436.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.1566, allocations: 3.938 kB / 436.3 MB, free: 1.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008249/0.1575, allocations: 381.2 kB / 436.7 MB, free: 1.379 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.1575, allocations: 77.11 kB / 436.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.1577, allocations: 132.8 kB / 436.9 MB, free: 1.145 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.1577, allocations: 33.7 kB / 436.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.318e-05/0.1578, allocations: 124 kB / 437.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.1579, allocations: 55.2 kB / 437.1 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.958e-05/0.1579, allocations: 37.7 kB / 437.2 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1581, allocations: 330.8 kB / 437.5 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-05/0.1582, allocations: 35.98 kB / 437.5 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.471e-05/0.1583, allocations: 104.4 kB / 437.6 MB, free: 392 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.1584, allocations: 164.6 kB / 437.8 MB, free: 196 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1585, allocations: 4 kB / 437.8 MB, free: 192 kB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000362/0.1588, allocations: 231.2 kB / 438 MB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1589, allocations: 4 kB / 438 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.1589, allocations: 4 kB / 438 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002759/0.1592, allocations: 57.94 kB / 438.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1593, allocations: 35.92 kB / 438.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.1615, allocations: 2.978 MB / 441.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.05e-05/0.1616, allocations: 23.86 kB / 441.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1616, allocations: 4.125 kB / 441.1 MB, free: 12.55 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.0001368/0.1618, allocations: 133.8 kB / 441.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-05/0.1618, allocations: 11.91 kB / 441.3 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.1619, allocations: 16.66 kB / 441.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1619, allocations: 4 kB / 441.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1619, allocations: 3.938 kB / 441.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.1619, allocations: 7.984 kB / 441.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.1622, allocations: 229.4 kB / 441.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1622, allocations: 4 kB / 441.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.1624, allocations: 27.98 kB / 441.5 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.1625, allocations: 49.62 kB / 441.6 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.1625, allocations: 7.938 kB / 441.6 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.1647, allocations: 2.99 MB / 444.6 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1647, allocations: 0 / 444.6 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.1651, allocations: 371.7 kB / 445 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.1652, allocations: 88.95 kB / 445 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.1652, allocations: 4.062 kB / 445 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1653, allocations: 12 kB / 445.1 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.1654, allocations: 11.98 kB / 445.1 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.1654, allocations: 4 kB / 445.1 MB, free: 8.215 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.287e-05/0.1654, allocations: 103.2 kB / 445.2 MB, free: 8.113 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1654, allocations: 0 / 445.2 MB, free: 8.113 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000453/0.1659, allocations: 51.91 kB / 445.2 MB, free: 8.062 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.0001506/0.1661, allocations: 107.1 kB / 445.3 MB, free: 7.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005626/0.1666, allocations: 345.3 kB / 445.7 MB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1666, allocations: 192 / 445.7 MB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002985/0.1669, allocations: 301.7 kB / 446 MB, free: 7.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.1675, allocations: 24.11 kB / 446 MB, free: 7.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.1685, allocations: 0.6397 MB / 446.6 MB, free: 6.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.1688, allocations: 0.7242 MB / 447.3 MB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.687e-05/0.1689, allocations: 13.42 kB / 447.4 MB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.1689, allocations: 11.44 kB / 447.4 MB, free: 5.801 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1689, allocations: 0 / 447.4 MB, free: 5.801 MB / 382.1 MB Notification: Performance of Templates: time 0.004974/0.1739, allocations: 1.92 MB / 449.3 MB, free: 3.879 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1)