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.001323/0.001323, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001319/0.001319, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.426/1.426, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.02871/0.02871, allocations: 5.287 MB / 314.1 MB, free: 15.05 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.001978/0.001978, allocations: 65.16 kB / 436.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1179, allocations: 54.51 MB / 491.3 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.01042/0.1284, allocations: 7.935 MB / 499.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006964/0.1353, allocations: 3.524 MB / 0.491 GB, free: 9.793 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.1363, allocations: 47.75 kB / 0.491 GB, free: 9.746 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.1388, allocations: 1.113 MB / 0.4921 GB, free: 8.629 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003555/0.1424, allocations: 1.378 MB / 0.4935 GB, free: 7.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.1437, allocations: 0.5302 MB / 0.494 GB, free: 6.715 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00393/0.1477, allocations: 2.756 MB / 0.4967 GB, free: 3.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.1498, allocations: 1.392 MB / 0.498 GB, free: 2.531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.1515, allocations: 0.8991 MB / 0.4989 GB, free: 1.629 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002089/0.1536, allocations: 1.343 MB / 0.5002 GB, free: 288 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003304/0.1539, allocations: 172 kB / 0.5004 GB, free: 116 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.1555, allocations: 0.9399 MB / 0.5013 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.1566, allocations: 1.114 MB / 0.5024 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.158, allocations: 1.328 MB / 0.5037 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005484/0.1635, allocations: 4.369 MB / 0.508 GB, free: 8.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1635, allocations: 0 / 0.508 GB, free: 8.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1635, allocations: 0 / 0.508 GB, free: 8.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.455e-05/0.1635, allocations: 0 / 0.508 GB, free: 8.332 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.006198/0.1697, allocations: 3.229 MB / 0.5111 GB, free: 5.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1698, allocations: 8.031 kB / 0.5111 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006054/0.1704, allocations: 483.5 kB / 0.5116 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006332/0.1767, allocations: 1.691 MB / 0.5132 GB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003426/0.1801, allocations: 1.665 MB / 0.5149 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.1803, allocations: 135.7 kB / 0.515 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004187/0.1807, allocations: 179.8 kB / 0.5152 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2083/0.389, allocations: 6.713 MB / 0.5217 GB, free: 30.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.257e-05/0.3891, allocations: 32.95 kB / 0.5217 GB, free: 30.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002837/0.3893, allocations: 89.62 kB / 0.5218 GB, free: 30.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002568/0.3919, allocations: 1.459 MB / 0.5232 GB, free: 29.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/0.4028, allocations: 5.971 MB / 0.5291 GB, free: 28.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02541/0.4282, allocations: 27.44 MB / 0.5559 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003843/0.432, allocations: 2.315 MB / 0.5581 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.4331, allocations: 0.9757 MB / 0.5591 GB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.575e-05/0.4331, allocations: 19.84 kB / 0.5591 GB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.4331, allocations: 50.44 kB / 0.5592 GB, free: 3.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.006e-06/0.4331, allocations: 0 / 0.5592 GB, free: 3.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.01724/0.4504, allocations: 7.988 MB / 0.567 GB, free: 11.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.952e-05/0.4505, allocations: 137 kB / 0.5671 GB, free: 11.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004115/0.4546, allocations: 2.918 MB / 0.5699 GB, free: 8.141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.4547, allocations: 45.64 kB / 0.57 GB, free: 8.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001664/0.4564, allocations: 2.273 MB / 0.5722 GB, free: 5.883 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004566/0.4568, allocations: 468.1 kB / 0.5727 GB, free: 5.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001155/0.458, allocations: 0.8953 MB / 0.5735 GB, free: 4.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4581, allocations: 309 kB / 0.5738 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/0.4604, allocations: 1.449 MB / 0.5752 GB, free: 2.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00468/0.4651, allocations: 4.295 MB / 0.5794 GB, free: 13.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01524/0.4803, allocations: 8.059 MB / 0.5873 GB, free: 3.547 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.113e-05/0.4804, allocations: 28 kB / 0.5873 GB, free: 3.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.01006/0.4905, allocations: 5.553 MB / 0.5928 GB, free: 13.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.558e-05/0.4905, allocations: 54.8 kB / 0.5928 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001072/0.4906, allocations: 104 kB / 0.5929 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/0.4908, allocations: 133.1 kB / 0.593 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004118/0.4949, allocations: 1.22 MB / 0.5942 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001779/0.4951, allocations: 195.2 kB / 0.5944 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/0.4979, allocations: 255.7 kB / 0.5947 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004337/0.4984, allocations: 281.9 kB / 0.5949 GB, free: 11.75 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.002233/0.5006, allocations: 1.446 MB / 0.5963 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004966/0.5011, allocations: 258.3 kB / 0.5966 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.5034, allocations: 1.273 MB / 0.5978 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/0.5034, allocations: 14.03 kB / 0.5978 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.5034, allocations: 4 kB / 0.5978 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.5034, allocations: 3.984 kB / 0.5978 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007149/0.5106, allocations: 4.243 MB / 0.602 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.5106, allocations: 0 / 0.602 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/0.5125, allocations: 367.4 kB / 0.6023 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/0.5125, allocations: 4 kB / 0.6023 GB, free: 4.098 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.149e-05/0.5126, allocations: 27.11 kB / 0.6024 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.5126, allocations: 4 kB / 0.6024 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5126, allocations: 0 / 0.6024 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00466/0.5173, allocations: 3.185 MB / 0.6055 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007416/0.518, allocations: 311.2 kB / 0.6058 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/0.5183, allocations: 16.97 kB / 0.6058 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009297/0.5192, allocations: 67.91 kB / 0.6059 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.5194, allocations: 48.31 kB / 0.6059 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.389e-05/0.5195, allocations: 39.53 kB / 0.6059 GB, free: 388 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002918/0.5224, allocations: 1.813 MB / 0.6077 GB, free: 14.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5224, allocations: 4 kB / 0.6077 GB, free: 14.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003488/0.5259, allocations: 0.6171 MB / 0.6083 GB, free: 13.94 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.005087/0.5309, allocations: 3.8 MB / 0.612 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005829/0.5368, allocations: 3.184 MB / 0.6151 GB, free: 6.945 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.5368, allocations: 4.125 kB / 0.6151 GB, free: 6.941 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.538, allocations: 0.7478 MB / 0.6159 GB, free: 6.195 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.5398, allocations: 282 kB / 0.6161 GB, free: 5.926 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04502/0.5849, allocations: 29.87 MB / 0.6453 GB, free: 4.172 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003126/0.588, allocations: 2.295 MB / 0.6475 GB, free: 1.848 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003374/0.5914, allocations: 1.466 MB / 0.649 GB, free: 384 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001946/0.5933, allocations: 1.14 MB / 0.6501 GB, free: 15.23 MB / 494.1 MB Notification: Performance of SimCode: time 2.205e-06/0.5933, allocations: 0 / 0.6501 GB, free: 15.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09125/0.6846, allocations: 41.6 MB / 0.6907 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.59/17.28, allocations: 7.031 kB / 0.6907 GB, free: 5.855 MB / 0.5137 GB " [Timeout remaining time 643] (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: 19.917651174007915] Failed to read output from testmodel.py, exit status != 0: 17.376019717004965 17.399964501 17.231863415 Calling exit ...