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.001848/0.001848, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002467/0.002467, allocations: 213.8 kB / 22.25 MB, free: 4.859 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.781 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.02794/0.02794, allocations: 5.281 MB / 317.7 MB, free: 13.66 MB / 254.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="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: 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.002122/0.002122, allocations: 68.08 kB / 441.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09503/0.09716, allocations: 54.55 MB / 496.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.009156/0.1063, allocations: 7.067 MB / 0.4917 GB, free: 10.15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006269/0.1126, allocations: 3.313 MB / 0.495 GB, free: 6.832 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007435/0.1133, allocations: 39.81 kB / 0.495 GB, free: 6.793 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00228/0.1156, allocations: 1.074 MB / 0.496 GB, free: 5.715 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002907/0.1185, allocations: 1.393 MB / 0.4974 GB, free: 4.316 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.1196, allocations: 0.5302 MB / 0.4979 GB, free: 3.785 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003573/0.1232, allocations: 2.757 MB / 0.5006 GB, free: 1.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.1251, allocations: 1.407 MB / 0.502 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.1264, allocations: 0.8913 MB / 0.5029 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.1282, allocations: 1.296 MB / 0.5041 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000404/0.1286, allocations: 172 kB / 0.5043 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.1302, allocations: 0.8073 MB / 0.5051 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.1312, allocations: 1.098 MB / 0.5061 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.1322, allocations: 0.9623 MB / 0.5071 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004833/0.1371, allocations: 4.373 MB / 0.5114 GB, free: 5.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1371, allocations: 0 / 0.5114 GB, free: 5.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1371, allocations: 0 / 0.5114 GB, free: 5.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001115/0.1372, allocations: 0 / 0.5114 GB, free: 5.953 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.006263/0.1435, allocations: 3.15 MB / 0.5144 GB, free: 2.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.1435, allocations: 12.03 kB / 0.5144 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007172/0.1442, allocations: 487.5 kB / 0.5149 GB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006175/0.1504, allocations: 1.691 MB / 0.5166 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.18/0.3304, allocations: 1.608 MB / 0.5181 GB, free: 30.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.329e-05/0.3305, allocations: 140.6 kB / 0.5183 GB, free: 30.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/0.3308, allocations: 176.5 kB / 0.5184 GB, free: 30.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009177/0.34, allocations: 6.713 MB / 0.525 GB, free: 28.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.611e-05/0.3401, allocations: 31.58 kB / 0.525 GB, free: 28.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000252/0.3403, allocations: 92.33 kB / 0.5251 GB, free: 28.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002507/0.3428, allocations: 1.46 MB / 0.5265 GB, free: 28.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.3534, allocations: 5.952 MB / 0.5323 GB, free: 26.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02479/0.3782, allocations: 26.38 MB / 0.5581 GB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003656/0.3819, allocations: 1.856 MB / 0.5599 GB, free: 2.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.3829, allocations: 0.9882 MB / 0.5609 GB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.3829, allocations: 14.55 kB / 0.5609 GB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.3829, allocations: 46.72 kB / 0.5609 GB, free: 1.836 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.206e-06/0.383, allocations: 0 / 0.5609 GB, free: 1.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.01731/0.4003, allocations: 7.878 MB / 0.5686 GB, free: 10 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.836e-05/0.4004, allocations: 148.9 kB / 0.5688 GB, free: 9.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004157/0.4045, allocations: 3.081 MB / 0.5718 GB, free: 6.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001646/0.4047, allocations: 41.7 kB / 0.5718 GB, free: 6.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001748/0.4064, allocations: 2.276 MB / 0.5741 GB, free: 4.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005212/0.407, allocations: 472.5 kB / 0.5745 GB, free: 3.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001161/0.4081, allocations: 0.8894 MB / 0.5754 GB, free: 3.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4083, allocations: 309.1 kB / 0.5757 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002269/0.4105, allocations: 1.445 MB / 0.5771 GB, free: 1.262 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004606/0.4151, allocations: 4.291 MB / 0.5813 GB, free: 11.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01481/0.4299, allocations: 8.066 MB / 0.5891 GB, free: 2.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.991e-05/0.43, allocations: 32 kB / 0.5892 GB, free: 2.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.009376/0.4394, allocations: 5.545 MB / 0.5946 GB, free: 12.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.071e-05/0.4395, allocations: 51.94 kB / 0.5946 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001055/0.4396, allocations: 100 kB / 0.5947 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.4397, allocations: 132.8 kB / 0.5949 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004066/0.4438, allocations: 1.232 MB / 0.5961 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001681/0.4439, allocations: 205.8 kB / 0.5963 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/0.4465, allocations: 244.1 kB / 0.5965 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000365/0.4469, allocations: 284 kB / 0.5968 GB, free: 10.24 MB / 430.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.002051/0.4489, allocations: 1.453 MB / 0.5982 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003996/0.4493, allocations: 254.2 kB / 0.5984 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/0.4515, allocations: 1.269 MB / 0.5997 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/0.4515, allocations: 16 kB / 0.5997 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.4515, allocations: 0 / 0.5997 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.4515, allocations: 3.984 kB / 0.5997 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007217/0.4588, allocations: 4.015 MB / 0.6036 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.4588, allocations: 7.938 kB / 0.6036 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/0.4607, allocations: 367.4 kB / 0.604 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.4607, allocations: 4.797 kB / 0.604 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.292e-05/0.4608, allocations: 19.98 kB / 0.604 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.4608, allocations: 4 kB / 0.604 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.4608, allocations: 8.031 kB / 0.604 GB, free: 2.766 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004305/0.4651, allocations: 3.176 MB / 0.6071 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000516/0.4657, allocations: 238.1 kB / 0.6073 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002613/0.4659, allocations: 12 kB / 0.6073 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000919/0.4668, allocations: 63.91 kB / 0.6074 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.467, allocations: 48.34 kB / 0.6074 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.74e-05/0.4671, allocations: 44.88 kB / 0.6075 GB, free: 15.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002923/0.47, allocations: 1.815 MB / 0.6093 GB, free: 13.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.47, allocations: 4 kB / 0.6093 GB, free: 13.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003063/0.4731, allocations: 0.621 MB / 0.6099 GB, free: 12.73 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.004929/0.478, allocations: 3.811 MB / 0.6136 GB, free: 8.883 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00524/0.4832, allocations: 3.178 MB / 0.6167 GB, free: 5.727 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4832, allocations: 0 / 0.6167 GB, free: 5.727 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.4844, allocations: 0.7532 MB / 0.6174 GB, free: 4.973 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.4861, allocations: 273.4 kB / 0.6177 GB, free: 4.707 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04478/0.5309, allocations: 29.87 MB / 0.6469 GB, free: 2.941 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002997/0.5339, allocations: 1.727 MB / 0.6486 GB, free: 1.184 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003581/0.5374, allocations: 1.455 MB / 0.65 GB, free: 15.72 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001869/0.5393, allocations: 1.147 MB / 0.6511 GB, free: 14.57 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5393, allocations: 0 / 0.6511 GB, free: 14.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08776/0.6271, allocations: 41.34 MB / 0.6915 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.58, allocations: 10.78 kB / 0.6915 GB, free: 5.734 MB / 0.5137 GB " [Timeout remaining time 645] (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: 17.071253959089518] Failed to read output from testmodel.py, exit status != 0: 14.714584896806628 14.732103236 14.591897867 Calling exit ...