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.0007882/0.0007882, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007647/0.0007647, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8899/0.8899, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.01531/0.01531, allocations: 4.073 MB / 264 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: translateModel(DeltaRobot.Tests.IdealActuatorVel_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") translateModel(DeltaRobot.Tests.IdealActuatorVel_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 388.8 MB, free: 8.562 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.935e-05, allocations: 6.219 kB / 388.8 MB, free: 8.555 MB / 314.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.006107/0.006136, allocations: 7.062 MB / 395.9 MB, free: 1.453 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004219/0.01035, allocations: 3.309 MB / 399.2 MB, free: 14.13 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004886/0.01084, allocations: 43.75 kB / 399.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.01228, allocations: 1.117 MB / 400.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.01403, allocations: 1.431 MB / 401.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006306/0.01466, allocations: 0.5728 MB / 402.4 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002115/0.01678, allocations: 3.118 MB / 405.5 MB, free: 7.836 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.01801, allocations: 1.66 MB / 407.2 MB, free: 6.152 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.01916, allocations: 1.38 MB / 408.5 MB, free: 4.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.02038, allocations: 1.407 MB / 409.9 MB, free: 3.359 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.02057, allocations: 179.9 kB / 410.1 MB, free: 3.184 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.02158, allocations: 0.8501 MB / 411 MB, free: 2.332 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008463/0.02242, allocations: 1.145 MB / 412.1 MB, free: 1.184 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005581/0.02298, allocations: 0.7319 MB / 412.8 MB, free: 460 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1989/0.2219, allocations: 4.36 MB / 417.2 MB, free: 20.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2219, allocations: 0 / 417.2 MB, free: 20.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2219, allocations: 0.7031 kB / 417.2 MB, free: 20.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.8e-05/0.2219, allocations: 1.062 kB / 417.2 MB, free: 20.58 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.004481/0.2264, allocations: 3.156 MB / 420.4 MB, free: 19.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.2264, allocations: 8.875 kB / 420.4 MB, free: 19.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003435/0.2299, allocations: 1.722 MB / 422.1 MB, free: 19.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.2316, allocations: 1.375 MB / 423.5 MB, free: 18.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.2317, allocations: 134.1 kB / 423.6 MB, free: 18.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002954/0.232, allocations: 179 kB / 423.8 MB, free: 18.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006709/0.2387, allocations: 6.719 MB / 430.5 MB, free: 16.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.356e-05/0.2388, allocations: 34.31 kB / 430.5 MB, free: 16.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001928/0.239, allocations: 87.3 kB / 430.6 MB, free: 16.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001403/0.2404, allocations: 1.455 MB / 432.1 MB, free: 16.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00538/0.2458, allocations: 5.954 MB / 438 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01549/0.2613, allocations: 25.91 MB / 463.9 MB, free: 4.684 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/0.2639, allocations: 1.899 MB / 465.8 MB, free: 2.762 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009604/0.2649, allocations: 0.9865 MB / 466.8 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.014e-05/0.2649, allocations: 12 kB / 466.8 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.2649, allocations: 42.56 kB / 466.9 MB, free: 1.703 MB / 346.7 MB Notification: Performance of pre-optimization done (n=101): time 3.166e-06/0.2649, allocations: 0 / 466.9 MB, free: 1.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=109): time 0.01091/0.2758, allocations: 8.124 MB / 475 MB, free: 9.547 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.2759, allocations: 141 kB / 475.1 MB, free: 9.375 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/0.2784, allocations: 2.813 MB / 477.9 MB, free: 6.543 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.003e-05/0.2785, allocations: 41.7 kB / 478 MB, free: 6.496 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.2795, allocations: 2.254 MB / 480.2 MB, free: 4.258 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003124/0.2798, allocations: 474 kB / 480.7 MB, free: 3.801 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009478/0.2808, allocations: 0.8843 MB / 481.6 MB, free: 2.906 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2809, allocations: 357.9 kB / 481.9 MB, free: 2.551 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/0.2823, allocations: 1.457 MB / 483.4 MB, free: 1.086 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002751/0.2851, allocations: 4.314 MB / 487.7 MB, free: 11.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008121/0.2932, allocations: 8.077 MB / 495.8 MB, free: 2.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-05/0.2933, allocations: 28 kB / 495.8 MB, free: 2 MB / 378.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.005525/0.2988, allocations: 5.555 MB / 0.4896 GB, free: 12.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.2988, allocations: 48 kB / 0.4897 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-05/0.2989, allocations: 100 kB / 0.4898 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.472e-05/0.2989, allocations: 132 kB / 0.4899 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/0.301, allocations: 1.237 MB / 0.4911 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.614e-05/0.3011, allocations: 199.2 kB / 0.4913 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.3026, allocations: 275.6 kB / 0.4915 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002323/0.3029, allocations: 283 kB / 0.4918 GB, free: 10.2 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 (556): * Single equations (assignments): 553 * 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.001774/0.3046, allocations: 1.449 MB / 0.4932 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.3048, allocations: 226.4 kB / 0.4934 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.3061, allocations: 1.252 MB / 0.4947 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.3061, allocations: 16 kB / 0.4947 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.3061, allocations: 0 / 0.4947 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3061, allocations: 3.984 kB / 0.4947 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003984/0.3101, allocations: 3.634 MB / 0.4982 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.3101, allocations: 0 / 0.4982 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008912/0.311, allocations: 369.8 kB / 0.4986 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.311, allocations: 11.92 kB / 0.4986 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.3111, allocations: 20 kB / 0.4986 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.3111, allocations: 4 kB / 0.4986 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3111, allocations: 32 / 0.4986 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/0.3137, allocations: 3.155 MB / 0.5017 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.3139, allocations: 222.3 kB / 0.5019 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.314, allocations: 19.98 kB / 0.5019 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005031/0.3145, allocations: 87.86 kB / 0.502 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.3146, allocations: 48.41 kB / 0.5021 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/0.3147, allocations: 35.98 kB / 0.5021 GB, free: 15.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0015/0.3162, allocations: 1.623 MB / 0.5037 GB, free: 13.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3162, allocations: 0 / 0.5037 GB, free: 13.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002085/0.3183, allocations: 0.6747 MB / 0.5043 GB, free: 13.3 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.0003145/0.3186, allocations: 158.8 kB / 0.5045 GB, free: 13.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002865/0.3215, allocations: 3.197 MB / 0.5076 GB, free: 9.953 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3215, allocations: 192 / 0.5076 GB, free: 9.953 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006522/0.3221, allocations: 0.7522 MB / 0.5084 GB, free: 9.199 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009379/0.3231, allocations: 252.6 kB / 0.5086 GB, free: 8.957 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006121/0.3292, allocations: 5.973 MB / 0.5144 GB, free: 2.941 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/0.3305, allocations: 1.715 MB / 0.5161 GB, free: 1.199 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/0.331, allocations: 211.6 kB / 0.5163 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of SimCode: time 1.323e-06/0.331, allocations: 0 / 0.5163 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of Templates: time 0.04002/0.371, allocations: 39.3 MB / 0.5547 GB, free: 9.77 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.makefile [Timeout 660] (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 & ./DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.234686099924147] Failed to read output from testmodel.py, exit status != 0: 0.37705665826797485 0.38517764299999996 0.161598281 Calling exit ...