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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 110.8 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.02746/0.02746, allocations: 5.281 MB / 308 MB, free: 4.566 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001872/0.001872, allocations: 67.91 kB / 428.3 MB, free: 19.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09046/0.09233, allocations: 53.33 MB / 481.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.01008/0.1024, allocations: 7.96 MB / 489.6 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00665/0.1091, allocations: 3.504 MB / 493.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009057/0.11, allocations: 31.94 kB / 493.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.1124, allocations: 1.124 MB / 494.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003048/0.1155, allocations: 1.401 MB / 495.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.1165, allocations: 0.538 MB / 496.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003017/0.1195, allocations: 2.722 MB / 498.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.1211, allocations: 1.404 MB / 0.4886 GB, free: 11.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009489/0.1221, allocations: 0.8835 MB / 0.4894 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.1236, allocations: 1.359 MB / 0.4908 GB, free: 8.902 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002633/0.1239, allocations: 172 kB / 0.4909 GB, free: 8.734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.1253, allocations: 0.9516 MB / 0.4919 GB, free: 7.781 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009769/0.1262, allocations: 1.118 MB / 0.4929 GB, free: 6.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.1274, allocations: 1.355 MB / 0.4943 GB, free: 5.297 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004426/0.1318, allocations: 4.404 MB / 0.4986 GB, free: 0.875 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1318, allocations: 0 / 0.4986 GB, free: 0.875 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1318, allocations: 0 / 0.4986 GB, free: 0.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.894e-05/0.1319, allocations: 3.938 kB / 0.4986 GB, free: 0.8711 MB / 366.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.005122/0.137, allocations: 3.241 MB / 0.5017 GB, free: 13.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.137, allocations: 16.03 kB / 0.5018 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005441/0.1376, allocations: 479.5 kB / 0.5022 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005796/0.1434, allocations: 1.688 MB / 0.5039 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003578/0.147, allocations: 1.782 MB / 0.5056 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.1471, allocations: 135.7 kB / 0.5057 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003438/0.1474, allocations: 183.8 kB / 0.5059 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009118/0.1565, allocations: 6.718 MB / 0.5125 GB, free: 2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.323e-05/0.1566, allocations: 27.75 kB / 0.5125 GB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002434/0.1568, allocations: 91.88 kB / 0.5126 GB, free: 1.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002428/0.1593, allocations: 1.456 MB / 0.514 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1807/0.34, allocations: 5.962 MB / 0.5198 GB, free: 37.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02569/0.3657, allocations: 27.44 MB / 0.5466 GB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003825/0.3695, allocations: 2.315 MB / 0.5489 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.3706, allocations: 0.9857 MB / 0.5498 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.573e-05/0.3707, allocations: 10.28 kB / 0.5499 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.3707, allocations: 49.84 kB / 0.5499 GB, free: 14.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 2.745e-06/0.3707, allocations: 3.938 kB / 0.5499 GB, free: 14.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.0144/0.3851, allocations: 7.998 MB / 0.5577 GB, free: 8.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.3851, allocations: 137 kB / 0.5578 GB, free: 8.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/0.3878, allocations: 2.923 MB / 0.5607 GB, free: 5.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.731e-05/0.3879, allocations: 45.7 kB / 0.5607 GB, free: 5.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008035/0.3887, allocations: 2.27 MB / 0.563 GB, free: 3.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.389, allocations: 472.1 kB / 0.5634 GB, free: 2.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007594/0.3897, allocations: 0.8972 MB / 0.5643 GB, free: 1.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.212e-05/0.3898, allocations: 301.1 kB / 0.5646 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.3914, allocations: 1.449 MB / 0.566 GB, free: 15.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004554/0.3959, allocations: 4.295 MB / 0.5702 GB, free: 10.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01427/0.4102, allocations: 8.064 MB / 0.5781 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.98e-05/0.4103, allocations: 28 kB / 0.5781 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.009066/0.4193, allocations: 5.557 MB / 0.5835 GB, free: 11.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.903e-05/0.4194, allocations: 51.94 kB / 0.5836 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/0.4195, allocations: 104 kB / 0.5837 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001359/0.4196, allocations: 132 kB / 0.5838 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003988/0.4236, allocations: 1.224 MB / 0.585 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001742/0.4238, allocations: 196.4 kB / 0.5852 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002655/0.4265, allocations: 263 kB / 0.5854 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003601/0.4268, allocations: 275.5 kB / 0.5857 GB, free: 8.965 MB / 414.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.002064/0.4289, allocations: 1.448 MB / 0.5871 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004147/0.4293, allocations: 258.2 kB / 0.5873 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.4314, allocations: 1.281 MB / 0.5886 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/0.4315, allocations: 12 kB / 0.5886 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.4315, allocations: 4 kB / 0.5886 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.4315, allocations: 3.984 kB / 0.5886 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007539/0.439, allocations: 4.24 MB / 0.5928 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.439, allocations: 7.938 kB / 0.5928 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/0.4409, allocations: 371.4 kB / 0.5931 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.4409, allocations: 4 kB / 0.5931 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.961e-05/0.441, allocations: 16.27 kB / 0.5931 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.441, allocations: 4.031 kB / 0.5931 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.441, allocations: 11.94 kB / 0.5932 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004309/0.4453, allocations: 3.185 MB / 0.5963 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006209/0.4459, allocations: 315.1 kB / 0.5966 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/0.4462, allocations: 16 kB / 0.5966 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008855/0.4471, allocations: 63.42 kB / 0.5966 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.4472, allocations: 48.47 kB / 0.5967 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.902e-05/0.4473, allocations: 31.98 kB / 0.5967 GB, free: 13.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002692/0.45, allocations: 1.823 MB / 0.5985 GB, free: 11.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.45, allocations: 4 kB / 0.5985 GB, free: 11.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002979/0.453, allocations: 0.6288 MB / 0.5991 GB, free: 11.1 MB / 430.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.004719/0.4577, allocations: 3.8 MB / 0.6028 GB, free: 7.273 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005506/0.4632, allocations: 3.188 MB / 0.6059 GB, free: 4.105 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.4632, allocations: 0 / 0.6059 GB, free: 4.105 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.4645, allocations: 0.7527 MB / 0.6067 GB, free: 3.355 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.4664, allocations: 282.8 kB / 0.6069 GB, free: 3.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0424/0.5088, allocations: 29.9 MB / 0.6361 GB, free: 1.328 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002455/0.5112, allocations: 2.292 MB / 0.6384 GB, free: 15 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003254/0.5145, allocations: 1.455 MB / 0.6398 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001652/0.5161, allocations: 1.148 MB / 0.6409 GB, free: 12.39 MB / 478.1 MB Notification: Performance of SimCode: time 1.302e-06/0.5162, allocations: 0 / 0.6409 GB, free: 12.39 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08608/0.6022, allocations: 41.66 MB / 0.6816 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.65/17.25, allocations: 7.438 kB / 0.6816 GB, free: 3.012 MB / 0.4981 GB " [Timeout remaining time 643] (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: 19.684663312043995] Failed to read output from testmodel.py, exit status != 0: 17.350471558980644 17.375922712 17.239317382 Calling exit ...