Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_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.IdealActuatorPos_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_IdealActuatorPos_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DeltaRobot.Tests.IdealActuatorPos_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_IdealActuatorPos_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.001412/0.001412, 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.001616/0.001616, allocations: 193.6 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1252/0.1252, allocations: 5.216 MB / 295.6 MB, free: 3.027 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.91 kB / 357.3 MB, free: 1.695 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08226/0.08359, allocations: 50.56 MB / 407.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.008957/0.09258, allocations: 7.981 MB / 415.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005997/0.09861, allocations: 3.586 MB / 419.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009674/0.0996, allocations: 31.94 kB / 419.5 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002259/0.1019, allocations: 1.109 MB / 420.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002876/0.1048, allocations: 1.377 MB / 421.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.106, allocations: 0.5848 MB / 422.5 MB, free: 364 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1497/0.2558, allocations: 2.765 MB / 425.3 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.2572, allocations: 1.664 MB / 427 MB, free: 35.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007245/0.2579, allocations: 0.8951 MB / 427.8 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.2589, allocations: 1.269 MB / 429.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002438/0.2592, allocations: 180.9 kB / 429.3 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.2603, allocations: 0.9256 MB / 430.2 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006187/0.261, allocations: 1.097 MB / 431.3 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007398/0.2617, allocations: 1.363 MB / 432.7 MB, free: 35.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002522/0.2643, allocations: 4.253 MB / 436.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2643, allocations: 3.188 kB / 436.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2643, allocations: 0 / 436.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.581e-05/0.2643, allocations: 0 / 436.9 MB, free: 33.98 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: 996 * Number of variables: 996 Notification: Performance of Generate backend data structure: time 0.00426/0.2686, allocations: 3.192 MB / 440.1 MB, free: 32.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2686, allocations: 9 kB / 440.1 MB, free: 32.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004005/0.269, allocations: 480 kB / 440.6 MB, free: 32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005633/0.2747, allocations: 1.684 MB / 442.3 MB, free: 31.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/0.2774, allocations: 1.765 MB / 444.1 MB, free: 30.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.974e-05/0.2775, allocations: 143 kB / 444.2 MB, free: 30.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003033/0.2778, allocations: 177.5 kB / 444.4 MB, free: 30.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00754/0.2854, allocations: 6.744 MB / 451.1 MB, free: 27.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.154e-05/0.2854, allocations: 39.72 kB / 451.2 MB, free: 27.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002341/0.2857, allocations: 94.75 kB / 451.2 MB, free: 27.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002044/0.2877, allocations: 1.451 MB / 452.7 MB, free: 27.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008956/0.2967, allocations: 5.998 MB / 458.7 MB, free: 25.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03214/0.3289, allocations: 27.58 MB / 486.3 MB, free: 21.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004757/0.3337, allocations: 2.402 MB / 488.7 MB, free: 20.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.335, allocations: 1.077 MB / 489.7 MB, free: 20.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.764e-05/0.3351, allocations: 23.08 kB / 489.8 MB, free: 20.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.3352, allocations: 45.16 kB / 489.8 MB, free: 20.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 3.607e-06/0.3352, allocations: 3.984 kB / 489.8 MB, free: 20.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=110): time 0.0174/0.3526, allocations: 7.951 MB / 497.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.3527, allocations: 165.5 kB / 497.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003684/0.3564, allocations: 2.943 MB / 0.4891 GB, free: 11.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.3565, allocations: 41.7 kB / 0.4892 GB, free: 11.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001426/0.3579, allocations: 2.187 MB / 0.4913 GB, free: 9.641 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004242/0.3584, allocations: 455.3 kB / 0.4917 GB, free: 9.203 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/0.3596, allocations: 0.8987 MB / 0.4926 GB, free: 8.293 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.3597, allocations: 305.1 kB / 0.4929 GB, free: 7.992 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002333/0.362, allocations: 1.48 MB / 0.4944 GB, free: 6.492 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004406/0.3664, allocations: 4.325 MB / 0.4986 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007049/0.3735, allocations: 6.26 MB / 0.5047 GB, free: 9.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.783e-05/0.3736, allocations: 32 kB / 0.5047 GB, free: 9.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009872/0.3835, allocations: 5.571 MB / 0.5102 GB, free: 3.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.205e-05/0.3836, allocations: 48 kB / 0.5102 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001456/0.3838, allocations: 100 kB / 0.5103 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001477/0.3839, allocations: 136 kB / 0.5104 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004613/0.3886, allocations: 1.228 MB / 0.5116 GB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001701/0.3888, allocations: 195.8 kB / 0.5118 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003195/0.392, allocations: 255.7 kB / 0.5121 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006233/0.3926, allocations: 280 kB / 0.5123 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004317/0.3969, allocations: 2.591 MB / 0.5149 GB, free: 14.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004252/0.4012, allocations: 4.308 MB / 0.5191 GB, free: 8.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006799/0.408, allocations: 6.236 MB / 0.5252 GB, free: 1.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.194e-05/0.4081, allocations: 28.55 kB / 0.5252 GB, free: 1.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=577) (initialization_lambda0): time 0.009899/0.418, allocations: 5.54 MB / 0.5306 GB, free: 11.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.356e-05/0.4181, allocations: 51.98 kB / 0.5306 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001291/0.4183, allocations: 104 kB / 0.5307 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/0.4184, allocations: 132.8 kB / 0.5309 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004453/0.4229, allocations: 1.23 MB / 0.5321 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001557/0.423, allocations: 199.2 kB / 0.5323 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003177/0.4262, allocations: 243.6 kB / 0.5325 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005803/0.4268, allocations: 280.8 kB / 0.5328 GB, free: 9.516 MB / 414.1 MB 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],idealActuatorPos.revolute.cylinderColor[3],idealActuatorPos.revolute.cylinderColor[2],idealActuatorPos.revolute.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (553): * Single equations (assignments): 550 * 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.001051/0.4279, allocations: 0.5506 MB / 0.5333 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005932/0.4285, allocations: 248.8 kB / 0.5335 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.4309, allocations: 1.304 MB / 0.5348 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.017e-05/0.4309, allocations: 14.5 kB / 0.5348 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.4309, allocations: 0 / 0.5348 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.431, allocations: 7.984 kB / 0.5348 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008533/0.4395, allocations: 4.307 MB / 0.539 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.4395, allocations: 4 kB / 0.539 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002175/0.4417, allocations: 375.3 kB / 0.5394 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/0.4418, allocations: 4 kB / 0.5394 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.4419, allocations: 24.03 kB / 0.5394 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.143e-05/0.4419, allocations: 4 kB / 0.5394 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.4419, allocations: 4 kB / 0.5394 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004695/0.4466, allocations: 3.222 MB / 0.5426 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/0.4478, allocations: 453.7 kB / 0.543 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005664/0.4483, allocations: 16 kB / 0.543 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.4497, allocations: 67.91 kB / 0.5431 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.4499, allocations: 61.61 kB / 0.5432 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-05/0.45, allocations: 28 kB / 0.5432 GB, free: 14.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003751/0.4538, allocations: 1.832 MB / 0.545 GB, free: 12.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4538, allocations: 0 / 0.545 GB, free: 12.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006787/0.4606, allocations: 1.187 MB / 0.5461 GB, free: 11.72 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (idealActuatorPos.revolute.phi,idealActuatorPos.revolute.w,idealActuatorPos.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 (88): * Single equations (assignments): 85 * 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.005173/0.4658, allocations: 3.84 MB / 0.5499 GB, free: 7.848 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01063/0.4764, allocations: 6.188 MB / 0.5559 GB, free: 1.711 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.4765, allocations: 0 / 0.5559 GB, free: 1.711 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.4777, allocations: 0.8268 MB / 0.5567 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.4801, allocations: 298.1 kB / 0.557 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2125/0.6926, allocations: 32.6 MB / 0.5889 GB, free: 138.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/0.6944, allocations: 2.302 MB / 0.5911 GB, free: 137.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005099/0.6996, allocations: 2.5 MB / 0.5935 GB, free: 137.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/0.7009, allocations: 1.161 MB / 0.5947 GB, free: 137.5 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.7009, allocations: 3.062 kB / 0.5947 GB, free: 137.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0809/0.7818, allocations: 46.32 MB / 0.6399 GB, free: 121.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.824/9.606, allocations: 13.81 kB / 0.6399 GB, free: 121.9 MB / 462.1 MB (rm -f DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_DeltaRobot_DeltaRobot_Tests_IdealActuatorPos_test_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 DeltaRobot_DeltaRobot_Tests_IdealActuatorPos_test.fmu > DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe 2>&1)