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.001178/0.001178, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00101/0.001009, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.219/1.219, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1067/0.1067, allocations: 5.199 MB / 295.3 MB, free: 3.008 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 60.14 kB / 356.8 MB, free: 2.109 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07902/0.08011, allocations: 50.56 MB / 407.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.0146/0.09476, allocations: 14.89 MB / 422.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.152/0.2468, allocations: 4.613 MB / 426.8 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.2479, allocations: 59.38 kB / 426.9 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.2495, allocations: 1.05 MB / 427.9 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.2515, allocations: 1.282 MB / 429.2 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007442/0.2522, allocations: 0.5021 MB / 429.7 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001885/0.2541, allocations: 2.745 MB / 432.5 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.2554, allocations: 1.726 MB / 434.2 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006527/0.256, allocations: 0.8901 MB / 435.1 MB, free: 33.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000967/0.257, allocations: 1.392 MB / 436.5 MB, free: 33.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.2572, allocations: 175.2 kB / 436.7 MB, free: 33.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009948/0.2582, allocations: 0.9337 MB / 437.6 MB, free: 33.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005593/0.2588, allocations: 1.116 MB / 438.7 MB, free: 32.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006715/0.2595, allocations: 1.361 MB / 440.1 MB, free: 31.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002425/0.2619, allocations: 4.259 MB / 444.3 MB, free: 30.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2619, allocations: 0 / 444.3 MB, free: 30.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2619, allocations: 0 / 444.3 MB, free: 30.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.577e-05/0.2619, allocations: 0 / 444.3 MB, free: 30.34 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.003801/0.2658, allocations: 3.162 MB / 447.5 MB, free: 28.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.2658, allocations: 9.688 kB / 447.5 MB, free: 28.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003757/0.2662, allocations: 481.2 kB / 448 MB, free: 28.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004858/0.271, allocations: 1.679 MB / 449.6 MB, free: 28.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.273, allocations: 1.76 MB / 451.4 MB, free: 27.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.2731, allocations: 135 kB / 451.5 MB, free: 27.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002699/0.2734, allocations: 170.5 kB / 451.7 MB, free: 27.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006121/0.2795, allocations: 6.72 MB / 458.4 MB, free: 23.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.652e-05/0.2796, allocations: 36.78 kB / 458.5 MB, free: 23.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002265/0.2798, allocations: 89.11 kB / 458.5 MB, free: 23.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002053/0.2819, allocations: 1.455 MB / 460 MB, free: 23.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008452/0.2903, allocations: 5.962 MB / 466 MB, free: 21.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02188/0.3122, allocations: 27.5 MB / 493.5 MB, free: 17.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003728/0.316, allocations: 2.38 MB / 495.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009707/0.317, allocations: 1.079 MB / 496.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.971e-05/0.317, allocations: 11.19 kB / 496.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.317, allocations: 38.56 kB / 497 MB, free: 14.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 2.635e-06/0.317, allocations: 0 / 497 MB, free: 14.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.01519/0.3322, allocations: 7.856 MB / 0.493 GB, free: 6.625 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.3323, allocations: 137 kB / 0.4931 GB, free: 6.461 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00318/0.3355, allocations: 2.923 MB / 0.496 GB, free: 3.516 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.239e-05/0.3356, allocations: 37.7 kB / 0.496 GB, free: 3.473 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001162/0.3368, allocations: 2.181 MB / 0.4981 GB, free: 1.297 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/0.3371, allocations: 446 kB / 0.4986 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009205/0.338, allocations: 0.8879 MB / 0.4994 GB, free: 15.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.026e-05/0.3381, allocations: 313.1 kB / 0.4997 GB, free: 15.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001821/0.3399, allocations: 1.445 MB / 0.5011 GB, free: 14.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003327/0.3433, allocations: 4.303 MB / 0.5053 GB, free: 8.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01201/0.3553, allocations: 8.068 MB / 0.5132 GB, free: 14.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.994e-05/0.3553, allocations: 32 kB / 0.5133 GB, free: 14.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.00727/0.3626, allocations: 5.53 MB / 0.5187 GB, free: 9.406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.876e-05/0.3627, allocations: 52 kB / 0.5187 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.628e-05/0.3628, allocations: 104 kB / 0.5188 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001069/0.3629, allocations: 132 kB / 0.5189 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00347/0.3664, allocations: 1.233 MB / 0.5201 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001225/0.3665, allocations: 195.2 kB / 0.5203 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/0.3689, allocations: 247.6 kB / 0.5206 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002875/0.3692, allocations: 282.6 kB / 0.5208 GB, free: 7.184 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.001744/0.3709, allocations: 1.461 MB / 0.5223 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003141/0.3713, allocations: 240.8 kB / 0.5225 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/0.3731, allocations: 1.277 MB / 0.5237 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.3731, allocations: 16 kB / 0.5237 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3731, allocations: 0 / 0.5237 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/0.3731, allocations: 3.984 kB / 0.5237 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005448/0.3786, allocations: 4.249 MB / 0.5279 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3786, allocations: 4 kB / 0.5279 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/0.3803, allocations: 367.4 kB / 0.5283 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.3803, allocations: 4 kB / 0.5283 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-05/0.3804, allocations: 23.92 kB / 0.5283 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.3804, allocations: 4 kB / 0.5283 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3804, allocations: 4 kB / 0.5283 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003438/0.3839, allocations: 3.167 MB / 0.5314 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/0.3842, allocations: 301.8 kB / 0.5317 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/0.3845, allocations: 20 kB / 0.5317 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000815/0.3853, allocations: 63.91 kB / 0.5317 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.3855, allocations: 52.31 kB / 0.5318 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.857e-05/0.3855, allocations: 42.11 kB / 0.5318 GB, free: 11.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002074/0.3876, allocations: 1.815 MB / 0.5336 GB, free: 9.984 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3876, allocations: 0 / 0.5336 GB, free: 9.984 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002583/0.3902, allocations: 0.6367 MB / 0.5342 GB, free: 9.348 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.00379/0.394, allocations: 3.785 MB / 0.5379 GB, free: 5.527 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004589/0.3986, allocations: 3.559 MB / 0.5414 GB, free: 1.988 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3986, allocations: 4 kB / 0.5414 GB, free: 1.984 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000945/0.3996, allocations: 0.8104 MB / 0.5422 GB, free: 1.176 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.401, allocations: 286.2 kB / 0.5425 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03654/0.4375, allocations: 33.46 MB / 0.5752 GB, free: 10.33 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001887/0.4394, allocations: 2.291 MB / 0.5774 GB, free: 8.012 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003022/0.4425, allocations: 1.451 MB / 0.5788 GB, free: 6.555 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/0.4438, allocations: 1.148 MB / 0.5799 GB, free: 5.406 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4438, allocations: 0 / 0.5799 GB, free: 5.406 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.802/4.246, allocations: 44.04 MB / 0.6229 GB, free: 139.6 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001396/4.246, allocations: 175.9 kB / 0.6231 GB, free: 139.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/6.775, allocations: 0 / 0.6231 GB, free: 139.3 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)