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.001456/0.001456, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1581/0.1581, allocations: 5.212 MB / 295.6 MB, free: 3.035 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.91 kB / 357.3 MB, free: 1.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09253/0.09398, allocations: 50.56 MB / 407.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.009742/0.1038, allocations: 7.919 MB / 415.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00643/0.1102, allocations: 3.492 MB / 419.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.1113, allocations: 43.88 kB / 419.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002498/0.1138, allocations: 1.086 MB / 420.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003352/0.1172, allocations: 1.378 MB / 421.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.1184, allocations: 0.538 MB / 422.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1629/0.2814, allocations: 2.719 MB / 425 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.2829, allocations: 1.629 MB / 426.7 MB, free: 35.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009529/0.2839, allocations: 0.8789 MB / 427.5 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.285, allocations: 1.241 MB / 428.8 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002925/0.2853, allocations: 174.4 kB / 428.9 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.2866, allocations: 0.9178 MB / 429.9 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000616/0.2872, allocations: 1.099 MB / 431 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007781/0.288, allocations: 1.342 MB / 432.3 MB, free: 35.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002803/0.2908, allocations: 4.215 MB / 436.5 MB, free: 34.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2908, allocations: 4 kB / 436.5 MB, free: 34.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2908, allocations: 0 / 436.5 MB, free: 34.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.143e-05/0.2909, allocations: 0.6562 kB / 436.5 MB, free: 34.12 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.004442/0.2953, allocations: 3.156 MB / 439.7 MB, free: 32.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.2954, allocations: 8.938 kB / 439.7 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004469/0.2958, allocations: 488.2 kB / 440.2 MB, free: 32.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005798/0.3016, allocations: 1.672 MB / 441.8 MB, free: 31.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/0.3043, allocations: 1.757 MB / 443.6 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.341e-05/0.3044, allocations: 140.6 kB / 443.7 MB, free: 31.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003229/0.3048, allocations: 173.8 kB / 443.9 MB, free: 31.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008041/0.3128, allocations: 6.711 MB / 450.6 MB, free: 27.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.985e-05/0.3129, allocations: 32.94 kB / 450.6 MB, free: 27.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000242/0.3132, allocations: 88.69 kB / 450.7 MB, free: 27.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002273/0.3154, allocations: 1.459 MB / 452.2 MB, free: 27.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009866/0.3253, allocations: 5.969 MB / 458.2 MB, free: 25.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02994/0.3553, allocations: 27.49 MB / 485.6 MB, free: 22.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00466/0.36, allocations: 2.385 MB / 488 MB, free: 21.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.3613, allocations: 1.079 MB / 489.1 MB, free: 20.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.874e-05/0.3613, allocations: 12.45 kB / 489.1 MB, free: 20.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3614, allocations: 48.56 kB / 489.2 MB, free: 20.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.015e-06/0.3614, allocations: 6.969 kB / 489.2 MB, free: 20.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.01658/0.378, allocations: 7.848 MB / 497 MB, free: 15.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.3781, allocations: 141 kB / 497.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003074/0.3811, allocations: 2.915 MB / 0.4884 GB, free: 12.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.3813, allocations: 41.7 kB / 0.4884 GB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001323/0.3826, allocations: 2.18 MB / 0.4905 GB, free: 10.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003835/0.383, allocations: 453 kB / 0.491 GB, free: 9.992 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/0.384, allocations: 0.8925 MB / 0.4918 GB, free: 9.086 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.877e-05/0.3841, allocations: 305.1 kB / 0.4921 GB, free: 8.785 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002101/0.3862, allocations: 1.448 MB / 0.4935 GB, free: 7.332 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003791/0.39, allocations: 4.296 MB / 0.4977 GB, free: 1.645 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01439/0.4044, allocations: 8.078 MB / 0.5056 GB, free: 8.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.519e-05/0.4045, allocations: 28 kB / 0.5056 GB, free: 8.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.009324/0.4139, allocations: 5.535 MB / 0.511 GB, free: 2.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.982e-05/0.414, allocations: 48.94 kB / 0.5111 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/0.4141, allocations: 101.8 kB / 0.5112 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.4142, allocations: 136 kB / 0.5113 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004096/0.4183, allocations: 1.228 MB / 0.5125 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001402/0.4185, allocations: 199.2 kB / 0.5127 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/0.4212, allocations: 243.6 kB / 0.5129 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003377/0.4216, allocations: 276 kB / 0.5132 GB, free: 0.4961 MB / 382.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.002146/0.4237, allocations: 1.455 MB / 0.5146 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003911/0.4241, allocations: 244.8 kB / 0.5149 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.4262, allocations: 1.269 MB / 0.5161 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-05/0.4263, allocations: 12 kB / 0.5161 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/0.4263, allocations: 4 kB / 0.5161 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.4263, allocations: 7.984 kB / 0.5161 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007196/0.4335, allocations: 4.259 MB / 0.5203 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.4335, allocations: 3.984 kB / 0.5203 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002054/0.4356, allocations: 367.4 kB / 0.5206 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.501e-05/0.4356, allocations: 4 kB / 0.5206 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-05/0.4357, allocations: 24.03 kB / 0.5207 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.4358, allocations: 7 kB / 0.5207 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4358, allocations: 0 / 0.5207 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004109/0.4399, allocations: 3.172 MB / 0.5238 GB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006326/0.4405, allocations: 301.8 kB / 0.5241 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004459/0.441, allocations: 12 kB / 0.5241 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.4421, allocations: 59.92 kB / 0.5241 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.4423, allocations: 62.8 kB / 0.5242 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.164e-05/0.4423, allocations: 24 kB / 0.5242 GB, free: 5.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003017/0.4454, allocations: 1.819 MB / 0.526 GB, free: 3.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4454, allocations: 0 / 0.526 GB, free: 3.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003184/0.4486, allocations: 0.6405 MB / 0.5266 GB, free: 2.656 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 (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.004445/0.453, allocations: 3.782 MB / 0.5303 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005668/0.4587, allocations: 3.569 MB / 0.5338 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4587, allocations: 0 / 0.5338 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.4598, allocations: 0.8079 MB / 0.5346 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/0.4618, allocations: 289.7 kB / 0.5349 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04509/0.5069, allocations: 32.31 MB / 0.5664 GB, free: 4.801 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/0.5097, allocations: 2.283 MB / 0.5686 GB, free: 2.488 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003834/0.5135, allocations: 1.463 MB / 0.5701 GB, free: 1.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001663/0.5152, allocations: 1.148 MB / 0.5712 GB, free: 15.87 MB / 462.1 MB Notification: Performance of SimCode: time 7.62e-07/0.5152, allocations: 0 / 0.5712 GB, free: 15.87 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2536/0.7688, allocations: 44.21 MB / 0.6144 GB, free: 144.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.517/9.286, allocations: 4.594 kB / 0.6144 GB, free: 144.7 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)