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.0008319/0.0008319, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000951/0.001783, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006937/0.0006937, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008716/0.001565, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9412/0.9412, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1016/1.043, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.02202/0.02202, allocations: 4.093 MB / 248.1 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002701/0.02472, allocations: 1.6 MB / 249.7 MB, free: 9.254 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.114e-06/2.114e-06, allocations: 0 / 251 MB, free: 7.898 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.534e-05, allocations: 2.312 kB / 251 MB, free: 7.895 MB / 250.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.01004/0.01007, allocations: 7.659 MB / 258.7 MB, free: 204 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008062/0.01813, allocations: 3.546 MB / 262.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.02002, allocations: 39.81 kB / 262.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002596/0.02262, allocations: 1.136 MB / 263.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004141/0.02676, allocations: 1.404 MB / 264.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.02817, allocations: 0.5417 MB / 265.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003446/0.03161, allocations: 3.042 MB / 268.4 MB, free: 6.457 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.03354, allocations: 1.513 MB / 269.9 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.03587, allocations: 1.486 MB / 271.4 MB, free: 3.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.03758, allocations: 1.333 MB / 272.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004624/0.03804, allocations: 176 kB / 272.9 MB, free: 1.922 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.03959, allocations: 0.8735 MB / 273.8 MB, free: 1.047 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008289/0.04042, allocations: 1.036 MB / 274.8 MB, free: 8 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1397/0.1801, allocations: 0.5912 MB / 275.4 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004443/0.1845, allocations: 2.737 MB / 278.1 MB, free: 6.293 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-05/0.1845, allocations: 1.188 kB / 278.1 MB, free: 6.293 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1845, allocations: 0 / 278.1 MB, free: 6.293 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001218/0.1847, allocations: 0 / 278.1 MB, free: 6.293 MB / 266.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.007154/0.1918, allocations: 3.482 MB / 281.6 MB, free: 4.914 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1919, allocations: 13.53 kB / 281.6 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003415/0.1953, allocations: 0.8172 MB / 282.4 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.1975, allocations: 1.099 MB / 283.5 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.1976, allocations: 136.7 kB / 283.7 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003152/0.1979, allocations: 171.6 kB / 283.8 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005319/0.2032, allocations: 3.279 MB / 287.1 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.636e-05/0.2033, allocations: 37.23 kB / 287.1 MB, free: 3.078 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/0.2035, allocations: 89.3 kB / 287.2 MB, free: 3.078 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00152/0.205, allocations: 1.23 MB / 288.5 MB, free: 3.074 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003971/0.209, allocations: 1.673 MB / 290.1 MB, free: 2.996 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02059/0.2296, allocations: 21.7 MB / 311.8 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.2315, allocations: 0.7528 MB / 312.6 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.2318, allocations: 173.7 kB / 312.8 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003139/0.2349, allocations: 2.035 MB / 314.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.2351, allocations: 49.45 kB / 314.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=80): time 3.436e-06/0.2351, allocations: 0 / 314.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=83): time 0.00415/0.2393, allocations: 1.919 MB / 316.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.2393, allocations: 136.5 kB / 316.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/0.2417, allocations: 2.341 MB / 319.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.2417, allocations: 29.7 kB / 319.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009466/0.2426, allocations: 2.239 MB / 321.5 MB, free: 9.684 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.2429, allocations: 374.6 kB / 321.9 MB, free: 9.336 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000759/0.2436, allocations: 0.8347 MB / 322.7 MB, free: 8.582 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2437, allocations: 363.3 kB / 323.1 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007956/0.2445, allocations: 0.5103 MB / 323.6 MB, free: 7.734 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.2465, allocations: 3.346 MB / 326.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003864/0.2504, allocations: 4.311 MB / 331.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-05/0.2504, allocations: 36 kB / 331.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.004243/0.2547, allocations: 2.969 MB / 334.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.01e-05/0.2547, allocations: 55.77 kB / 334.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001523/0.2549, allocations: 112.2 kB / 334.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001149/0.255, allocations: 136 kB / 334.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/0.2579, allocations: 1.128 MB / 335.7 MB, free: 9.152 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002087/0.2581, allocations: 203.2 kB / 335.9 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002889/0.261, allocations: 206.7 kB / 336.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002992/0.2613, allocations: 244 kB / 336.3 MB, free: 8.516 MB / 314.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: 482 * Number of states: 0 () * Number of discrete variables: 18 (idealActuatorVel.revolute.cylinderColor[1],idealActuatorVel.revolute.cylinderColor[2],idealActuatorVel.revolute.cylinderColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (550): * Single equations (assignments): 547 * 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.001439/0.2627, allocations: 0.4962 MB / 336.8 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002972/0.263, allocations: 131.8 kB / 336.9 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004673/0.2635, allocations: 342.3 kB / 337.3 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.2635, allocations: 11.98 kB / 337.3 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2635, allocations: 10.56 kB / 337.3 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.2635, allocations: 3.984 kB / 337.3 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/0.2666, allocations: 2.023 MB / 339.3 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.2666, allocations: 0 / 339.3 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.267, allocations: 135.8 kB / 339.4 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.2673, allocations: 213.5 kB / 339.6 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.2673, allocations: 8.219 kB / 339.7 MB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.2674, allocations: 12 kB / 339.7 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.2674, allocations: 16.94 kB / 339.7 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.2674, allocations: 3.938 kB / 339.7 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009216/0.2683, allocations: 1.062 MB / 340.7 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.2685, allocations: 12 kB / 340.8 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.2689, allocations: 12 kB / 340.8 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.2689, allocations: 50.28 kB / 340.8 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.269, allocations: 27.92 kB / 340.8 MB, free: 4.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009575/0.2699, allocations: 0.9434 MB / 341.8 MB, free: 3.371 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2699, allocations: 0 / 341.8 MB, free: 3.371 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0025/0.2724, allocations: 0.6284 MB / 342.4 MB, free: 2.746 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (62): * Single equations (assignments): 59 * 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.0004824/0.2729, allocations: 129.1 kB / 342.5 MB, free: 2.613 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.2749, allocations: 1.619 MB / 344.2 MB, free: 1.051 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001241/0.275, allocations: 68.62 kB / 344.2 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.2752, allocations: 173 kB / 344.4 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.2767, allocations: 0.52 MB / 344.9 MB, free: 312 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008609/0.2853, allocations: 4.572 MB / 349.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008374/0.2861, allocations: 0.7529 MB / 350.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009269/0.287, allocations: 345.7 kB / 350.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000462/0.2875, allocations: 371.2 kB / 350.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of SimCode: time 1.623e-06/0.2875, allocations: 0 / 350.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of Templates: time 0.02907/0.3166, allocations: 16.67 MB / 367.6 MB, free: 9.91 MB / 346.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=240 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.180458535440266]