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.001141/0.001141, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00113/0.00113, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.151/1.151, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.113/0.113, allocations: 5.196 MB / 295.1 MB, free: 3.117 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001087, allocations: 63.84 kB / 356.6 MB, free: 2.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07381/0.07491, allocations: 50.55 MB / 407.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.01263/0.08757, allocations: 14.88 MB / 422 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1318/0.2193, allocations: 4.717 MB / 426.8 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.2211, allocations: 58.72 kB / 426.8 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001829/0.2229, allocations: 1.063 MB / 427.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002492/0.2255, allocations: 1.289 MB / 429.2 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009332/0.2264, allocations: 496.7 kB / 429.6 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002654/0.2291, allocations: 3.68 MB / 433.3 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.2303, allocations: 1.593 MB / 434.9 MB, free: 34.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000575/0.2309, allocations: 0.7663 MB / 435.7 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000904/0.2318, allocations: 1.332 MB / 437 MB, free: 33.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.232, allocations: 117.7 kB / 437.1 MB, free: 33.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.2331, allocations: 0.9224 MB / 438.1 MB, free: 33.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005325/0.2336, allocations: 1.06 MB / 439.1 MB, free: 32.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006502/0.2343, allocations: 1.309 MB / 440.4 MB, free: 31.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.2364, allocations: 4.191 MB / 444.6 MB, free: 30.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2364, allocations: 0 / 444.6 MB, free: 30.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.2364, allocations: 0 / 444.6 MB, free: 30.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.752e-05/0.2365, allocations: 0 / 444.6 MB, free: 30.6 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.003491/0.24, allocations: 3.155 MB / 447.8 MB, free: 28.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.24, allocations: 9.094 kB / 447.8 MB, free: 28.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003537/0.2404, allocations: 486.2 kB / 448.3 MB, free: 28.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00471/0.2451, allocations: 1.672 MB / 449.9 MB, free: 28.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.247, allocations: 1.761 MB / 451.7 MB, free: 27.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/0.2471, allocations: 136.3 kB / 451.8 MB, free: 27.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002496/0.2473, allocations: 181.5 kB / 452 MB, free: 27.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00582/0.2532, allocations: 6.709 MB / 458.7 MB, free: 24.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.161e-05/0.2532, allocations: 29.16 kB / 458.7 MB, free: 24.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/0.2534, allocations: 89.52 kB / 458.8 MB, free: 24.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002042/0.2555, allocations: 1.451 MB / 460.3 MB, free: 23.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008135/0.2636, allocations: 5.97 MB / 466.2 MB, free: 22.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02042/0.2841, allocations: 27.51 MB / 493.7 MB, free: 17.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003483/0.2876, allocations: 2.382 MB / 496.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009091/0.2885, allocations: 1.063 MB / 497.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.487e-05/0.2885, allocations: 11.66 kB / 497.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.2886, allocations: 46.5 kB / 497.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.226e-06/0.2886, allocations: 7.984 kB / 497.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.01487/0.3035, allocations: 7.857 MB / 0.4933 GB, free: 6.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.3035, allocations: 137 kB / 0.4934 GB, free: 6.016 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002913/0.3064, allocations: 2.919 MB / 0.4963 GB, free: 3.074 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.779e-05/0.3065, allocations: 41.7 kB / 0.4963 GB, free: 3.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.3077, allocations: 2.173 MB / 0.4984 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/0.308, allocations: 452.5 kB / 0.4988 GB, free: 432 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009222/0.3089, allocations: 0.8923 MB / 0.4997 GB, free: 15.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.869e-05/0.309, allocations: 309 kB / 0.5 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.3109, allocations: 1.445 MB / 0.5014 GB, free: 13.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003368/0.3142, allocations: 4.295 MB / 0.5056 GB, free: 8.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/0.3257, allocations: 8.068 MB / 0.5135 GB, free: 14.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.655e-05/0.3257, allocations: 31.94 kB / 0.5135 GB, free: 14.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.006885/0.3326, allocations: 5.534 MB / 0.5189 GB, free: 8.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/0.3327, allocations: 55.22 kB / 0.519 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.897e-05/0.3328, allocations: 100 kB / 0.5191 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-05/0.3329, allocations: 136 kB / 0.5192 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003362/0.3362, allocations: 1.224 MB / 0.5204 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001257/0.3364, allocations: 200.9 kB / 0.5206 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/0.3385, allocations: 243.6 kB / 0.5208 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002792/0.3388, allocations: 286.1 kB / 0.5211 GB, free: 6.746 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.001629/0.3404, allocations: 1.452 MB / 0.5225 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/0.3407, allocations: 240.8 kB / 0.5228 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.3425, allocations: 1.273 MB / 0.524 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.3425, allocations: 16 kB / 0.524 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3425, allocations: 288 / 0.524 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3425, allocations: 7.984 kB / 0.524 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00548/0.348, allocations: 4.25 MB / 0.5282 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.348, allocations: 3.938 kB / 0.5282 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/0.3496, allocations: 371.4 kB / 0.5285 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.3497, allocations: 4 kB / 0.5285 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.186e-05/0.3497, allocations: 20 kB / 0.5286 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.3497, allocations: 4 kB / 0.5286 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3498, allocations: 3.984 kB / 0.5286 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003478/0.3532, allocations: 3.176 MB / 0.5317 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/0.3536, allocations: 297.8 kB / 0.5319 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/0.3538, allocations: 19.98 kB / 0.532 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007693/0.3546, allocations: 62.11 kB / 0.532 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.3548, allocations: 56.3 kB / 0.5321 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.961e-05/0.3548, allocations: 32 kB / 0.5321 GB, free: 11.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002072/0.3569, allocations: 1.815 MB / 0.5339 GB, free: 9.555 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3569, allocations: 0 / 0.5339 GB, free: 9.555 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002429/0.3594, allocations: 0.6387 MB / 0.5345 GB, free: 8.918 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.003803/0.3632, allocations: 3.785 MB / 0.5382 GB, free: 5.094 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004044/0.3672, allocations: 3.296 MB / 0.5414 GB, free: 1.816 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3672, allocations: 0 / 0.5414 GB, free: 1.816 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009676/0.3682, allocations: 0.8128 MB / 0.5422 GB, free: 1.008 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.3696, allocations: 273.5 kB / 0.5425 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0388/0.4084, allocations: 33.47 MB / 0.5752 GB, free: 10.17 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002197/0.4106, allocations: 2.291 MB / 0.5774 GB, free: 7.855 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003016/0.4136, allocations: 1.455 MB / 0.5788 GB, free: 6.395 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/0.415, allocations: 1.148 MB / 0.5799 GB, free: 5.246 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4151, allocations: 0 / 0.5799 GB, free: 5.246 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.629/3.044, allocations: 43.24 MB / 0.6222 GB, free: 137.9 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001407/3.045, allocations: 180.7 kB / 0.6223 GB, free: 137.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.963/6.008, allocations: 3.938 kB / 0.6223 GB, free: 137.6 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)