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.001488/0.001488, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001789/0.001789, allocations: 191.6 kB / 16.14 MB, free: 6.703 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.604/1.604, allocations: 205.1 MB / 222 MB, free: 4.762 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.3484/0.3484, allocations: 39.93 MB / 309.3 MB, free: 9.633 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.001355/0.001355, allocations: 65.94 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1561, allocations: 56.88 MB / 433.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003311/0.1595, allocations: 1.918 MB / 435.7 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003127/0.1598, allocations: 147.4 kB / 435.9 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.428e-05/0.1599, allocations: 4 kB / 435.9 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.463e-05/0.16, allocations: 11.92 kB / 435.9 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.1601, allocations: 47.61 kB / 435.9 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.1603, allocations: 31.97 kB / 436 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1605, allocations: 187.1 kB / 436.1 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.1607, allocations: 57.69 kB / 436.2 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.384e-05/0.1608, allocations: 55.8 kB / 436.2 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1609, allocations: 71.64 kB / 436.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.1609, allocations: 8 kB / 436.3 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.189e-05/0.1609, allocations: 12 kB / 436.3 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.307e-05/0.161, allocations: 27.91 kB / 436.4 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.912e-05/0.1611, allocations: 83.59 kB / 436.4 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.1613, allocations: 171.6 kB / 436.6 MB, free: 1.574 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1613, allocations: 0 / 436.6 MB, free: 1.574 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1613, allocations: 0 / 436.6 MB, free: 1.574 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1613, allocations: 4 kB / 436.6 MB, free: 1.57 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.0005889/0.1619, allocations: 455.2 kB / 437.1 MB, free: 1.074 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1619, allocations: 8.031 kB / 437.1 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.162, allocations: 16.75 kB / 437.1 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.1622, allocations: 200.1 kB / 437.3 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1622, allocations: 16.7 kB / 437.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.1623, allocations: 20.36 kB / 437.3 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.1626, allocations: 174.1 kB / 437.5 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.1626, allocations: 4.094 kB / 437.5 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.1626, allocations: 11.92 kB / 437.5 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1626, allocations: 4 kB / 437.5 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.1628, allocations: 91.89 kB / 437.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008286/0.1636, allocations: 0.6189 MB / 438.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.1639, allocations: 133.1 kB / 438.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.72e-05/0.164, allocations: 49.7 kB / 438.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.164, allocations: 4 kB / 438.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.164, allocations: 42.67 kB / 438.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.164, allocations: 0 / 438.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008141/0.1649, allocations: 377.2 kB / 438.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.1649, allocations: 81.11 kB / 438.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1651, allocations: 133.9 kB / 439 MB, free: 14.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1651, allocations: 25.7 kB / 439 MB, free: 14.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.1652, allocations: 124.1 kB / 439.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.1652, allocations: 63.09 kB / 439.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.1653, allocations: 37.72 kB / 439.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1654, allocations: 322.8 kB / 439.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.487e-05/0.1655, allocations: 43.92 kB / 439.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.1656, allocations: 112.4 kB / 439.7 MB, free: 14.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.1658, allocations: 156.5 kB / 439.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1658, allocations: 0 / 439.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003395/0.1661, allocations: 219.3 kB / 440.1 MB, free: 13.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1662, allocations: 12.23 kB / 440.1 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1662, allocations: 4 kB / 440.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002297/0.1664, allocations: 49.88 kB / 440.2 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.1666, allocations: 35.98 kB / 440.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.1685, allocations: 2.728 MB / 442.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.204e-05/0.1686, allocations: 15.84 kB / 442.9 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1686, allocations: 12 kB / 443 MB, free: 10.59 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.0001075/0.1688, allocations: 129.7 kB / 443.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.1688, allocations: 11.81 kB / 443.1 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.1689, allocations: 20.81 kB / 443.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1689, allocations: 144 / 443.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1689, allocations: 4 kB / 443.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1689, allocations: 7.969 kB / 443.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.1692, allocations: 229.5 kB / 443.3 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1692, allocations: 0 / 443.3 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.1693, allocations: 27.98 kB / 443.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001266/0.1695, allocations: 49.62 kB / 443.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.1695, allocations: 12 kB / 443.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.1715, allocations: 2.708 MB / 446.1 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1715, allocations: 7.922 kB / 446.1 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.1719, allocations: 380.5 kB / 446.5 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.1719, allocations: 88.94 kB / 446.6 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.172, allocations: 8.062 kB / 446.6 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1721, allocations: 3.938 kB / 446.6 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.1721, allocations: 15.98 kB / 446.6 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.1721, allocations: 4 kB / 446.6 MB, free: 6.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.357e-05/0.1722, allocations: 99.27 kB / 446.7 MB, free: 6.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1722, allocations: 0 / 446.7 MB, free: 6.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004302/0.1727, allocations: 51.91 kB / 446.8 MB, free: 6.379 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.0001199/0.1728, allocations: 111.1 kB / 446.9 MB, free: 6.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005091/0.1733, allocations: 353.4 kB / 447.2 MB, free: 5.891 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1733, allocations: 4.188 kB / 447.2 MB, free: 5.887 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.1736, allocations: 281.3 kB / 447.5 MB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.1741, allocations: 31.97 kB / 447.5 MB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.1752, allocations: 0.7022 MB / 448.3 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1755, allocations: 0.7281 MB / 449 MB, free: 4.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.368e-05/0.1756, allocations: 5.438 kB / 449 MB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.1756, allocations: 11.44 kB / 449 MB, free: 4.059 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1756, allocations: 0 / 449 MB, free: 4.059 MB / 382.1 MB Notification: Performance of Templates: time 0.004734/0.1803, allocations: 1.85 MB / 450.8 MB, free: 2.211 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)