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.0007207/0.0007207, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007435/0.0007435, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8429/0.8429, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.0157/0.0157, allocations: 4.088 MB / 263.3 MB, free: 9.238 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 1.503e-06/1.503e-06, allocations: 0 / 387.6 MB, free: 9.055 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.087e-06/1.059e-05, allocations: 6.219 kB / 387.6 MB, free: 9.047 MB / 314.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.005725/0.005735, allocations: 7.069 MB / 394.6 MB, free: 1.941 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004505/0.01024, allocations: 3.309 MB / 398 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005347/0.01077, allocations: 39.81 kB / 398 MB, free: 14.58 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.01216, allocations: 1.12 MB / 399.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.01396, allocations: 1.442 MB / 400.6 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007443/0.0147, allocations: 0.5651 MB / 401.1 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002318/0.01702, allocations: 3.112 MB / 404.2 MB, free: 8.324 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.01833, allocations: 1.66 MB / 405.9 MB, free: 6.641 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.01948, allocations: 1.372 MB / 407.3 MB, free: 5.266 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.02053, allocations: 1.407 MB / 408.7 MB, free: 3.855 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.02068, allocations: 179.9 kB / 408.9 MB, free: 3.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007914/0.02148, allocations: 0.8579 MB / 409.7 MB, free: 2.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007742/0.02225, allocations: 1.145 MB / 410.9 MB, free: 1.672 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004542/0.0227, allocations: 0.7319 MB / 411.6 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1265/0.1492, allocations: 4.365 MB / 416 MB, free: 20.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1492, allocations: 0 / 416 MB, free: 20.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1492, allocations: 0 / 416 MB, free: 20.72 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001047/0.1493, allocations: 3.094 kB / 416 MB, free: 20.72 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.004779/0.1541, allocations: 3.173 MB / 419.1 MB, free: 19.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1542, allocations: 11.05 kB / 419.1 MB, free: 19.39 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004056/0.1546, allocations: 482 kB / 419.6 MB, free: 19.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003326/0.1579, allocations: 1.771 MB / 421.4 MB, free: 19.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.1595, allocations: 1.45 MB / 422.8 MB, free: 18.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.387e-05/0.1596, allocations: 137.4 kB / 423 MB, free: 18.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/0.1598, allocations: 174.6 kB / 423.1 MB, free: 18.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005712/0.1656, allocations: 6.729 MB / 429.9 MB, free: 16.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.781e-05/0.1656, allocations: 28.38 kB / 429.9 MB, free: 16.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001991/0.1658, allocations: 86.75 kB / 430 MB, free: 16.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001306/0.1671, allocations: 1.458 MB / 431.4 MB, free: 16.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005485/0.1726, allocations: 5.977 MB / 437.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/0.1877, allocations: 26.51 MB / 463.9 MB, free: 4.207 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002818/0.1905, allocations: 1.896 MB / 465.8 MB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008653/0.1914, allocations: 0.9874 MB / 466.8 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.1914, allocations: 12 kB / 466.8 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.1914, allocations: 38.56 kB / 466.8 MB, free: 1.234 MB / 346.7 MB Notification: Performance of pre-optimization done (n=101): time 2.725e-06/0.1914, allocations: 0 / 466.8 MB, free: 1.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=109): time 0.01083/0.2022, allocations: 8.163 MB / 475 MB, free: 9.039 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.2023, allocations: 141 kB / 475.1 MB, free: 8.867 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00269/0.205, allocations: 3.24 MB / 478.4 MB, free: 5.617 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.233e-05/0.2051, allocations: 47.36 kB / 478.4 MB, free: 5.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001207/0.2063, allocations: 2.24 MB / 480.7 MB, free: 3.352 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.2065, allocations: 459.3 kB / 481.1 MB, free: 2.906 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007654/0.2073, allocations: 0.8814 MB / 482 MB, free: 2.016 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.447e-05/0.2074, allocations: 301.1 kB / 482.3 MB, free: 1.719 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.2088, allocations: 1.467 MB / 483.8 MB, free: 252 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002778/0.2116, allocations: 4.302 MB / 488.1 MB, free: 10.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007848/0.2194, allocations: 8.083 MB / 496.2 MB, free: 1.277 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.547e-05/0.2194, allocations: 28 kB / 496.2 MB, free: 1.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.005417/0.2249, allocations: 5.578 MB / 0.49 GB, free: 11.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.2249, allocations: 48 kB / 0.49 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.778e-05/0.225, allocations: 104 kB / 0.4901 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.311e-05/0.225, allocations: 132 kB / 0.4903 GB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/0.2271, allocations: 1.232 MB / 0.4915 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.813e-05/0.2272, allocations: 203.6 kB / 0.4917 GB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.2288, allocations: 299.5 kB / 0.492 GB, free: 9.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/0.229, allocations: 276 kB / 0.4922 GB, free: 9.402 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.001543/0.2306, allocations: 1.449 MB / 0.4936 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.2308, allocations: 266.2 kB / 0.4939 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.2323, allocations: 1.274 MB / 0.4951 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.2323, allocations: 12 kB / 0.4951 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.2323, allocations: 4 kB / 0.4951 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.2324, allocations: 3.984 kB / 0.4951 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004282/0.2366, allocations: 4.08 MB / 0.4991 GB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2366, allocations: 4.031 kB / 0.4991 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009247/0.2376, allocations: 371.4 kB / 0.4995 GB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.2376, allocations: 4 kB / 0.4995 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.644e-05/0.2376, allocations: 22.7 kB / 0.4995 GB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.2376, allocations: 7.938 kB / 0.4995 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2376, allocations: 0 / 0.4995 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/0.2405, allocations: 3.178 MB / 0.5026 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002774/0.2408, allocations: 262.2 kB / 0.5029 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.2409, allocations: 16 kB / 0.5029 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005755/0.2415, allocations: 103.8 kB / 0.503 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.2416, allocations: 54.81 kB / 0.503 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.567e-05/0.2417, allocations: 28 kB / 0.5031 GB, free: 14.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001728/0.2434, allocations: 1.94 MB / 0.505 GB, free: 12.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2434, allocations: 0 / 0.505 GB, free: 12.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001955/0.2453, allocations: 0.6796 MB / 0.5056 GB, free: 11.61 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.003264/0.2486, allocations: 3.825 MB / 0.5094 GB, free: 7.758 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002998/0.2516, allocations: 3.194 MB / 0.5125 GB, free: 4.586 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2516, allocations: 0 / 0.5125 GB, free: 4.586 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000668/0.2523, allocations: 0.7483 MB / 0.5132 GB, free: 3.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.2533, allocations: 287 kB / 0.5135 GB, free: 3.566 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02554/0.2788, allocations: 30.2 MB / 0.543 GB, free: 1.488 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/0.2802, allocations: 1.723 MB / 0.5447 GB, free: 15.74 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001956/0.2822, allocations: 1.47 MB / 0.5461 GB, free: 14.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/0.2835, allocations: 1.149 MB / 0.5472 GB, free: 13.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.473e-06/0.2835, allocations: 0 / 0.5472 GB, free: 13.12 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1671/0.4506, allocations: 42.86 MB / 0.5891 GB, free: 155.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.363, allocations: 9.25 kB / 0.5891 GB, free: 155.4 MB / 474.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_DeltaRobot_DeltaRobot_Tests_IdealActuatorVel_test_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --timeout=50 --tolerance=1e-06 DeltaRobot_DeltaRobot_Tests_IdealActuatorVel_test.fmu > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.93734716437757] Failed to read output from testmodel.py, exit status != 0: 8.464077539741993 8.470614236 8.320033268 Calling exit ...