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.007895/0.007895, allocations: 103.1 kB / 15.73 MB, free: 6.051 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.001805/0.001805, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1361/0.1361, allocations: 5.198 MB / 295.7 MB, free: 3.062 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 67.91 kB / 408.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2592, allocations: 50.56 MB / 459.1 MB, free: 19.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.007756/0.267, allocations: 7.907 MB / 467 MB, free: 14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006564/0.2736, allocations: 3.478 MB / 470.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.2751, allocations: 38.56 kB / 470.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002487/0.2776, allocations: 1.097 MB / 471.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003643/0.2813, allocations: 1.381 MB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.2826, allocations: 0.5336 MB / 473.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004068/0.2867, allocations: 2.73 MB / 476.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002123/0.2889, allocations: 1.628 MB / 477.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001762/0.2907, allocations: 0.8833 MB / 478.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.2928, allocations: 1.246 MB / 480.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005858/0.2934, allocations: 174 kB / 480.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.2954, allocations: 0.9182 MB / 481.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.2964, allocations: 1.096 MB / 482.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.2977, allocations: 1.348 MB / 483.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004619/0.3023, allocations: 4.388 MB / 488 MB, free: 2.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3023, allocations: 3.938 kB / 488 MB, free: 2.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3023, allocations: 1.375 kB / 488 MB, free: 2.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001088/0.3024, allocations: 0 / 488 MB, free: 2.844 MB / 350.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.0061/0.3086, allocations: 3.16 MB / 491.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3086, allocations: 8.844 kB / 491.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006171/0.3092, allocations: 488.5 kB / 491.6 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006134/0.3154, allocations: 1.679 MB / 493.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004481/0.3199, allocations: 1.767 MB / 495.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.3201, allocations: 147.7 kB / 495.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006993/0.3208, allocations: 171.8 kB / 495.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.3323, allocations: 6.722 MB / 0.4903 GB, free: 6.406 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001211/0.3324, allocations: 31.66 kB / 0.4904 GB, free: 6.375 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006074/0.333, allocations: 87.89 kB / 0.4905 GB, free: 6.289 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00255/0.3356, allocations: 1.46 MB / 0.4919 GB, free: 4.828 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01143/0.347, allocations: 5.966 MB / 0.4977 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03429/0.3814, allocations: 27.37 MB / 0.5244 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004753/0.3862, allocations: 2.393 MB / 0.5268 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.3877, allocations: 1.062 MB / 0.5278 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.408e-05/0.3879, allocations: 19.92 kB / 0.5278 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.3879, allocations: 46.44 kB / 0.5279 GB, free: 14.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 4.068e-06/0.3879, allocations: 0 / 0.5279 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=109): time 0.01921/0.4071, allocations: 7.867 MB / 0.5356 GB, free: 6.965 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.4072, allocations: 141 kB / 0.5357 GB, free: 6.797 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00531/0.4126, allocations: 2.915 MB / 0.5385 GB, free: 3.859 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003758/0.413, allocations: 45.69 kB / 0.5386 GB, free: 3.809 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002234/0.4152, allocations: 2.18 MB / 0.5407 GB, free: 1.598 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007829/0.4161, allocations: 442.5 kB / 0.5411 GB, free: 1.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001996/0.4181, allocations: 0.8886 MB / 0.542 GB, free: 264 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4182, allocations: 305.1 kB / 0.5423 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002476/0.4207, allocations: 1.457 MB / 0.5437 GB, free: 14.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004434/0.4251, allocations: 4.291 MB / 0.5479 GB, free: 8.762 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01424/0.4394, allocations: 8.065 MB / 0.5558 GB, free: 15.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.942e-05/0.4396, allocations: 28 kB / 0.5558 GB, free: 15.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.01058/0.4502, allocations: 5.542 MB / 0.5612 GB, free: 9.699 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.4504, allocations: 48 kB / 0.5613 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002082/0.4506, allocations: 104 kB / 0.5614 GB, free: 9.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001593/0.4508, allocations: 132.8 kB / 0.5615 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004835/0.4556, allocations: 1.228 MB / 0.5627 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001898/0.4558, allocations: 199.2 kB / 0.5629 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003346/0.4592, allocations: 247.6 kB / 0.5631 GB, free: 7.754 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007593/0.46, allocations: 276 kB / 0.5634 GB, free: 7.484 MB / 446.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.003068/0.463, allocations: 1.456 MB / 0.5648 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005914/0.4636, allocations: 244.8 kB / 0.565 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.466, allocations: 1.273 MB / 0.5663 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/0.4661, allocations: 12 kB / 0.5663 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.4661, allocations: 4 kB / 0.5663 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.4661, allocations: 3.984 kB / 0.5663 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00869/0.4748, allocations: 4.25 MB / 0.5704 GB, free: 168 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.4749, allocations: 8 kB / 0.5705 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/0.4768, allocations: 367.4 kB / 0.5708 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-05/0.4769, allocations: 8 kB / 0.5708 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.477, allocations: 16 kB / 0.5708 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.199e-05/0.477, allocations: 4 kB / 0.5708 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4771, allocations: 7.938 kB / 0.5708 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/0.4814, allocations: 3.163 MB / 0.5739 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009152/0.4824, allocations: 301.8 kB / 0.5742 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005915/0.483, allocations: 20 kB / 0.5742 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.4843, allocations: 59.91 kB / 0.5743 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.4845, allocations: 56.25 kB / 0.5743 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-05/0.4846, allocations: 44.25 kB / 0.5744 GB, free: 12.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003447/0.488, allocations: 1.815 MB / 0.5762 GB, free: 10.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.488, allocations: 0 / 0.5762 GB, free: 10.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003948/0.492, allocations: 0.6288 MB / 0.5768 GB, free: 9.625 MB / 462.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.004893/0.4969, allocations: 3.791 MB / 0.5805 GB, free: 5.797 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005429/0.5024, allocations: 3.307 MB / 0.5837 GB, free: 2.512 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.5024, allocations: 0 / 0.5837 GB, free: 2.512 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.5036, allocations: 0.8156 MB / 0.5845 GB, free: 1.699 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.506, allocations: 277.8 kB / 0.5848 GB, free: 1.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2352/0.7412, allocations: 29.77 MB / 0.6138 GB, free: 99.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002465/0.7438, allocations: 2.292 MB / 0.6161 GB, free: 98.38 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003305/0.7471, allocations: 1.453 MB / 0.6175 GB, free: 98.28 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/0.7486, allocations: 1.148 MB / 0.6186 GB, free: 97.37 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.7486, allocations: 0 / 0.6186 GB, free: 97.37 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06598/0.8146, allocations: 42.01 MB / 0.6596 GB, free: 62.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.72/16.53, allocations: 7.875 kB / 0.6597 GB, free: 62.65 MB / 462.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)