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.001215/0.001215, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009838/0.0009838, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.2129/0.2129, allocations: 5.187 MB / 296.2 MB, free: 4.125 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003123, allocations: 11.94 kB / 358.3 MB, free: 1.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1018, allocations: 51.56 MB / 409.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.01396/0.1158, allocations: 12.68 MB / 422.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1906/0.3065, allocations: 4.417 MB / 427 MB, free: 33.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00182/0.3083, allocations: 58.47 kB / 427 MB, free: 33.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.3096, allocations: 0.6086 MB / 427.6 MB, free: 33.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004575/0.3142, allocations: 1.991 MB / 429.6 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009494/0.3152, allocations: 419.3 kB / 430 MB, free: 33.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002208/0.3174, allocations: 1.556 MB / 431.6 MB, free: 33.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/0.3195, allocations: 1.922 MB / 433.5 MB, free: 33.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000783/0.3203, allocations: 0.652 MB / 434.2 MB, free: 33.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008757/0.3212, allocations: 0.9042 MB / 435.1 MB, free: 33.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001904/0.3214, allocations: 90.09 kB / 435.2 MB, free: 33.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.3226, allocations: 0.7292 MB / 435.9 MB, free: 33.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005966/0.3232, allocations: 0.9336 MB / 436.8 MB, free: 32.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003462/0.3235, allocations: 0.5329 MB / 437.4 MB, free: 32.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002393/0.3259, allocations: 3.283 MB / 440.6 MB, free: 32.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.3259, allocations: 0 / 440.6 MB, free: 32.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.326, allocations: 0 / 440.6 MB, free: 32.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.987e-05/0.326, allocations: 0 / 440.6 MB, free: 32.54 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.004556/0.3306, allocations: 2.73 MB / 443.4 MB, free: 31.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3307, allocations: 9.25 kB / 443.4 MB, free: 31.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005231/0.3312, allocations: 483.8 kB / 443.8 MB, free: 31.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006158/0.3374, allocations: 1.996 MB / 445.8 MB, free: 30.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002929/0.3403, allocations: 1.521 MB / 447.4 MB, free: 30.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.46e-05/0.3404, allocations: 138.6 kB / 447.5 MB, free: 30.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003445/0.3408, allocations: 174.8 kB / 447.7 MB, free: 30.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00848/0.3493, allocations: 6.747 MB / 454.4 MB, free: 28.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.477e-05/0.3494, allocations: 35.36 kB / 454.5 MB, free: 28.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002775/0.3497, allocations: 90.64 kB / 454.5 MB, free: 28.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00221/0.3519, allocations: 1.449 MB / 456 MB, free: 28.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.3629, allocations: 5.993 MB / 462 MB, free: 26.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03412/0.397, allocations: 27.53 MB / 489.5 MB, free: 22.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004808/0.4019, allocations: 2.387 MB / 491.9 MB, free: 20.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.209e-05/0.402, allocations: 18.89 kB / 491.9 MB, free: 20.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.4021, allocations: 41.91 kB / 492 MB, free: 20.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.416e-06/0.4021, allocations: 2.094 kB / 492 MB, free: 20.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.01929/0.4214, allocations: 8.124 MB / 0.4884 GB, free: 14.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.4215, allocations: 141 kB / 0.4885 GB, free: 14.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004235/0.4257, allocations: 3.017 MB / 0.4914 GB, free: 11.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.4259, allocations: 41.7 kB / 0.4915 GB, free: 11.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001546/0.4274, allocations: 2.176 MB / 0.4936 GB, free: 8.852 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004844/0.4279, allocations: 454.7 kB / 0.494 GB, free: 8.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.4282, allocations: 89.34 kB / 0.4941 GB, free: 8.324 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002873/0.4285, allocations: 499.7 kB / 0.4946 GB, free: 7.828 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002258/0.4307, allocations: 1.437 MB / 0.496 GB, free: 6.383 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003847/0.4346, allocations: 4.268 MB / 0.5002 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00341/0.438, allocations: 2.424 MB / 0.5025 GB, free: 14.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.939e-05/0.4381, allocations: 29.12 kB / 0.5026 GB, free: 14.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.008846/0.447, allocations: 5.519 MB / 0.508 GB, free: 8.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.251e-05/0.4471, allocations: 48 kB / 0.508 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/0.4472, allocations: 100 kB / 0.5081 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00014/0.4473, allocations: 148.8 kB / 0.5082 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004245/0.4516, allocations: 1.236 MB / 0.5094 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001578/0.4518, allocations: 195.2 kB / 0.5096 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002995/0.4548, allocations: 250.2 kB / 0.5099 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004674/0.4553, allocations: 284.5 kB / 0.5101 GB, free: 6.457 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: idealActuatorVel.firstOrder.y:VARIABLE(flow=false start = idealActuatorVel.firstOrder.y_start fixed = true ) "Connector of Real output signal" type: Real 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 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002359/0.4576, allocations: 1.444 MB / 0.5116 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004858/0.4581, allocations: 240.5 kB / 0.5118 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.4603, allocations: 1.292 MB / 0.513 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.389e-05/0.4603, allocations: 12 kB / 0.5131 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.4603, allocations: 0 / 0.5131 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/0.4604, allocations: 15.91 kB / 0.5131 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008104/0.4685, allocations: 4.272 MB / 0.5172 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.4685, allocations: 0 / 0.5172 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/0.4704, allocations: 371.3 kB / 0.5176 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.767e-05/0.4705, allocations: 8 kB / 0.5176 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-05/0.4706, allocations: 16 kB / 0.5176 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/0.4706, allocations: 4 kB / 0.5176 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.4706, allocations: 7.938 kB / 0.5176 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003964/0.4746, allocations: 3.255 MB / 0.5208 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007173/0.4753, allocations: 309.8 kB / 0.5211 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004538/0.4757, allocations: 19.98 kB / 0.5211 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.4768, allocations: 63.92 kB / 0.5212 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.477, allocations: 58.72 kB / 0.5212 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.958e-05/0.4771, allocations: 28 kB / 0.5213 GB, free: 10.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003119/0.4802, allocations: 1.89 MB / 0.5231 GB, free: 9.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4802, allocations: 0 / 0.5231 GB, free: 9.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003439/0.4837, allocations: 0.6562 MB / 0.5238 GB, free: 8.371 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004512/0.4882, allocations: 4.141 MB / 0.5278 GB, free: 4.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005192/0.4934, allocations: 3.289 MB / 0.531 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.4934, allocations: 0 / 0.531 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.4945, allocations: 0.8073 MB / 0.5318 GB, free: 120 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.4962, allocations: 256.9 kB / 0.532 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2396/0.7358, allocations: 91.21 MB / 0.6211 GB, free: 77.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/0.7375, allocations: 2.346 MB / 0.6234 GB, free: 76.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00298/0.7405, allocations: 1.464 MB / 0.6248 GB, free: 76.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/0.7417, allocations: 1.143 MB / 0.6259 GB, free: 76.56 MB / 446.1 MB Notification: Performance of SimCode: time 7.12e-07/0.7417, allocations: 0 / 0.6259 GB, free: 76.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0779/0.8197, allocations: 48.93 MB / 0.6737 GB, free: 53.82 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.8199, allocations: 158.1 kB / 0.6739 GB, free: 53.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.961/3.781, allocations: 0 / 0.6739 GB, free: 53.59 MB / 446.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/linux/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) Environment - environmentSimulation: