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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004829/0.004829, allocations: 100.5 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 195.5 kB / 16.68 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02504/0.02504, allocations: 5.242 MB / 295.8 MB, free: 9.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.91 kB / 408.6 MB, free: 26.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08522/0.08642, allocations: 50.58 MB / 459.1 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.008345/0.0948, allocations: 7.919 MB / 467.1 MB, free: 152 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005378/0.1002, allocations: 3.481 MB / 470.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000509/0.1007, allocations: 39.88 kB / 470.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001953/0.1027, allocations: 1.093 MB / 471.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002405/0.1051, allocations: 1.405 MB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009764/0.1061, allocations: 0.5419 MB / 473.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002767/0.1089, allocations: 2.725 MB / 476.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.1106, allocations: 1.631 MB / 478 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009317/0.1115, allocations: 0.8874 MB / 478.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.1128, allocations: 1.238 MB / 480.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.1131, allocations: 172 kB / 480.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.1144, allocations: 0.9243 MB / 481.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000776/0.1152, allocations: 1.099 MB / 482.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.1162, allocations: 1.351 MB / 483.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003805/0.12, allocations: 4.383 MB / 488 MB, free: 11.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1201, allocations: 0 / 488 MB, free: 11.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1201, allocations: 0 / 488 MB, free: 11.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.972e-05/0.1201, allocations: 0 / 488 MB, free: 11.09 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.005006/0.1251, allocations: 3.16 MB / 491.2 MB, free: 7.867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.1252, allocations: 8.031 kB / 491.2 MB, free: 7.859 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005714/0.1258, allocations: 487.4 kB / 491.7 MB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005475/0.1312, allocations: 1.678 MB / 493.3 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002727/0.134, allocations: 1.769 MB / 495.1 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.934e-05/0.1341, allocations: 135.7 kB / 495.2 MB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003137/0.1344, allocations: 187.8 kB / 495.4 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008182/0.1426, allocations: 6.707 MB / 0.4904 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.624e-05/0.1427, allocations: 31.66 kB / 0.4904 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002265/0.1429, allocations: 91.89 kB / 0.4905 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002122/0.1451, allocations: 1.456 MB / 0.4919 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008669/0.1537, allocations: 5.962 MB / 0.4977 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2263/0.3801, allocations: 27.4 MB / 0.5245 GB, free: 28.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004211/0.3843, allocations: 2.38 MB / 0.5268 GB, free: 27.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.3856, allocations: 1.072 MB / 0.5279 GB, free: 26.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.309e-05/0.3856, allocations: 14.34 kB / 0.5279 GB, free: 26.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.3857, allocations: 46.69 kB / 0.5279 GB, free: 26.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.406e-06/0.3857, allocations: 0 / 0.5279 GB, free: 26.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.01565/0.4013, allocations: 7.848 MB / 0.5356 GB, free: 22.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.4014, allocations: 147.9 kB / 0.5357 GB, free: 22.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003099/0.4045, allocations: 2.916 MB / 0.5386 GB, free: 21.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.59e-05/0.4046, allocations: 40.73 kB / 0.5386 GB, free: 21.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009325/0.4056, allocations: 2.187 MB / 0.5407 GB, free: 19.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003381/0.4059, allocations: 446.5 kB / 0.5412 GB, free: 18.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008383/0.4067, allocations: 0.8938 MB / 0.542 GB, free: 18.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.5e-05/0.4068, allocations: 301.1 kB / 0.5423 GB, free: 18.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/0.4085, allocations: 1.45 MB / 0.5437 GB, free: 16.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002774/0.4113, allocations: 4.291 MB / 0.5479 GB, free: 11.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/0.4223, allocations: 8.065 MB / 0.5558 GB, free: 1.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.442e-05/0.4223, allocations: 32.94 kB / 0.5558 GB, free: 1.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.007821/0.4302, allocations: 5.535 MB / 0.5612 GB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.566e-05/0.4302, allocations: 48 kB / 0.5613 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.07e-05/0.4303, allocations: 100 kB / 0.5614 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/0.4305, allocations: 136.7 kB / 0.5615 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003703/0.4342, allocations: 1.228 MB / 0.5627 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001569/0.4343, allocations: 203.2 kB / 0.5629 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/0.4368, allocations: 243.5 kB / 0.5631 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003236/0.4371, allocations: 283.5 kB / 0.5634 GB, free: 9.898 MB / 398.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.001957/0.4391, allocations: 1.447 MB / 0.5648 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003757/0.4394, allocations: 242.7 kB / 0.5651 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/0.4414, allocations: 1.284 MB / 0.5663 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.4415, allocations: 16 kB / 0.5663 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.4415, allocations: 0 / 0.5663 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.4415, allocations: 3.984 kB / 0.5663 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006487/0.448, allocations: 4.249 MB / 0.5705 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.448, allocations: 0 / 0.5705 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/0.4498, allocations: 371.4 kB / 0.5708 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.4498, allocations: 7.938 kB / 0.5708 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-05/0.4499, allocations: 20 kB / 0.5709 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.4499, allocations: 4 kB / 0.5709 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4499, allocations: 3.938 kB / 0.5709 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004006/0.454, allocations: 3.161 MB / 0.574 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000453/0.4544, allocations: 297.9 kB / 0.5742 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/0.4547, allocations: 23.83 kB / 0.5743 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008294/0.4555, allocations: 59.92 kB / 0.5743 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.4557, allocations: 56.3 kB / 0.5744 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.807e-05/0.4557, allocations: 32 kB / 0.5744 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002482/0.4582, allocations: 1.815 MB / 0.5762 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4582, allocations: 1.406 kB / 0.5762 GB, free: 12.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002852/0.4611, allocations: 0.6317 MB / 0.5768 GB, free: 12.1 MB / 414.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.004531/0.4656, allocations: 3.793 MB / 0.5805 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005339/0.471, allocations: 3.314 MB / 0.5837 GB, free: 4.984 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.471, allocations: 0 / 0.5837 GB, free: 4.984 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.4721, allocations: 0.808 MB / 0.5845 GB, free: 4.184 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.4736, allocations: 292.2 kB / 0.5848 GB, free: 3.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04244/0.516, allocations: 29.78 MB / 0.6139 GB, free: 2.281 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002949/0.519, allocations: 2.293 MB / 0.6161 GB, free: 15.96 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003489/0.5225, allocations: 1.462 MB / 0.6176 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001918/0.5245, allocations: 1.144 MB / 0.6187 GB, free: 13.35 MB / 462.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5245, allocations: 0 / 0.6187 GB, free: 13.35 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0774/0.6019, allocations: 41.38 MB / 0.6591 GB, free: 4.246 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.4/17, allocations: 7.938 kB / 0.6591 GB, free: 4.238 MB / 494.1 MB (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 --timeout=50 --tolerance=1e-06 DeltaRobot_DeltaRobot_Tests_IdealActuatorVel_test.fmu > DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.pipe 2>&1)