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.001351/0.001351, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001408/0.001408, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.39/1.39, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.0273/0.0273, allocations: 5.283 MB / 318.5 MB, free: 13.69 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="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.00196/0.00196, allocations: 71.88 kB / 442.7 MB, free: 7.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1099, allocations: 54.55 MB / 497.2 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.009852/0.1198, allocations: 7.026 MB / 0.4924 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006983/0.1267, allocations: 3.302 MB / 0.4957 GB, free: 6.938 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.1279, allocations: 43.81 kB / 0.4957 GB, free: 6.895 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002661/0.1306, allocations: 1.07 MB / 0.4968 GB, free: 5.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003655/0.1342, allocations: 1.389 MB / 0.4981 GB, free: 4.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.1356, allocations: 0.5263 MB / 0.4986 GB, free: 3.898 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004123/0.1397, allocations: 2.76 MB / 0.5013 GB, free: 1.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002313/0.142, allocations: 1.411 MB / 0.5027 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.1436, allocations: 0.8913 MB / 0.5036 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002264/0.1459, allocations: 1.359 MB / 0.5049 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005972/0.1465, allocations: 172 kB / 0.5051 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.1483, allocations: 0.8112 MB / 0.5059 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001411/0.1497, allocations: 1.114 MB / 0.5069 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001937/0.1517, allocations: 0.9547 MB / 0.5079 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005789/0.1574, allocations: 4.38 MB / 0.5122 GB, free: 5.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1574, allocations: 0 / 0.5122 GB, free: 5.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1574, allocations: 0 / 0.5122 GB, free: 5.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.612e-05/0.1575, allocations: 0 / 0.5122 GB, free: 5.977 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.005677/0.1632, allocations: 3.154 MB / 0.5152 GB, free: 2.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.1632, allocations: 12.03 kB / 0.5152 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.358e-05/0.1633, allocations: 59.61 kB / 0.5153 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000539/0.1639, allocations: 479.5 kB / 0.5158 GB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005772/0.1696, allocations: 1.691 MB / 0.5174 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1978/0.3674, allocations: 1.614 MB / 0.519 GB, free: 30.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.414e-05/0.3675, allocations: 135.2 kB / 0.5191 GB, free: 30.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003228/0.3678, allocations: 177.8 kB / 0.5193 GB, free: 30.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009358/0.3772, allocations: 6.717 MB / 0.5258 GB, free: 28.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-05/0.3773, allocations: 29.64 kB / 0.5259 GB, free: 28.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002657/0.3775, allocations: 89.22 kB / 0.526 GB, free: 28.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002433/0.38, allocations: 1.463 MB / 0.5274 GB, free: 28.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/0.3912, allocations: 5.963 MB / 0.5332 GB, free: 26.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02662/0.4178, allocations: 26.38 MB / 0.559 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003592/0.4214, allocations: 1.856 MB / 0.5608 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009658/0.4224, allocations: 0.9823 MB / 0.5617 GB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.465e-05/0.4224, allocations: 12.16 kB / 0.5618 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.4225, allocations: 54.48 kB / 0.5618 GB, free: 1.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.357e-06/0.4225, allocations: 0 / 0.5618 GB, free: 1.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.0168/0.4393, allocations: 7.88 MB / 0.5695 GB, free: 9.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.729e-05/0.4394, allocations: 140.9 kB / 0.5696 GB, free: 9.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003871/0.4432, allocations: 2.923 MB / 0.5725 GB, free: 6.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.526e-05/0.4433, allocations: 39.27 kB / 0.5725 GB, free: 6.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001691/0.445, allocations: 2.27 MB / 0.5747 GB, free: 4.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004544/0.4455, allocations: 468.6 kB / 0.5752 GB, free: 3.969 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/0.4466, allocations: 0.8972 MB / 0.5761 GB, free: 3.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4467, allocations: 305.1 kB / 0.5764 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/0.4489, allocations: 1.449 MB / 0.5778 GB, free: 1.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00452/0.4534, allocations: 4.295 MB / 0.582 GB, free: 11.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0143/0.4677, allocations: 8.063 MB / 0.5898 GB, free: 2.082 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.385e-05/0.4678, allocations: 31.38 kB / 0.5899 GB, free: 2.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.009399/0.4772, allocations: 5.559 MB / 0.5953 GB, free: 12.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.286e-05/0.4773, allocations: 51.94 kB / 0.5954 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001477/0.4774, allocations: 104.1 kB / 0.5955 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001569/0.4776, allocations: 136 kB / 0.5956 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004039/0.4816, allocations: 1.22 MB / 0.5968 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002008/0.4818, allocations: 199.2 kB / 0.597 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/0.4845, allocations: 243.6 kB / 0.5972 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004589/0.4849, allocations: 280 kB / 0.5975 GB, free: 10.28 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.002321/0.4873, allocations: 1.442 MB / 0.5989 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005307/0.4878, allocations: 254.2 kB / 0.5991 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.4901, allocations: 1.273 MB / 0.6004 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/0.4901, allocations: 15.94 kB / 0.6004 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.4901, allocations: 0 / 0.6004 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.4901, allocations: 7.984 kB / 0.6004 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00876/0.4989, allocations: 4.021 MB / 0.6043 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.4989, allocations: 3.938 kB / 0.6043 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/0.5007, allocations: 367.4 kB / 0.6047 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.599e-05/0.5007, allocations: 8.031 kB / 0.6047 GB, free: 2.836 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.833e-05/0.5008, allocations: 23.31 kB / 0.6047 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.106e-05/0.5008, allocations: 7.984 kB / 0.6047 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.5008, allocations: 3.938 kB / 0.6047 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004445/0.5053, allocations: 3.177 MB / 0.6078 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006357/0.5059, allocations: 234.1 kB / 0.608 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004246/0.5063, allocations: 19.98 kB / 0.608 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.5074, allocations: 59.92 kB / 0.6081 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.5076, allocations: 64.27 kB / 0.6082 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.281e-05/0.5077, allocations: 24 kB / 0.6082 GB, free: 15.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003336/0.511, allocations: 1.815 MB / 0.61 GB, free: 13.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.511, allocations: 0 / 0.61 GB, free: 13.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003398/0.5144, allocations: 0.621 MB / 0.6106 GB, free: 12.77 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.005055/0.5194, allocations: 3.81 MB / 0.6143 GB, free: 8.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005544/0.525, allocations: 3.175 MB / 0.6174 GB, free: 5.781 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.525, allocations: 4.625 kB / 0.6174 GB, free: 5.777 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.5262, allocations: 0.7485 MB / 0.6181 GB, free: 5.027 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.5283, allocations: 279.1 kB / 0.6184 GB, free: 4.766 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04973/0.578, allocations: 29.89 MB / 0.6476 GB, free: 2.984 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002341/0.5804, allocations: 1.723 MB / 0.6493 GB, free: 1.23 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003352/0.5837, allocations: 1.463 MB / 0.6507 GB, free: 15.76 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001708/0.5854, allocations: 1.147 MB / 0.6518 GB, free: 14.61 MB / 494.1 MB Notification: Performance of SimCode: time 1.813e-06/0.5854, allocations: 0 / 0.6518 GB, free: 14.61 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09021/0.6756, allocations: 43.04 MB / 0.6938 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.68/20.35, allocations: 14.39 kB / 0.6938 GB, free: 4.133 MB / 0.5137 GB " [Timeout remaining time 639] (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: 22.993432978983037] Failed to read output from testmodel.py, exit status != 0: 20.54947122593876 20.580486238 20.417775278 Calling exit ...