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.001348/0.001348, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001563/0.001563, allocations: 216.6 kB / 22.25 MB, free: 5.125 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 7.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.02818/0.02818, allocations: 5.273 MB / 317.7 MB, free: 13.86 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.001949/0.001949, allocations: 63.89 kB / 442 MB, free: 8.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09085/0.0928, allocations: 54.55 MB / 496.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.009798/0.1026, allocations: 7.965 MB / 0.4927 GB, free: 9.723 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006997/0.1096, allocations: 3.551 MB / 0.4961 GB, free: 6.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009664/0.1106, allocations: 43.81 kB / 0.4962 GB, free: 6.117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002551/0.1131, allocations: 1.125 MB / 0.4973 GB, free: 4.988 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003469/0.1166, allocations: 1.38 MB / 0.4986 GB, free: 3.605 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.1179, allocations: 0.5302 MB / 0.4991 GB, free: 3.074 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003923/0.1218, allocations: 2.772 MB / 0.5019 GB, free: 304 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/0.1237, allocations: 1.407 MB / 0.5032 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.125, allocations: 0.8952 MB / 0.5041 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.1269, allocations: 1.355 MB / 0.5054 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003926/0.1273, allocations: 172 kB / 0.5056 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.129, allocations: 0.9359 MB / 0.5065 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.1301, allocations: 1.102 MB / 0.5076 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001408/0.1315, allocations: 1.332 MB / 0.5089 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005101/0.1366, allocations: 4.373 MB / 0.5132 GB, free: 4.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1366, allocations: 0 / 0.5132 GB, free: 4.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1366, allocations: 0 / 0.5132 GB, free: 4.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.901e-05/0.1367, allocations: 3.938 kB / 0.5132 GB, free: 4.656 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.005701/0.1424, allocations: 3.146 MB / 0.5162 GB, free: 1.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1424, allocations: 12.03 kB / 0.5162 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005683/0.143, allocations: 479.5 kB / 0.5167 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1991/0.3421, allocations: 1.686 MB / 0.5183 GB, free: 30.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003697/0.3458, allocations: 1.61 MB / 0.5199 GB, free: 30.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.3459, allocations: 135.2 kB / 0.52 GB, free: 30.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004036/0.3463, allocations: 177.4 kB / 0.5202 GB, free: 30.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008913/0.3552, allocations: 6.715 MB / 0.5268 GB, free: 28.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-05/0.3553, allocations: 33.78 kB / 0.5268 GB, free: 28.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/0.3555, allocations: 94.34 kB / 0.5269 GB, free: 28.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002343/0.3579, allocations: 1.452 MB / 0.5283 GB, free: 28.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.3681, allocations: 5.964 MB / 0.5341 GB, free: 26.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02313/0.3912, allocations: 27.33 MB / 0.5608 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003762/0.395, allocations: 1.861 MB / 0.5626 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.396, allocations: 0.9767 MB / 0.5636 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.575e-05/0.3961, allocations: 15.98 kB / 0.5636 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/0.3961, allocations: 46.5 kB / 0.5637 GB, free: 15.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 3.848e-06/0.3961, allocations: 0 / 0.5637 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=109): time 0.01832/0.4144, allocations: 7.85 MB / 0.5713 GB, free: 8.105 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.316e-05/0.4145, allocations: 137 kB / 0.5714 GB, free: 7.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00406/0.4186, allocations: 2.915 MB / 0.5743 GB, free: 5.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.4188, allocations: 49.69 kB / 0.5743 GB, free: 4.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001738/0.4205, allocations: 2.275 MB / 0.5766 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005041/0.421, allocations: 468.5 kB / 0.577 GB, free: 2.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/0.4221, allocations: 0.8933 MB / 0.5779 GB, free: 1.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4223, allocations: 301.1 kB / 0.5782 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002393/0.4246, allocations: 1.449 MB / 0.5796 GB, free: 15.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004751/0.4294, allocations: 4.295 MB / 0.5838 GB, free: 9.809 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01479/0.4442, allocations: 8.061 MB / 0.5917 GB, free: 336 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.18e-05/0.4443, allocations: 31.94 kB / 0.5917 GB, free: 304 kB / 414.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.009333/0.4536, allocations: 5.55 MB / 0.5971 GB, free: 10.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.647e-05/0.4537, allocations: 50.66 kB / 0.5972 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001101/0.4538, allocations: 108 kB / 0.5973 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001327/0.4539, allocations: 132 kB / 0.5974 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004003/0.4579, allocations: 1.224 MB / 0.5986 GB, free: 9.234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001615/0.4581, allocations: 203.5 kB / 0.5988 GB, free: 9.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/0.4606, allocations: 251.6 kB / 0.599 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003792/0.461, allocations: 276 kB / 0.5993 GB, free: 8.523 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.002153/0.4632, allocations: 1.452 MB / 0.6007 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004508/0.4636, allocations: 250.3 kB / 0.6009 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.4658, allocations: 1.277 MB / 0.6022 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.437e-05/0.4658, allocations: 12 kB / 0.6022 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4658, allocations: 0 / 0.6022 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.4659, allocations: 10 kB / 0.6022 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006989/0.4728, allocations: 4.214 MB / 0.6063 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.4729, allocations: 4 kB / 0.6063 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/0.4747, allocations: 371.4 kB / 0.6067 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.968e-06/0.4747, allocations: 7.312 kB / 0.6067 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.515e-05/0.4748, allocations: 12 kB / 0.6067 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.4748, allocations: 8.031 kB / 0.6067 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.4748, allocations: 6.734 kB / 0.6067 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004356/0.4792, allocations: 3.186 MB / 0.6098 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005517/0.4797, allocations: 234.1 kB / 0.61 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/0.48, allocations: 20 kB / 0.6101 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000854/0.4808, allocations: 55.91 kB / 0.6101 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.481, allocations: 62.3 kB / 0.6102 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.908e-05/0.4811, allocations: 24 kB / 0.6102 GB, free: 13.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002728/0.4838, allocations: 1.823 MB / 0.612 GB, free: 11.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4838, allocations: 4 kB / 0.612 GB, free: 11.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002982/0.4868, allocations: 0.6171 MB / 0.6126 GB, free: 10.81 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.00495/0.4917, allocations: 3.803 MB / 0.6163 GB, free: 6.969 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005864/0.4976, allocations: 3.184 MB / 0.6194 GB, free: 3.812 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4976, allocations: 0 / 0.6194 GB, free: 3.812 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.4988, allocations: 0.7524 MB / 0.6201 GB, free: 3.059 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.5006, allocations: 279.3 kB / 0.6204 GB, free: 2.793 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04674/0.5474, allocations: 29.88 MB / 0.6496 GB, free: 1.027 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002937/0.5503, allocations: 2.295 MB / 0.6518 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00361/0.5539, allocations: 1.457 MB / 0.6532 GB, free: 13.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002139/0.5561, allocations: 1.144 MB / 0.6544 GB, free: 12.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.083e-06/0.5561, allocations: 0 / 0.6544 GB, free: 12.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09501/0.6511, allocations: 45.23 MB / 0.6985 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.87/19.52, allocations: 6.984 kB / 0.6985 GB, free: 15.13 MB / 0.5294 GB " [Timeout remaining time 640] (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: 22.127521610000258] Failed to read output from testmodel.py, exit status != 0: 19.651574843999697 19.680022068 19.538580541 Calling exit ...