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.0008088/0.000809, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008271/0.0008273, allocations: 168.7 kB / 15.95 MB, free: 204 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.285/1.285, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1833/0.1833, allocations: 5.197 MB / 296.3 MB, free: 3.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003068, allocations: 8 kB / 358.4 MB, free: 1.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1063, allocations: 51.55 MB / 410 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.0126/0.119, allocations: 13.38 MB / 423.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2172/0.3362, allocations: 4.35 MB / 427.7 MB, free: 33.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001828/0.3381, allocations: 56.16 kB / 427.8 MB, free: 33.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.3394, allocations: 0.668 MB / 428.4 MB, free: 33.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005814/0.3452, allocations: 2.187 MB / 430.6 MB, free: 33.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.3467, allocations: 440 kB / 431 MB, free: 33.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004/0.3507, allocations: 2.93 MB / 434 MB, free: 32.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002448/0.3531, allocations: 1.925 MB / 435.9 MB, free: 32.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.3543, allocations: 0.767 MB / 436.7 MB, free: 32.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.3555, allocations: 1.228 MB / 437.9 MB, free: 32.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.3557, allocations: 88.81 kB / 438 MB, free: 32.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.357, allocations: 0.7495 MB / 438.7 MB, free: 32.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007057/0.3577, allocations: 0.9971 MB / 439.7 MB, free: 32.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000434/0.3581, allocations: 0.5321 MB / 440.3 MB, free: 31.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.3606, allocations: 3.283 MB / 443.5 MB, free: 31.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3606, allocations: 11.22 kB / 443.5 MB, free: 31.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3606, allocations: 0 / 443.5 MB, free: 31.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.71e-05/0.3607, allocations: 0 / 443.5 MB, free: 31.67 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.003965/0.3647, allocations: 2.668 MB / 446.2 MB, free: 30.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3647, allocations: 16.69 kB / 446.2 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000491/0.3652, allocations: 480.3 kB / 446.7 MB, free: 30.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005052/0.3703, allocations: 1.721 MB / 448.4 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002858/0.3732, allocations: 1.729 MB / 450.1 MB, free: 29.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.3733, allocations: 134.3 kB / 450.3 MB, free: 29.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003258/0.3736, allocations: 178.2 kB / 450.5 MB, free: 29.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008241/0.3819, allocations: 6.716 MB / 457.2 MB, free: 27.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.92e-05/0.382, allocations: 34.69 kB / 457.2 MB, free: 27.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000223/0.3822, allocations: 85.78 kB / 457.3 MB, free: 27.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002217/0.3844, allocations: 1.459 MB / 458.7 MB, free: 27.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01323/0.3977, allocations: 5.96 MB / 464.7 MB, free: 25.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03334/0.431, allocations: 27.46 MB / 492.2 MB, free: 20.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004187/0.4353, allocations: 2.371 MB / 494.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.4366, allocations: 1.069 MB / 495.6 MB, free: 18.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.829e-05/0.4366, allocations: 15.44 kB / 495.6 MB, free: 18.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.4367, allocations: 52.55 kB / 495.7 MB, free: 18.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.467e-06/0.4367, allocations: 0 / 495.7 MB, free: 18.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.01576/0.4524, allocations: 7.85 MB / 0.4917 GB, free: 10.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/0.4526, allocations: 140.9 kB / 0.4919 GB, free: 10.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003882/0.4565, allocations: 2.91 MB / 0.4947 GB, free: 7.637 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000189/0.4567, allocations: 37.7 kB / 0.4947 GB, free: 7.594 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.458, allocations: 2.184 MB / 0.4969 GB, free: 5.422 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004727/0.4585, allocations: 454.3 kB / 0.4973 GB, free: 4.984 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.4587, allocations: 85.22 kB / 0.4974 GB, free: 4.902 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002494/0.459, allocations: 499.7 kB / 0.4979 GB, free: 4.406 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002117/0.4611, allocations: 1.433 MB / 0.4993 GB, free: 2.965 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004101/0.4652, allocations: 4.284 MB / 0.5034 GB, free: 13.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003381/0.4686, allocations: 2.43 MB / 0.5058 GB, free: 10.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.564e-05/0.4687, allocations: 32 kB / 0.5058 GB, free: 10.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.008902/0.4776, allocations: 5.513 MB / 0.5112 GB, free: 5.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.42e-05/0.4777, allocations: 48 kB / 0.5113 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/0.4778, allocations: 101.5 kB / 0.5114 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001394/0.478, allocations: 148 kB / 0.5115 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003884/0.4818, allocations: 1.232 MB / 0.5127 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001599/0.482, allocations: 199.2 kB / 0.5129 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003002/0.485, allocations: 255.9 kB / 0.5132 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003857/0.4854, allocations: 276 kB / 0.5134 GB, free: 3.023 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.002345/0.4878, allocations: 1.45 MB / 0.5148 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004547/0.4883, allocations: 244.8 kB / 0.5151 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.4904, allocations: 1.281 MB / 0.5163 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.4904, allocations: 12 kB / 0.5163 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.4904, allocations: 8 kB / 0.5163 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.4904, allocations: 3.984 kB / 0.5163 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006652/0.4971, allocations: 4.269 MB / 0.5205 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/0.4971, allocations: 0 / 0.5205 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/0.4988, allocations: 371.4 kB / 0.5209 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.4988, allocations: 4 kB / 0.5209 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.197e-05/0.4989, allocations: 23.98 kB / 0.5209 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.378e-06/0.4989, allocations: 7.984 kB / 0.5209 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.4989, allocations: 7.953 kB / 0.5209 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/0.5028, allocations: 3.169 MB / 0.524 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007098/0.5035, allocations: 309.8 kB / 0.5243 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.5038, allocations: 20 kB / 0.5243 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008073/0.5046, allocations: 63.91 kB / 0.5244 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.5047, allocations: 56.31 kB / 0.5244 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-05/0.5048, allocations: 30.89 kB / 0.5245 GB, free: 7.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002727/0.5076, allocations: 1.8 MB / 0.5262 GB, free: 5.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5076, allocations: 0 / 0.5262 GB, free: 5.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003408/0.511, allocations: 0.6328 MB / 0.5268 GB, free: 5.168 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.00415/0.5151, allocations: 3.8 MB / 0.5305 GB, free: 1.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005052/0.5202, allocations: 3.292 MB / 0.5338 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.5202, allocations: 0 / 0.5338 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.5213, allocations: 0.8154 MB / 0.5346 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.5232, allocations: 275.1 kB / 0.5348 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03574/0.5589, allocations: 21.51 MB / 0.5558 GB, free: 4.855 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002097/0.5611, allocations: 2.288 MB / 0.5581 GB, free: 2.539 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003551/0.5646, allocations: 1.451 MB / 0.5595 GB, free: 1.082 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/0.5662, allocations: 1.144 MB / 0.5606 GB, free: 15.93 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5663, allocations: 4 kB / 0.5606 GB, free: 15.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2822/0.8485, allocations: 48.21 MB / 0.6077 GB, free: 121.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001252/0.8486, allocations: 168.7 kB / 0.6078 GB, free: 121.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.023/3.872, allocations: 0 / 0.6078 GB, free: 121.7 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: