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.000951/0.000951, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008559/0.0008559, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8656/0.8656, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.02505/0.02505, allocations: 4.085 MB / 263.3 MB, free: 9.246 MB / 250.7 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: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 387.6 MB, free: 9.047 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.16e-05, allocations: 5.234 kB / 387.6 MB, free: 9.043 MB / 314.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.005949/0.00597, allocations: 7.066 MB / 394.6 MB, free: 1.938 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003979/0.009949, allocations: 3.309 MB / 398 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004006/0.01035, allocations: 39.81 kB / 398 MB, free: 14.58 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.01166, allocations: 1.124 MB / 399.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.01321, allocations: 1.443 MB / 400.6 MB, free: 12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.01378, allocations: 0.569 MB / 401.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001811/0.01559, allocations: 3.107 MB / 404.2 MB, free: 8.316 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.01692, allocations: 1.664 MB / 405.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009669/0.01789, allocations: 1.372 MB / 407.3 MB, free: 5.254 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.01895, allocations: 1.411 MB / 408.7 MB, free: 3.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.01912, allocations: 179.9 kB / 408.9 MB, free: 3.664 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008304/0.01995, allocations: 0.8462 MB / 409.7 MB, free: 2.816 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006075/0.02056, allocations: 1.153 MB / 410.9 MB, free: 1.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004962/0.02105, allocations: 0.7241 MB / 411.6 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1363/0.1574, allocations: 4.375 MB / 416 MB, free: 21.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1574, allocations: 0 / 416 MB, free: 21.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1574, allocations: 1.406 kB / 416 MB, free: 21.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.334e-05/0.1574, allocations: 1.641 kB / 416 MB, free: 21.04 MB / 330.7 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.005153/0.1626, allocations: 3.17 MB / 419.1 MB, free: 19.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.1626, allocations: 9.062 kB / 419.1 MB, free: 19.71 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005386/0.1632, allocations: 485.5 kB / 419.6 MB, free: 19.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00354/0.1667, allocations: 1.771 MB / 421.4 MB, free: 19.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/0.1685, allocations: 1.448 MB / 422.8 MB, free: 19.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.491e-05/0.1686, allocations: 131.5 kB / 423 MB, free: 19.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00028/0.1688, allocations: 180.5 kB / 423.1 MB, free: 19.1 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006291/0.1751, allocations: 6.728 MB / 429.9 MB, free: 16.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.278e-05/0.1752, allocations: 28.47 kB / 429.9 MB, free: 16.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/0.1754, allocations: 88.84 kB / 430 MB, free: 16.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00136/0.1767, allocations: 1.462 MB / 431.4 MB, free: 16.44 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005828/0.1826, allocations: 5.965 MB / 437.4 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01833/0.2009, allocations: 26.5 MB / 463.9 MB, free: 4.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0028/0.2037, allocations: 1.905 MB / 465.8 MB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008719/0.2046, allocations: 0.9906 MB / 466.8 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.2046, allocations: 12 kB / 466.8 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.2046, allocations: 45.94 kB / 466.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of pre-optimization done (n=101): time 3.667e-06/0.2046, allocations: 0 / 466.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=109): time 0.01181/0.2165, allocations: 8.152 MB / 475 MB, free: 8.988 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.2165, allocations: 145 kB / 475.2 MB, free: 8.812 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003032/0.2196, allocations: 3.247 MB / 478.4 MB, free: 5.559 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-05/0.2196, allocations: 41.7 kB / 478.4 MB, free: 5.512 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009641/0.2206, allocations: 2.234 MB / 480.7 MB, free: 3.297 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000329/0.2209, allocations: 458.2 kB / 481.1 MB, free: 2.855 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001061/0.222, allocations: 0.8885 MB / 482 MB, free: 1.957 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.2221, allocations: 303.3 kB / 482.3 MB, free: 1.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.2235, allocations: 1.457 MB / 483.8 MB, free: 200 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002787/0.2263, allocations: 4.305 MB / 488.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008042/0.2343, allocations: 8.083 MB / 496.2 MB, free: 1.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.422e-05/0.2343, allocations: 28 kB / 496.2 MB, free: 1.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.006228/0.2406, allocations: 5.578 MB / 0.49 GB, free: 11.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.156e-05/0.2406, allocations: 48 kB / 0.49 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.145e-05/0.2407, allocations: 100 kB / 0.4901 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-05/0.2408, allocations: 142.8 kB / 0.4903 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/0.243, allocations: 1.232 MB / 0.4915 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.754e-05/0.2431, allocations: 199.2 kB / 0.4917 GB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.245, allocations: 299.5 kB / 0.492 GB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/0.2452, allocations: 272 kB / 0.4922 GB, free: 9.344 MB / 394.7 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.001931/0.2472, allocations: 1.447 MB / 0.4936 GB, free: 7.887 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000294/0.2475, allocations: 254.2 kB / 0.4939 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.2489, allocations: 1.282 MB / 0.4951 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.2489, allocations: 14.3 kB / 0.4951 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.2489, allocations: 4 kB / 0.4951 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.2489, allocations: 3.984 kB / 0.4951 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005153/0.2541, allocations: 4.074 MB / 0.4991 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2541, allocations: 4 kB / 0.4991 GB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009939/0.2551, allocations: 374.8 kB / 0.4995 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.2551, allocations: 4 kB / 0.4995 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.925e-05/0.2552, allocations: 18.81 kB / 0.4995 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.2552, allocations: 7.938 kB / 0.4995 GB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.2552, allocations: 4 kB / 0.4995 GB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003124/0.2583, allocations: 3.178 MB / 0.5026 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004136/0.2587, allocations: 258.2 kB / 0.5029 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.2589, allocations: 23.94 kB / 0.5029 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005988/0.2595, allocations: 91.84 kB / 0.503 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.2596, allocations: 66.89 kB / 0.503 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/0.2597, allocations: 24 kB / 0.5031 GB, free: 14.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00236/0.262, allocations: 1.94 MB / 0.505 GB, free: 12.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.262, allocations: 0 / 0.505 GB, free: 12.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002181/0.2642, allocations: 0.6796 MB / 0.5056 GB, free: 11.55 MB / 410.7 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.003082/0.2673, allocations: 3.826 MB / 0.5094 GB, free: 7.691 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003477/0.2708, allocations: 3.188 MB / 0.5125 GB, free: 4.523 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2708, allocations: 0.6875 kB / 0.5125 GB, free: 4.523 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006649/0.2714, allocations: 0.7574 MB / 0.5132 GB, free: 3.773 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.2725, allocations: 278.5 kB / 0.5135 GB, free: 3.504 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02641/0.299, allocations: 30.2 MB / 0.543 GB, free: 1.422 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/0.3004, allocations: 1.723 MB / 0.5447 GB, free: 15.67 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001937/0.3024, allocations: 1.47 MB / 0.5461 GB, free: 14.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.3035, allocations: 1.149 MB / 0.5472 GB, free: 13.05 MB / 458.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3035, allocations: 2.516 kB / 0.5472 GB, free: 13.05 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1879/0.4914, allocations: 42.86 MB / 0.5891 GB, free: 142.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/8.67, allocations: 8.953 kB / 0.5891 GB, free: 142.8 MB / 474.7 MB " [Timeout remaining time 651] (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: 10.42211268376559] Failed to read output from testmodel.py, exit status != 0: 8.775232420302927 8.781853247 8.623018391 Calling exit ...