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.001297/0.001297, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001404/0.001404, allocations: 216.5 kB / 22.26 MB, free: 5.117 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.388/1.388, allocations: 230.6 MB / 256 MB, free: 8.027 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.0277/0.0277, allocations: 5.288 MB / 317.7 MB, free: 13.9 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.001953/0.001953, allocations: 71.88 kB / 442 MB, free: 8.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09801/0.09997, allocations: 54.55 MB / 496.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.0105/0.1105, allocations: 7.949 MB / 0.4927 GB, free: 9.805 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006664/0.1171, allocations: 3.559 MB / 0.4961 GB, free: 6.234 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000893/0.118, allocations: 43.75 kB / 0.4962 GB, free: 6.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.1205, allocations: 1.117 MB / 0.4973 GB, free: 5.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003112/0.1236, allocations: 1.385 MB / 0.4986 GB, free: 3.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1248, allocations: 0.5302 MB / 0.4991 GB, free: 3.148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003807/0.1286, allocations: 2.764 MB / 0.5018 GB, free: 388 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002227/0.1308, allocations: 1.407 MB / 0.5032 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.1322, allocations: 0.8991 MB / 0.5041 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.1339, allocations: 1.351 MB / 0.5054 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003012/0.1342, allocations: 172 kB / 0.5056 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.1357, allocations: 0.936 MB / 0.5065 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009849/0.1367, allocations: 1.106 MB / 0.5076 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.1379, allocations: 1.331 MB / 0.5089 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004498/0.1424, allocations: 4.365 MB / 0.5131 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1424, allocations: 0 / 0.5131 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1424, allocations: 4 kB / 0.5131 GB, free: 4.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.859e-05/0.1425, allocations: 0 / 0.5131 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.005278/0.1478, allocations: 3.146 MB / 0.5162 GB, free: 1.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1478, allocations: 12.03 kB / 0.5162 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005324/0.1483, allocations: 487.4 kB / 0.5167 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1816/0.3299, allocations: 1.683 MB / 0.5183 GB, free: 30.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/0.3332, allocations: 1.607 MB / 0.5199 GB, free: 30.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.525e-05/0.3333, allocations: 138.2 kB / 0.52 GB, free: 30.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003519/0.3336, allocations: 175.2 kB / 0.5202 GB, free: 30.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008778/0.3424, allocations: 6.719 MB / 0.5268 GB, free: 28.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.964e-05/0.3425, allocations: 28.09 kB / 0.5268 GB, free: 28.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00023/0.3427, allocations: 90.92 kB / 0.5269 GB, free: 28.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002357/0.3451, allocations: 1.451 MB / 0.5283 GB, free: 28.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009653/0.3547, allocations: 5.973 MB / 0.5341 GB, free: 26.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02327/0.378, allocations: 27.33 MB / 0.5608 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00351/0.3815, allocations: 1.867 MB / 0.5626 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009511/0.3825, allocations: 0.9767 MB / 0.5636 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.925e-05/0.3825, allocations: 11.98 kB / 0.5636 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.3825, allocations: 50.48 kB / 0.5637 GB, free: 100 kB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 2.706e-06/0.3825, allocations: 4 kB / 0.5637 GB, free: 96 kB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.01709/0.3996, allocations: 7.847 MB / 0.5713 GB, free: 8.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/0.3997, allocations: 140.9 kB / 0.5715 GB, free: 8.082 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003725/0.4034, allocations: 2.915 MB / 0.5743 GB, free: 5.156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.399e-05/0.4035, allocations: 37.7 kB / 0.5743 GB, free: 5.113 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001619/0.4051, allocations: 2.271 MB / 0.5766 GB, free: 2.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004123/0.4056, allocations: 472.5 kB / 0.577 GB, free: 2.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/0.4066, allocations: 0.9011 MB / 0.5779 GB, free: 1.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4067, allocations: 301.1 kB / 0.5782 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002196/0.4089, allocations: 1.449 MB / 0.5796 GB, free: 15.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004469/0.4134, allocations: 4.295 MB / 0.5838 GB, free: 9.953 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01408/0.4275, allocations: 8.057 MB / 0.5916 GB, free: 488 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.193e-05/0.4275, allocations: 31.94 kB / 0.5917 GB, free: 456 kB / 414.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.008719/0.4363, allocations: 5.55 MB / 0.5971 GB, free: 10.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.472e-05/0.4363, allocations: 55.34 kB / 0.5972 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001055/0.4364, allocations: 104 kB / 0.5973 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001277/0.4366, allocations: 139.9 kB / 0.5974 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003859/0.4404, allocations: 1.221 MB / 0.5986 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001615/0.4406, allocations: 195.2 kB / 0.5988 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/0.4431, allocations: 255.6 kB / 0.599 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003713/0.4435, allocations: 277 kB / 0.5993 GB, free: 8.668 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.002249/0.4457, allocations: 1.456 MB / 0.6007 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004471/0.4462, allocations: 250.3 kB / 0.6009 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.4483, allocations: 1.276 MB / 0.6022 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/0.4483, allocations: 19.91 kB / 0.6022 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.4483, allocations: 0 / 0.6022 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.4484, allocations: 7.984 kB / 0.6022 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00702/0.4554, allocations: 4.21 MB / 0.6063 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.4554, allocations: 8.031 kB / 0.6063 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001817/0.4572, allocations: 363.4 kB / 0.6067 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.4572, allocations: 4 kB / 0.6067 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.911e-05/0.4573, allocations: 20 kB / 0.6067 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.4573, allocations: 4 kB / 0.6067 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4573, allocations: 4 kB / 0.6067 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004222/0.4615, allocations: 3.189 MB / 0.6098 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004931/0.462, allocations: 234.1 kB / 0.61 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/0.4622, allocations: 16 kB / 0.6101 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008419/0.4631, allocations: 60.67 kB / 0.6101 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.4632, allocations: 62.23 kB / 0.6102 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.779e-05/0.4633, allocations: 28 kB / 0.6102 GB, free: 13.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002576/0.4659, allocations: 1.815 MB / 0.612 GB, free: 11.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4659, allocations: 4 kB / 0.612 GB, free: 11.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002775/0.4687, allocations: 0.6171 MB / 0.6126 GB, free: 10.96 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.00467/0.4733, allocations: 3.811 MB / 0.6163 GB, free: 7.109 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005103/0.4784, allocations: 3.172 MB / 0.6194 GB, free: 3.965 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.4784, allocations: 4.688 kB / 0.6194 GB, free: 3.961 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.4795, allocations: 0.7563 MB / 0.6201 GB, free: 3.203 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.4811, allocations: 288.3 kB / 0.6204 GB, free: 2.934 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04078/0.5219, allocations: 29.88 MB / 0.6496 GB, free: 1.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002537/0.5244, allocations: 2.291 MB / 0.6518 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003246/0.5277, allocations: 1.459 MB / 0.6533 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00188/0.5296, allocations: 1.148 MB / 0.6544 GB, free: 12.23 MB / 494.1 MB Notification: Performance of SimCode: time 1.382e-06/0.5296, allocations: 0 / 0.6544 GB, free: 12.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09798/0.6275, allocations: 45.23 MB / 0.6985 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.86/19.49, allocations: 11.03 kB / 0.6986 GB, free: 15.25 MB / 0.5294 GB " [Timeout remaining time 640] (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: 21.969043120974675] Failed to read output from testmodel.py, exit status != 0: 19.621100035961717 19.637705032 19.492079471 Calling exit ...