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.001454/0.001454, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001577/0.001577, allocations: 220.6 kB / 23.04 MB, free: 5.074 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.02744/0.02744, allocations: 5.291 MB / 318.5 MB, free: 13.91 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.002007/0.002007, allocations: 63.91 kB / 442.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1041, allocations: 54.55 MB / 497.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.009983/0.1141, allocations: 7.965 MB / 0.4934 GB, free: 9.797 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006906/0.121, allocations: 3.555 MB / 0.4969 GB, free: 6.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.1222, allocations: 43.75 kB / 0.497 GB, free: 6.188 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.1247, allocations: 1.109 MB / 0.498 GB, free: 5.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.1281, allocations: 1.382 MB / 0.4994 GB, free: 3.688 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.1293, allocations: 0.5379 MB / 0.4999 GB, free: 3.148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004008/0.1333, allocations: 2.768 MB / 0.5026 GB, free: 384 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002453/0.1358, allocations: 1.407 MB / 0.504 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.1373, allocations: 0.8991 MB / 0.5049 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.1392, allocations: 1.347 MB / 0.5062 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003599/0.1396, allocations: 172 kB / 0.5064 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/0.1413, allocations: 0.9438 MB / 0.5073 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.1423, allocations: 1.102 MB / 0.5083 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.1436, allocations: 1.331 MB / 0.5096 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005141/0.1488, allocations: 4.361 MB / 0.5139 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.1488, allocations: 4 kB / 0.5139 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1488, allocations: 0 / 0.5139 GB, free: 4.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.067e-05/0.1489, allocations: 0 / 0.5139 GB, free: 4.742 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.006131/0.155, allocations: 3.146 MB / 0.517 GB, free: 1.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.1551, allocations: 12.03 kB / 0.517 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.466e-05/0.1551, allocations: 59.61 kB / 0.5171 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005705/0.1557, allocations: 491.4 kB / 0.5175 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2188/0.3745, allocations: 1.692 MB / 0.5192 GB, free: 30.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003202/0.3777, allocations: 1.6 MB / 0.5207 GB, free: 30.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.252e-05/0.3778, allocations: 138.2 kB / 0.5209 GB, free: 30.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003629/0.3782, allocations: 175 kB / 0.521 GB, free: 30.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009524/0.3877, allocations: 6.717 MB / 0.5276 GB, free: 28.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.984e-05/0.3878, allocations: 30.25 kB / 0.5276 GB, free: 28.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/0.388, allocations: 90.39 kB / 0.5277 GB, free: 28.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002566/0.3906, allocations: 1.459 MB / 0.5291 GB, free: 28.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01123/0.4018, allocations: 5.968 MB / 0.535 GB, free: 26.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02363/0.4254, allocations: 27.33 MB / 0.5616 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003616/0.429, allocations: 1.86 MB / 0.5635 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009675/0.43, allocations: 0.9839 MB / 0.5644 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/0.4301, allocations: 15.92 kB / 0.5644 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/0.4301, allocations: 53.16 kB / 0.5645 GB, free: 15.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 2.986e-06/0.4301, allocations: 0 / 0.5645 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=109): time 0.01762/0.4477, allocations: 7.842 MB / 0.5721 GB, free: 8.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.799e-05/0.4478, allocations: 140.9 kB / 0.5723 GB, free: 7.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003823/0.4516, allocations: 2.919 MB / 0.5751 GB, free: 5.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.4518, allocations: 33.7 kB / 0.5752 GB, free: 5.008 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001658/0.4534, allocations: 2.276 MB / 0.5774 GB, free: 2.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004664/0.4539, allocations: 476.1 kB / 0.5778 GB, free: 2.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/0.455, allocations: 0.8933 MB / 0.5787 GB, free: 1.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4551, allocations: 305.1 kB / 0.579 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/0.4574, allocations: 1.449 MB / 0.5804 GB, free: 15.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004497/0.4619, allocations: 4.295 MB / 0.5846 GB, free: 9.848 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01493/0.4768, allocations: 8.052 MB / 0.5925 GB, free: 384 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.488e-05/0.4769, allocations: 35.94 kB / 0.5925 GB, free: 348 kB / 414.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.01009/0.487, allocations: 5.559 MB / 0.5979 GB, free: 10.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.485e-05/0.4871, allocations: 52 kB / 0.598 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/0.4872, allocations: 100 kB / 0.5981 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001445/0.4873, allocations: 133.1 kB / 0.5982 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004022/0.4913, allocations: 1.22 MB / 0.5994 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001788/0.4915, allocations: 203.2 kB / 0.5996 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/0.4942, allocations: 251.8 kB / 0.5998 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003722/0.4946, allocations: 276.9 kB / 0.6001 GB, free: 8.562 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.00219/0.4968, allocations: 1.45 MB / 0.6015 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004641/0.4973, allocations: 250.3 kB / 0.6018 GB, free: 6.855 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/0.4994, allocations: 1.28 MB / 0.603 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.376e-05/0.4995, allocations: 12.5 kB / 0.603 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.4995, allocations: 4 kB / 0.603 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.4995, allocations: 3.984 kB / 0.603 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006869/0.5064, allocations: 4.218 MB / 0.6071 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.5064, allocations: 0 / 0.6071 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/0.5083, allocations: 367.4 kB / 0.6075 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.457e-06/0.5083, allocations: 4 kB / 0.6075 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.375e-05/0.5083, allocations: 20 kB / 0.6075 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.849e-06/0.5084, allocations: 7.984 kB / 0.6075 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.5084, allocations: 3.938 kB / 0.6075 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004339/0.5127, allocations: 3.181 MB / 0.6106 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005884/0.5133, allocations: 238.1 kB / 0.6109 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/0.5135, allocations: 19.91 kB / 0.6109 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008585/0.5144, allocations: 59.92 kB / 0.6109 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.5145, allocations: 60.27 kB / 0.611 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.501e-05/0.5146, allocations: 28 kB / 0.611 GB, free: 13.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0027/0.5173, allocations: 1.815 MB / 0.6128 GB, free: 11.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5173, allocations: 1.875 kB / 0.6128 GB, free: 11.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002996/0.5203, allocations: 0.6249 MB / 0.6134 GB, free: 10.85 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.004794/0.5251, allocations: 3.807 MB / 0.6171 GB, free: 7.004 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005375/0.5305, allocations: 3.176 MB / 0.6202 GB, free: 3.855 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5305, allocations: 4 kB / 0.6202 GB, free: 3.852 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.5316, allocations: 0.7453 MB / 0.621 GB, free: 3.105 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.5334, allocations: 284.2 kB / 0.6212 GB, free: 2.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04535/0.5787, allocations: 29.89 MB / 0.6504 GB, free: 1.059 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002527/0.5812, allocations: 2.295 MB / 0.6527 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003682/0.5849, allocations: 1.455 MB / 0.6541 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001906/0.5868, allocations: 1.144 MB / 0.6552 GB, free: 12.13 MB / 494.1 MB Notification: Performance of SimCode: time 1.422e-06/0.5868, allocations: 0 / 0.6552 GB, free: 12.13 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09163/0.6784, allocations: 45.27 MB / 0.6994 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.86/20.54, allocations: 3.859 kB / 0.6994 GB, free: 15.14 MB / 0.5294 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: 23.178562563029118] Failed to read output from testmodel.py, exit status != 0: 20.731870323070325 20.747535682 20.595572705 Calling exit ...