Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001361/0.001361, allocations: 121.4 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.001512/0.001512, 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.243/0.243, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.Directions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions",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.002418/0.002418, allocations: 83.86 kB / 0.4917 GB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1372, allocations: 66.04 MB / 0.5562 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.00449/0.1417, allocations: 2.863 MB / 0.5589 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.1435, allocations: 0.8023 MB / 0.5597 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.1437, allocations: 15.88 kB / 0.5597 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.144, allocations: 67.31 kB / 0.5598 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.1443, allocations: 122.9 kB / 0.5599 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.1447, allocations: 119.8 kB / 0.56 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000543/0.1452, allocations: 450.3 kB / 0.5605 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002809/0.1455, allocations: 142.1 kB / 0.5606 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002881/0.1458, allocations: 183.3 kB / 0.5608 GB, free: 0.793 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.1461, allocations: 195.2 kB / 0.561 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.538e-05/0.1461, allocations: 39.94 kB / 0.561 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1462, allocations: 40 kB / 0.561 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.762e-05/0.1463, allocations: 83.69 kB / 0.5611 GB, free: 452 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.1465, allocations: 203 kB / 0.5613 GB, free: 248 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000586/0.1471, allocations: 466.1 kB / 0.5618 GB, free: 15.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1471, allocations: 0 / 0.5618 GB, free: 15.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1471, allocations: 0 / 0.5618 GB, free: 15.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.1471, allocations: 0 / 0.5618 GB, free: 15.78 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001161/0.1483, allocations: 0.6857 MB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.1483, allocations: 8.031 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.789e-05/0.1484, allocations: 78.7 kB / 0.5625 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003566/0.1488, allocations: 72.62 kB / 0.5626 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/0.1492, allocations: 307.5 kB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.1493, allocations: 33.31 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.921e-05/0.1493, allocations: 40.38 kB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000685/0.15, allocations: 385.1 kB / 0.5633 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.15, allocations: 11.95 kB / 0.5633 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.1501, allocations: 16 kB / 0.5633 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.1501, allocations: 12 kB / 0.5634 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005188/0.1506, allocations: 247.8 kB / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.1523, allocations: 1.105 MB / 0.5647 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005882/0.1529, allocations: 327.5 kB / 0.565 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.1532, allocations: 154.5 kB / 0.5651 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.1533, allocations: 4 kB / 0.5651 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.1533, allocations: 42.5 kB / 0.5652 GB, free: 12.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=39): time 2.725e-06/0.1533, allocations: 0 / 0.5652 GB, free: 12.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.004387/0.1577, allocations: 2.466 MB / 0.5676 GB, free: 9.352 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.1578, allocations: 114.8 kB / 0.5677 GB, free: 9.215 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.158, allocations: 250.6 kB / 0.5679 GB, free: 8.965 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.1581, allocations: 37.7 kB / 0.568 GB, free: 8.922 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.1582, allocations: 184.9 kB / 0.5681 GB, free: 8.738 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.1584, allocations: 206.2 kB / 0.5683 GB, free: 8.535 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.1585, allocations: 86.25 kB / 0.5684 GB, free: 8.441 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1587, allocations: 354.7 kB / 0.5688 GB, free: 8.086 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.159, allocations: 125.1 kB / 0.5689 GB, free: 7.965 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.1593, allocations: 235.8 kB / 0.5691 GB, free: 7.699 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006767/0.16, allocations: 394 kB / 0.5695 GB, free: 7.277 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.16, allocations: 0 / 0.5695 GB, free: 7.277 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001118/0.1611, allocations: 0.5541 MB / 0.57 GB, free: 6.707 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.1611, allocations: 8 kB / 0.57 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.1612, allocations: 0 / 0.57 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004098/0.1616, allocations: 126.4 kB / 0.5701 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.162, allocations: 95.88 kB / 0.5702 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005024/0.167, allocations: 5.218 MB / 0.5753 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.1673, allocations: 16 kB / 0.5753 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.1673, allocations: 27.98 kB / 0.5754 GB, free: 0.793 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002692/0.1676, allocations: 161.7 kB / 0.5755 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.1677, allocations: 43.77 kB / 0.5756 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.1678, allocations: 42.17 kB / 0.5756 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1678, allocations: 16 kB / 0.5756 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.1679, allocations: 7.938 kB / 0.5756 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.1679, allocations: 3.984 kB / 0.5756 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/0.1701, allocations: 1.321 MB / 0.5769 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1701, allocations: 0 / 0.5769 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/0.1705, allocations: 95.88 kB / 0.577 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003017/0.1708, allocations: 102.5 kB / 0.5771 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.1708, allocations: 12 kB / 0.5771 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003918/0.1747, allocations: 4.431 MB / 0.5815 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1747, allocations: 0 / 0.5815 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.1762, allocations: 0.9195 MB / 0.5824 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.1763, allocations: 113 kB / 0.5825 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.1764, allocations: 12.06 kB / 0.5825 GB, free: 8.953 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.1766, allocations: 23.98 kB / 0.5825 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.1768, allocations: 51.81 kB / 0.5825 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.1768, allocations: 15.98 kB / 0.5826 GB, free: 8.863 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.177, allocations: 174 kB / 0.5827 GB, free: 8.695 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.177, allocations: 0 / 0.5827 GB, free: 8.695 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008414/0.1778, allocations: 124 kB / 0.5828 GB, free: 8.574 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,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.001808/0.1796, allocations: 1.478 MB / 0.5843 GB, free: 7.055 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.1811, allocations: 0.7588 MB / 0.585 GB, free: 6.254 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1811, allocations: 0 / 0.585 GB, free: 6.254 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008615/0.1819, allocations: 0.5664 MB / 0.5856 GB, free: 5.648 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006704/0.1826, allocations: 58.92 kB / 0.5856 GB, free: 5.594 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00617/0.1888, allocations: 4.18 MB / 0.5897 GB, free: 1.223 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.1893, allocations: 0.8241 MB / 0.5905 GB, free: 376 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.1895, allocations: 35.28 kB / 0.5906 GB, free: 340 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.1897, allocations: 127.4 kB / 0.5907 GB, free: 216 kB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1897, allocations: 4 kB / 0.5907 GB, free: 212 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3045/0.4942, allocations: 8.449 MB / 0.5989 GB, free: 34.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.4, allocations: 8.938 kB / 0.5989 GB, free: 34.36 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.557076513767242] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.phi', 'J2.w', 'J3.phi', 'J3.w', 'J5.phi', 'J5.w'] 11.48191182827577 11.494148687 11.344613774 Calling exit ...