Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001552/0.001552, allocations: 120 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001943/0.001943, allocations: 213.6 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2412/0.2412, allocations: 46.93 MB / 357.7 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 87.86 kB / 0.4917 GB, free: 7.773 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1524, allocations: 66.03 MB / 0.5561 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003482/0.1559, allocations: 1.873 MB / 0.558 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004055/0.1563, allocations: 147.5 kB / 0.5581 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.175e-05/0.1564, allocations: 11.88 kB / 0.5581 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.693e-05/0.1565, allocations: 19.8 kB / 0.5581 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.1566, allocations: 51.55 kB / 0.5582 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.1568, allocations: 43.89 kB / 0.5582 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.1571, allocations: 179.2 kB / 0.5584 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.1573, allocations: 45.53 kB / 0.5584 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.1574, allocations: 75.72 kB / 0.5585 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.1576, allocations: 79.62 kB / 0.5586 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.1576, allocations: 12 kB / 0.5586 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.222e-05/0.1576, allocations: 16 kB / 0.5586 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.14e-05/0.1577, allocations: 27.92 kB / 0.5586 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1578, allocations: 87.59 kB / 0.5587 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.158, allocations: 175.3 kB / 0.5589 GB, free: 2.766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1581, allocations: 0 / 0.5589 GB, free: 2.766 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1581, allocations: 0 / 0.5589 GB, free: 2.766 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.1581, allocations: 0 / 0.5589 GB, free: 2.766 MB / 414.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.0007329/0.1588, allocations: 467 kB / 0.5593 GB, free: 2.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.1588, allocations: 8.031 kB / 0.5593 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.247e-05/0.1589, allocations: 58.67 kB / 0.5594 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.159, allocations: 16.84 kB / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.1592, allocations: 200.2 kB / 0.5596 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.1592, allocations: 16.7 kB / 0.5596 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.271e-05/0.1593, allocations: 20.33 kB / 0.5596 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.1596, allocations: 170.2 kB / 0.5598 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.1596, allocations: 3.938 kB / 0.5598 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.1596, allocations: 8 kB / 0.5598 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.1596, allocations: 4 kB / 0.5598 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.1599, allocations: 91.88 kB / 0.5599 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009381/0.1609, allocations: 0.6152 MB / 0.5605 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.1611, allocations: 125.2 kB / 0.5606 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.146e-05/0.1612, allocations: 49.83 kB / 0.5607 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.1612, allocations: 0 / 0.5607 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.1613, allocations: 38.55 kB / 0.5607 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.1613, allocations: 4 kB / 0.5607 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008848/0.1621, allocations: 377.2 kB / 0.5611 GB, free: 280 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.1622, allocations: 81.11 kB / 0.5612 GB, free: 180 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1624, allocations: 131.4 kB / 0.5613 GB, free: 36 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1624, allocations: 29.7 kB / 0.5613 GB, free: 0 / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1625, allocations: 124.2 kB / 0.5614 GB, free: 15.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.364e-05/0.1626, allocations: 63.47 kB / 0.5615 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.1626, allocations: 37.72 kB / 0.5615 GB, free: 15.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.1628, allocations: 322.8 kB / 0.5618 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.22e-05/0.1629, allocations: 39.98 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.1631, allocations: 104.5 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.1634, allocations: 156.5 kB / 0.5621 GB, free: 15.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1634, allocations: 0 / 0.5621 GB, free: 15.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004095/0.1638, allocations: 218.9 kB / 0.5623 GB, free: 14.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.1639, allocations: 10.19 kB / 0.5623 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.1639, allocations: 11.92 kB / 0.5623 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002392/0.1641, allocations: 49.95 kB / 0.5624 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.1643, allocations: 43.92 kB / 0.5624 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003188/0.1674, allocations: 2.99 MB / 0.5654 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.984e-05/0.1675, allocations: 11.92 kB / 0.5654 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1676, allocations: 12 kB / 0.5654 GB, free: 11.45 MB / 430.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.0001481/0.1677, allocations: 126.2 kB / 0.5655 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.753e-05/0.1678, allocations: 19.91 kB / 0.5655 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/0.1678, allocations: 20.7 kB / 0.5655 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1678, allocations: 8 kB / 0.5655 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1678, allocations: 0 / 0.5655 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1678, allocations: 3.938 kB / 0.5656 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.1682, allocations: 229.6 kB / 0.5658 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1682, allocations: 3.984 kB / 0.5658 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.1684, allocations: 23.98 kB / 0.5658 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001621/0.1685, allocations: 49.69 kB / 0.5658 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.1685, allocations: 7.938 kB / 0.5659 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003156/0.1717, allocations: 2.994 MB / 0.5688 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1717, allocations: 32 / 0.5688 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004922/0.1722, allocations: 371.8 kB / 0.5691 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.415e-05/0.1723, allocations: 97.05 kB / 0.5692 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.1723, allocations: 0 / 0.5692 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.1724, allocations: 12 kB / 0.5692 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.1724, allocations: 15.92 kB / 0.5692 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1724, allocations: 0 / 0.5692 GB, free: 7.109 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.51e-05/0.1725, allocations: 104.8 kB / 0.5693 GB, free: 7.008 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1725, allocations: 0 / 0.5693 GB, free: 7.008 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004813/0.173, allocations: 47.95 kB / 0.5694 GB, free: 6.961 MB / 430.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.0008641/0.1739, allocations: 0.9007 MB / 0.5703 GB, free: 6.027 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006809/0.1745, allocations: 357.4 kB / 0.5706 GB, free: 5.652 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1745, allocations: 0 / 0.5706 GB, free: 5.652 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004917/0.175, allocations: 277.3 kB / 0.5709 GB, free: 5.355 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005498/0.1756, allocations: 32.3 kB / 0.5709 GB, free: 5.324 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.1788, allocations: 2.328 MB / 0.5732 GB, free: 2.836 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.1792, allocations: 0.7242 MB / 0.5739 GB, free: 2.086 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.147e-05/0.1793, allocations: 9.422 kB / 0.5739 GB, free: 2.078 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.1794, allocations: 47.42 kB / 0.5739 GB, free: 2.031 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1794, allocations: 0 / 0.5739 GB, free: 2.031 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03647/0.2158, allocations: 3.814 MB / 0.5777 GB, free: 14.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.93, allocations: 0 / 0.5777 GB, free: 14.39 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.198544894810766] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia1.phi', 'inertia1.w', 'inertia3.phi', 'inertia3.w', 'inertia4.phi', 'inertia4.w'] 11.017056957818568 11.048525497 10.884789894 Calling exit ...