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.001278/0.001278, allocations: 115.9 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001322/0.001322, allocations: 214.1 kB / 20.13 MB, free: 3.039 MB / 14.72 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 1.436/1.436, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.02564/0.02564, allocations: 5.281 MB / 314.8 MB, free: 1.695 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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DeltaRobot.Tests.IdealActuatorVel_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_IdealActuatorVel_test",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: DeltaRobot requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 66.12 kB / 437.5 MB, free: 38.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09732/0.09927, allocations: 54.51 MB / 492 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.007252/0.1065, allocations: 7.93 MB / 499.9 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005631/0.1122, allocations: 3.528 MB / 0.4917 GB, free: 1.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.1133, allocations: 47.75 kB / 0.4917 GB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001997/0.1153, allocations: 1.113 MB / 0.4928 GB, free: 48 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003662/0.1189, allocations: 1.379 MB / 0.4942 GB, free: 14.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.1203, allocations: 0.5302 MB / 0.4947 GB, free: 14.13 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004295/0.1245, allocations: 2.762 MB / 0.4974 GB, free: 11.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.1266, allocations: 1.396 MB / 0.4987 GB, free: 9.941 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.128, allocations: 0.8991 MB / 0.4996 GB, free: 9.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.1299, allocations: 1.347 MB / 0.5009 GB, free: 7.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003641/0.1303, allocations: 172 kB / 0.5011 GB, free: 7.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.132, allocations: 0.9359 MB / 0.502 GB, free: 6.582 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.1333, allocations: 1.114 MB / 0.5031 GB, free: 5.465 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00149/0.1347, allocations: 1.328 MB / 0.5044 GB, free: 4.129 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0056/0.1403, allocations: 4.357 MB / 0.5086 GB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.1404, allocations: 3.984 kB / 0.5086 GB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1404, allocations: 0 / 0.5086 GB, free: 15.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001117/0.1405, allocations: 0 / 0.5086 GB, free: 15.75 MB / 382.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.006919/0.1474, allocations: 3.225 MB / 0.5118 GB, free: 12.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1474, allocations: 12.03 kB / 0.5118 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001107/0.1475, allocations: 63.61 kB / 0.5119 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006727/0.1482, allocations: 479.5 kB / 0.5123 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006463/0.1547, allocations: 1.695 MB / 0.514 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003859/0.1585, allocations: 1.668 MB / 0.5156 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.1587, allocations: 139.4 kB / 0.5157 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003809/0.159, allocations: 179.9 kB / 0.5159 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/0.1703, allocations: 6.714 MB / 0.5225 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.648e-05/0.1704, allocations: 31.7 kB / 0.5225 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003072/0.1707, allocations: 91.89 kB / 0.5226 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002679/0.1734, allocations: 1.46 MB / 0.524 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01167/0.185, allocations: 5.966 MB / 0.5298 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03695/0.222, allocations: 27.43 MB / 0.5566 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004969/0.227, allocations: 2.316 MB / 0.5589 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.2284, allocations: 0.9793 MB / 0.5598 GB, free: 9.664 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-05/0.2285, allocations: 19.98 kB / 0.5599 GB, free: 9.645 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.2285, allocations: 46.44 kB / 0.5599 GB, free: 9.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=101): time 2.615e-06/0.2285, allocations: 0 / 0.5599 GB, free: 9.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=109): time 0.01868/0.2472, allocations: 7.991 MB / 0.5677 GB, free: 1.496 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.2473, allocations: 148.9 kB / 0.5679 GB, free: 1.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003991/0.2513, allocations: 2.919 MB / 0.5707 GB, free: 14.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.2514, allocations: 49.55 kB / 0.5708 GB, free: 14.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001734/0.2532, allocations: 2.264 MB / 0.573 GB, free: 12.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004808/0.2537, allocations: 464.6 kB / 0.5734 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/0.2548, allocations: 0.8972 MB / 0.5743 GB, free: 10.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.2549, allocations: 305.1 kB / 0.5746 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/0.2572, allocations: 1.453 MB / 0.576 GB, free: 8.922 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004687/0.2619, allocations: 4.295 MB / 0.5802 GB, free: 3.188 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2255/0.4874, allocations: 8.058 MB / 0.5881 GB, free: 85.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-05/0.4875, allocations: 28.88 kB / 0.5881 GB, free: 85.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.009272/0.4968, allocations: 5.544 MB / 0.5935 GB, free: 84.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.925e-05/0.4969, allocations: 49.34 kB / 0.5935 GB, free: 84.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/0.497, allocations: 105.1 kB / 0.5936 GB, free: 84.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001804/0.4972, allocations: 134.1 kB / 0.5938 GB, free: 84.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004286/0.5015, allocations: 1.226 MB / 0.595 GB, free: 84.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000136/0.5016, allocations: 200.2 kB / 0.5952 GB, free: 84.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002835/0.5044, allocations: 246.4 kB / 0.5954 GB, free: 84.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004653/0.5049, allocations: 282 kB / 0.5957 GB, free: 84.7 MB / 446.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.002242/0.5071, allocations: 1.446 MB / 0.5971 GB, free: 84.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005675/0.5077, allocations: 253.2 kB / 0.5973 GB, free: 84.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/0.5096, allocations: 1.272 MB / 0.5986 GB, free: 83.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/0.5097, allocations: 15.19 kB / 0.5986 GB, free: 83.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.5097, allocations: 4 kB / 0.5986 GB, free: 83.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.5097, allocations: 14.88 kB / 0.5986 GB, free: 83.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005075/0.5148, allocations: 4.239 MB / 0.6027 GB, free: 81.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.5148, allocations: 0.75 kB / 0.6027 GB, free: 81.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/0.5165, allocations: 372.9 kB / 0.6031 GB, free: 81.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.5165, allocations: 3.594 kB / 0.6031 GB, free: 81.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.194e-05/0.5166, allocations: 18.97 kB / 0.6031 GB, free: 81.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.5166, allocations: 3.438 kB / 0.6031 GB, free: 81.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5166, allocations: 3.625 kB / 0.6031 GB, free: 81.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/0.5196, allocations: 3.182 MB / 0.6062 GB, free: 80.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/0.5199, allocations: 305.5 kB / 0.6065 GB, free: 80.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/0.5201, allocations: 25.34 kB / 0.6065 GB, free: 80.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008236/0.5209, allocations: 67.69 kB / 0.6066 GB, free: 80.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.5211, allocations: 57.52 kB / 0.6067 GB, free: 80.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.556e-05/0.5211, allocations: 28 kB / 0.6067 GB, free: 80.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00183/0.523, allocations: 1.818 MB / 0.6085 GB, free: 78.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.523, allocations: 0 / 0.6085 GB, free: 78.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002669/0.5256, allocations: 0.616 MB / 0.6091 GB, free: 78.04 MB / 446.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.003124/0.5287, allocations: 3.8 MB / 0.6128 GB, free: 74.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003791/0.5325, allocations: 3.183 MB / 0.6159 GB, free: 71.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5325, allocations: 0 / 0.6159 GB, free: 71.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000787/0.5333, allocations: 0.7542 MB / 0.6166 GB, free: 70.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.5347, allocations: 282.9 kB / 0.6169 GB, free: 70.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02927/0.564, allocations: 29.88 MB / 0.6461 GB, free: 36.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/0.5657, allocations: 2.293 MB / 0.6483 GB, free: 34.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002608/0.5683, allocations: 1.457 MB / 0.6497 GB, free: 32.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/0.5696, allocations: 1.144 MB / 0.6508 GB, free: 31.41 MB / 446.1 MB Notification: Performance of SimCode: time 1.773e-06/0.5696, allocations: 0 / 0.6508 GB, free: 31.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06868/0.6383, allocations: 41.63 MB / 0.6915 GB, free: 6.105 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.15/17.79, allocations: 14.55 kB / 0.6915 GB, free: 6.094 MB / 462.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 & /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: 20.564509444055147] Failed to read output from testmodel.py, exit status != 0: 17.94679526699474 17.968391913 17.824516442 Calling exit ...