Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.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.001723/0.001723, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.002208/0.002208, allocations: 205 kB / 21.45 MB, free: 1.629 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.606/1.606, 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.2655/0.2655, allocations: 46.93 MB / 357.7 MB, free: 10.3 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.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestSpeed",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.00233/0.00233, allocations: 79.88 kB / 0.4916 GB, free: 7.836 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1375, allocations: 66.05 MB / 0.5561 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004509/0.1421, allocations: 2.634 MB / 0.5587 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.1436, allocations: 0.7323 MB / 0.5594 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.1437, allocations: 11.88 kB / 0.5594 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.1439, allocations: 39.53 kB / 0.5595 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.1441, allocations: 99.19 kB / 0.5596 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.1444, allocations: 95.8 kB / 0.5597 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004161/0.1448, allocations: 342.5 kB / 0.56 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.145, allocations: 61.94 kB / 0.56 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.1452, allocations: 139.5 kB / 0.5602 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.1454, allocations: 135.3 kB / 0.5603 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/0.1455, allocations: 20 kB / 0.5603 GB, free: 1.332 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.84e-05/0.1456, allocations: 28 kB / 0.5604 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.949e-05/0.1456, allocations: 59.81 kB / 0.5604 GB, free: 1.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.1458, allocations: 143.2 kB / 0.5605 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004125/0.1462, allocations: 314.5 kB / 0.5608 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1462, allocations: 0 / 0.5608 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1462, allocations: 0 / 0.5608 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.1462, allocations: 0 / 0.5608 GB, free: 0.7969 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009921/0.1472, allocations: 0.5961 MB / 0.5614 GB, free: 156 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1472, allocations: 8.031 kB / 0.5614 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.782e-05/0.1473, allocations: 62.72 kB / 0.5615 GB, free: 76 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002403/0.1475, allocations: 48.73 kB / 0.5615 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.148, allocations: 283.8 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.148, allocations: 20.94 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/0.1481, allocations: 36.31 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.1486, allocations: 282 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.1486, allocations: 3.953 kB / 0.5621 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.1486, allocations: 16 kB / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.1486, allocations: 4 kB / 0.5622 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004374/0.1491, allocations: 187.7 kB / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.1508, allocations: 1.306 MB / 0.5636 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004335/0.1512, allocations: 230.4 kB / 0.5638 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.1515, allocations: 99.58 kB / 0.5639 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.1515, allocations: 7.922 kB / 0.5639 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.1515, allocations: 38.56 kB / 0.564 GB, free: 13.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.513e-06/0.1515, allocations: 0 / 0.564 GB, free: 13.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=32): time 0.002809/0.1543, allocations: 1.577 MB / 0.5655 GB, free: 11.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.913e-05/0.1544, allocations: 140.4 kB / 0.5656 GB, free: 11.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.1547, allocations: 229 kB / 0.5659 GB, free: 11.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.1547, allocations: 29.7 kB / 0.5659 GB, free: 11.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.1548, allocations: 180.5 kB / 0.5661 GB, free: 10.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.1549, allocations: 123 kB / 0.5662 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.155, allocations: 74.12 kB / 0.5663 GB, free: 10.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1552, allocations: 334.8 kB / 0.5666 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.1555, allocations: 104.7 kB / 0.5667 GB, free: 10.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.1558, allocations: 237.4 kB / 0.5669 GB, free: 9.984 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006843/0.1565, allocations: 370 kB / 0.5673 GB, free: 9.562 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1565, allocations: 0 / 0.5673 GB, free: 9.562 MB / 430.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008629/0.1574, allocations: 404.8 kB / 0.5676 GB, free: 9.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.1574, allocations: 8.094 kB / 0.5676 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.1574, allocations: 8.25 kB / 0.5677 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.1574, allocations: 8 kB / 0.5677 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.1578, allocations: 99.81 kB / 0.5678 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.1579, allocations: 8.375 kB / 0.5678 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.1581, allocations: 27.98 kB / 0.5678 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.1581, allocations: 23.98 kB / 0.5678 GB, free: 8.98 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001738/0.1583, allocations: 157.6 kB / 0.568 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.1584, allocations: 27.81 kB / 0.568 GB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.225e-05/0.1585, allocations: 37.7 kB / 0.568 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.1585, allocations: 4.234 kB / 0.568 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1585, allocations: 0 / 0.568 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1585, allocations: 4 kB / 0.568 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.1601, allocations: 0.9818 MB / 0.569 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1601, allocations: 0 / 0.569 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/0.1605, allocations: 75.89 kB / 0.5691 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.1605, allocations: 4 kB / 0.5691 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.1605, allocations: 11.94 kB / 0.5691 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.1605, allocations: 11.92 kB / 0.5691 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1605, allocations: 4 kB / 0.5691 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.1616, allocations: 0.733 MB / 0.5698 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.562e-05/0.1617, allocations: 104.9 kB / 0.5699 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.1617, allocations: 12 kB / 0.5699 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.162, allocations: 15.98 kB / 0.5699 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.1621, allocations: 23.97 kB / 0.57 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.1621, allocations: 15.98 kB / 0.57 GB, free: 6.645 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.1623, allocations: 160.5 kB / 0.5701 GB, free: 6.484 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1623, allocations: 192 / 0.5701 GB, free: 6.484 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004976/0.1628, allocations: 71.98 kB / 0.5702 GB, free: 6.414 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001314/0.1641, allocations: 1.27 MB / 0.5714 GB, free: 5.109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006978/0.1648, allocations: 269 kB / 0.5717 GB, free: 4.848 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1648, allocations: 0 / 0.5717 GB, free: 4.848 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.1651, allocations: 132.7 kB / 0.5718 GB, free: 4.719 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.1658, allocations: 44.73 kB / 0.5719 GB, free: 4.676 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/0.1705, allocations: 3.512 MB / 0.5753 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.1709, allocations: 0.772 MB / 0.5761 GB, free: 152 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.1711, allocations: 34.95 kB / 0.5761 GB, free: 116 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.1712, allocations: 95.34 kB / 0.5762 GB, free: 20 kB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1712, allocations: 3.938 kB / 0.5762 GB, free: 16 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.2015, allocations: 5.408 MB / 0.5815 GB, free: 10.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.896/9.097, allocations: 10.03 kB / 0.5815 GB, free: 10.7 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219824 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.638252057135105] Failed to read output from testmodel.py, exit status != 0: ['time', 'speed1.phi', 'speed1.w', 'speed2.phi', 'speed3.s', 'speed3.v', 'speed4.s'] 9.169546344317496 9.401749639 9.252111872 Calling exit ...