Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 215.5 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.402/1.402, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02825/0.02825, allocations: 5.298 MB / 317.7 MB, free: 13.69 MB / 254.1 MB " [Timeout remaining time 180] Using package DeltaRobot with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(DeltaRobot.Tests.IdealActuatorVel_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_IdealActuatorVel_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DeltaRobot.Tests.IdealActuatorVel_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_IdealActuatorVel_test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: DeltaRobot requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 63.89 kB / 441.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1109, allocations: 54.56 MB / 496.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.01013/0.1211, allocations: 7.075 MB / 0.4917 GB, free: 10.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007733/0.1288, allocations: 3.298 MB / 0.4949 GB, free: 6.934 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.1301, allocations: 47.81 kB / 0.495 GB, free: 6.887 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003148/0.1333, allocations: 1.074 MB / 0.496 GB, free: 5.809 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004376/0.1376, allocations: 1.389 MB / 0.4974 GB, free: 4.414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.139, allocations: 0.5302 MB / 0.4979 GB, free: 3.883 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003674/0.1426, allocations: 2.761 MB / 0.5006 GB, free: 1.117 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.1444, allocations: 1.399 MB / 0.502 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.1456, allocations: 0.8991 MB / 0.5029 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.1473, allocations: 1.296 MB / 0.5041 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003322/0.1477, allocations: 176 kB / 0.5043 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.1491, allocations: 0.7995 MB / 0.5051 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00104/0.1502, allocations: 1.11 MB / 0.5062 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.1512, allocations: 0.9624 MB / 0.5071 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004921/0.1562, allocations: 4.38 MB / 0.5114 GB, free: 6.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1562, allocations: 0 / 0.5114 GB, free: 6.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1562, allocations: 0 / 0.5114 GB, free: 6.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.092e-05/0.1562, allocations: 0 / 0.5114 GB, free: 6.031 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.005676/0.1619, allocations: 3.142 MB / 0.5144 GB, free: 2.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.162, allocations: 11.97 kB / 0.5145 GB, free: 2.832 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005622/0.1625, allocations: 483.5 kB / 0.5149 GB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005907/0.1684, allocations: 1.691 MB / 0.5166 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2308/0.3992, allocations: 1.608 MB / 0.5181 GB, free: 30.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.3994, allocations: 139.4 kB / 0.5183 GB, free: 30.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007369/0.4001, allocations: 177.6 kB / 0.5184 GB, free: 30.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01105/0.4111, allocations: 6.712 MB / 0.525 GB, free: 28.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.725e-05/0.4112, allocations: 31.89 kB / 0.525 GB, free: 28.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/0.4115, allocations: 90.55 kB / 0.5251 GB, free: 28.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002443/0.4139, allocations: 1.458 MB / 0.5265 GB, free: 28.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01143/0.4254, allocations: 5.953 MB / 0.5323 GB, free: 26.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02659/0.452, allocations: 26.38 MB / 0.5581 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003709/0.4557, allocations: 1.853 MB / 0.5599 GB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.4567, allocations: 0.9794 MB / 0.5609 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.633e-05/0.4567, allocations: 14.11 kB / 0.5609 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.4568, allocations: 50.7 kB / 0.5609 GB, free: 1.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.567e-06/0.4568, allocations: 0 / 0.5609 GB, free: 1.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.01719/0.474, allocations: 7.878 MB / 0.5686 GB, free: 10.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.4741, allocations: 148.9 kB / 0.5688 GB, free: 9.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004182/0.4782, allocations: 3.089 MB / 0.5718 GB, free: 6.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000189/0.4784, allocations: 37.7 kB / 0.5718 GB, free: 6.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001748/0.4802, allocations: 2.268 MB / 0.574 GB, free: 4.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005322/0.4807, allocations: 472.5 kB / 0.5745 GB, free: 3.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001193/0.4819, allocations: 0.8933 MB / 0.5754 GB, free: 3.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4821, allocations: 304.1 kB / 0.5757 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002332/0.4844, allocations: 1.449 MB / 0.5771 GB, free: 1.312 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004719/0.4891, allocations: 4.295 MB / 0.5813 GB, free: 11.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01563/0.5047, allocations: 8.061 MB / 0.5891 GB, free: 2.098 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001061/0.5048, allocations: 32 kB / 0.5892 GB, free: 2.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.01026/0.5151, allocations: 5.549 MB / 0.5946 GB, free: 12.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.171e-05/0.5152, allocations: 63.48 kB / 0.5946 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000128/0.5153, allocations: 100.9 kB / 0.5947 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001446/0.5155, allocations: 132 kB / 0.5949 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004242/0.5197, allocations: 1.224 MB / 0.5961 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001745/0.5199, allocations: 195.2 kB / 0.5962 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/0.5227, allocations: 251.6 kB / 0.5965 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004114/0.5231, allocations: 287.9 kB / 0.5968 GB, free: 10.29 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: idealActuatorVel.revolute.phi:VARIABLE(start = idealActuatorVel.actuatorParameters.initialAngle unit = \"rad\" fixed = true stateSelect=StateSelect.prefer ) \"Relative rotation angle from frame_a to frame_b\" type: Real idealActuatorVel.revolute.w:VARIABLE(start = 0.0 unit = \"rad/s\" fixed = true stateSelect=StateSelect.prefer ) \"First derivative of angle phi (relative angular velocity)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],idealActuatorVel.revolute.cylinderColor[3],idealActuatorVel.revolute.cylinderColor[2],idealActuatorVel.revolute.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (552): * Single equations (assignments): 549 * Array equations: 3 * 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.002241/0.5253, allocations: 1.449 MB / 0.5982 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004971/0.5258, allocations: 257.8 kB / 0.5984 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.528, allocations: 1.269 MB / 0.5997 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/0.528, allocations: 12 kB / 0.5997 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.528, allocations: 4 kB / 0.5997 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.528, allocations: 3.984 kB / 0.5997 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007417/0.5355, allocations: 4.018 MB / 0.6036 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.5355, allocations: 7.938 kB / 0.6036 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001942/0.5374, allocations: 363.4 kB / 0.604 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.5374, allocations: 4 kB / 0.604 GB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.628e-05/0.5375, allocations: 20 kB / 0.604 GB, free: 2.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.5375, allocations: 8.031 kB / 0.604 GB, free: 2.824 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.5375, allocations: 7.984 kB / 0.604 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004477/0.542, allocations: 3.174 MB / 0.6071 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007396/0.5427, allocations: 238.1 kB / 0.6073 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/0.543, allocations: 12 kB / 0.6073 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009562/0.5439, allocations: 59.92 kB / 0.6074 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.5441, allocations: 56.33 kB / 0.6074 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-05/0.5442, allocations: 35.98 kB / 0.6075 GB, free: 15.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002851/0.547, allocations: 1.811 MB / 0.6093 GB, free: 13.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.547, allocations: 0 / 0.6093 GB, free: 13.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003391/0.5504, allocations: 0.6288 MB / 0.6099 GB, free: 12.78 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (idealActuatorVel.revolute.phi,idealActuatorVel.revolute.w,idealActuatorVel.firstOrder.y) * 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 (87): * Single equations (assignments): 84 * Array equations: 3 * 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.004967/0.5554, allocations: 3.807 MB / 0.6136 GB, free: 8.941 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005669/0.5611, allocations: 3.18 MB / 0.6167 GB, free: 5.785 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.5611, allocations: 0 / 0.6167 GB, free: 5.785 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.5622, allocations: 0.7489 MB / 0.6174 GB, free: 5.035 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.5641, allocations: 287.3 kB / 0.6177 GB, free: 4.762 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04313/0.6072, allocations: 29.88 MB / 0.6469 GB, free: 2.992 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002224/0.6094, allocations: 1.719 MB / 0.6485 GB, free: 1.242 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003259/0.6127, allocations: 1.463 MB / 0.65 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001666/0.6144, allocations: 1.147 MB / 0.6511 GB, free: 14.62 MB / 494.1 MB Notification: Performance of SimCode: time 8.51e-07/0.6144, allocations: 0 / 0.6511 GB, free: 14.62 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09135/0.7057, allocations: 41.34 MB / 0.6915 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.57, allocations: 6.312 kB / 0.6915 GB, free: 5.797 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.sim & python3 -m fmpy simulate --output-file DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 DeltaRobot_DeltaRobot_Tests_IdealActuatorVel_test.fmu > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.183448385912925] Failed to read output from testmodel.py, exit status != 0: 14.708721157629043 14.726691218 14.567089366 Calling exit ...