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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001388, allocations: 109.6 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 245.1 MB, free: 14.99 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.02827/0.02827, allocations: 5.229 MB / 302.5 MB, free: 7.469 MB / 238.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.89 kB / 417.3 MB, free: 25.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1041, allocations: 50.57 MB / 467.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.01028/0.1144, allocations: 7.909 MB / 475.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008083/0.1226, allocations: 3.485 MB / 479.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.1239, allocations: 39.88 kB / 479.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00249/0.1264, allocations: 1.097 MB / 480.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003566/0.13, allocations: 1.374 MB / 481.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.1314, allocations: 0.5419 MB / 482.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00394/0.1353, allocations: 2.721 MB / 485 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.1375, allocations: 1.63 MB / 486.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.1389, allocations: 0.8834 MB / 487.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.1407, allocations: 1.242 MB / 488.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003841/0.1411, allocations: 176 kB / 489 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.143, allocations: 0.9165 MB / 489.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.1441, allocations: 1.091 MB / 491 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.1456, allocations: 1.351 MB / 492.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005537/0.1511, allocations: 4.404 MB / 496.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1512, allocations: 4 kB / 496.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.1512, allocations: 4 kB / 496.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.169e-05/0.1513, allocations: 3.938 kB / 496.7 MB, free: 10.08 MB / 366.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.00602/0.1573, allocations: 3.237 MB / 500 MB, free: 6.781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.1574, allocations: 12.02 kB / 500 MB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006075/0.158, allocations: 483.5 kB / 0.4887 GB, free: 6.289 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00632/0.1643, allocations: 1.691 MB / 0.4904 GB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003638/0.168, allocations: 1.778 MB / 0.4921 GB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.1681, allocations: 135.7 kB / 0.4922 GB, free: 2.641 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004617/0.1686, allocations: 183.8 kB / 0.4924 GB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/0.18, allocations: 6.718 MB / 0.499 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.577e-05/0.1801, allocations: 27.75 kB / 0.499 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002867/0.1804, allocations: 95.89 kB / 0.4991 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002694/0.1831, allocations: 1.452 MB / 0.5005 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01165/0.1948, allocations: 5.97 MB / 0.5063 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2516/0.4465, allocations: 27.44 MB / 0.5331 GB, free: 27.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004437/0.451, allocations: 2.386 MB / 0.5355 GB, free: 26.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.4523, allocations: 1.071 MB / 0.5365 GB, free: 25.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.636e-05/0.4524, allocations: 10.73 kB / 0.5365 GB, free: 25.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.4524, allocations: 47.25 kB / 0.5366 GB, free: 25.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.106e-06/0.4524, allocations: 0 / 0.5366 GB, free: 25.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.01606/0.4685, allocations: 7.996 MB / 0.5444 GB, free: 21.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.4685, allocations: 144.3 kB / 0.5445 GB, free: 21.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/0.4716, allocations: 2.925 MB / 0.5474 GB, free: 20.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.502e-05/0.4717, allocations: 37.05 kB / 0.5474 GB, free: 20.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009361/0.4726, allocations: 2.276 MB / 0.5496 GB, free: 18.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/0.4729, allocations: 467.2 kB / 0.5501 GB, free: 17.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008631/0.4738, allocations: 0.8965 MB / 0.5509 GB, free: 17.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.066e-05/0.4738, allocations: 305.1 kB / 0.5512 GB, free: 17.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/0.4755, allocations: 1.456 MB / 0.5527 GB, free: 15.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002589/0.4781, allocations: 4.295 MB / 0.5569 GB, free: 9.945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/0.4894, allocations: 8.067 MB / 0.5647 GB, free: 472 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-05/0.4894, allocations: 32 kB / 0.5648 GB, free: 440 kB / 382.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.009039/0.4985, allocations: 5.545 MB / 0.5702 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.689e-05/0.4986, allocations: 48 kB / 0.5702 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001098/0.4987, allocations: 100.8 kB / 0.5703 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.4988, allocations: 132 kB / 0.5704 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004025/0.5029, allocations: 1.232 MB / 0.5716 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001784/0.503, allocations: 199.2 kB / 0.5718 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002701/0.5058, allocations: 243.6 kB / 0.5721 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003641/0.5061, allocations: 280 kB / 0.5723 GB, free: 8.664 MB / 398.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.002175/0.5083, allocations: 1.458 MB / 0.5738 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004255/0.5087, allocations: 260.9 kB / 0.574 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.511, allocations: 1.273 MB / 0.5752 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/0.511, allocations: 12 kB / 0.5753 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.511, allocations: 0 / 0.5753 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.511, allocations: 4.781 kB / 0.5753 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007234/0.5183, allocations: 4.24 MB / 0.5794 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5183, allocations: 0 / 0.5794 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001966/0.5203, allocations: 371.4 kB / 0.5798 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/0.5203, allocations: 7.984 kB / 0.5798 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.031e-05/0.5204, allocations: 22.12 kB / 0.5798 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.298e-06/0.5204, allocations: 7.984 kB / 0.5798 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5204, allocations: 0 / 0.5798 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004444/0.5249, allocations: 3.184 MB / 0.5829 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005519/0.5254, allocations: 319.2 kB / 0.5832 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/0.5257, allocations: 16 kB / 0.5832 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008851/0.5266, allocations: 59.92 kB / 0.5833 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.5268, allocations: 56.03 kB / 0.5833 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.03e-05/0.5269, allocations: 32 kB / 0.5834 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002785/0.5297, allocations: 1.819 MB / 0.5851 GB, free: 11.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5297, allocations: 0 / 0.5851 GB, free: 11.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00322/0.5329, allocations: 0.6328 MB / 0.5858 GB, free: 10.81 MB / 414.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.004841/0.5377, allocations: 3.8 MB / 0.5895 GB, free: 6.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005725/0.5435, allocations: 3.309 MB / 0.5927 GB, free: 3.695 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.5435, allocations: 0 / 0.5927 GB, free: 3.695 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.5447, allocations: 0.8159 MB / 0.5935 GB, free: 2.883 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.5465, allocations: 284.9 kB / 0.5938 GB, free: 2.613 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04158/0.5881, allocations: 29.9 MB / 0.623 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002395/0.5906, allocations: 2.287 MB / 0.6252 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003175/0.5937, allocations: 1.455 MB / 0.6266 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001629/0.5954, allocations: 1.148 MB / 0.6277 GB, free: 11.92 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5954, allocations: 0 / 0.6277 GB, free: 11.92 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08736/0.6828, allocations: 41.38 MB / 0.6682 GB, free: 2.809 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.06/17.74, allocations: 18.09 kB / 0.6682 GB, free: 2.797 MB / 494.1 MB " [Timeout remaining time 642] (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: 20.435429689008743] Failed to read output from testmodel.py, exit status != 0: 17.84387580503244 17.872510453 17.716444713 Calling exit ...