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.001094/0.001094, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0011/0.0011, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.176/1.176, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1237/0.1237, allocations: 5.198 MB / 295.3 MB, free: 3.004 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 59.91 kB / 356.8 MB, free: 2.098 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0814/0.08248, allocations: 50.56 MB / 407.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.01352/0.09603, allocations: 14.95 MB / 422.3 MB, free: 484 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1639/0.26, allocations: 4.698 MB / 427 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.2617, allocations: 58.03 kB / 427 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.2634, allocations: 1.041 MB / 428.1 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002213/0.2656, allocations: 1.291 MB / 429.4 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009226/0.2666, allocations: 0.5455 MB / 429.9 MB, free: 35.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002033/0.2686, allocations: 2.799 MB / 432.7 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.27, allocations: 1.762 MB / 434.5 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007037/0.2707, allocations: 0.9109 MB / 435.4 MB, free: 33.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009747/0.2717, allocations: 1.412 MB / 436.8 MB, free: 33.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.2719, allocations: 176.8 kB / 437 MB, free: 33.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.2729, allocations: 0.9392 MB / 437.9 MB, free: 32.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000552/0.2735, allocations: 1.122 MB / 439 MB, free: 32.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006793/0.2742, allocations: 1.379 MB / 440.4 MB, free: 31.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002521/0.2767, allocations: 4.294 MB / 444.7 MB, free: 30.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2767, allocations: 2.844 kB / 444.7 MB, free: 30.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2767, allocations: 0 / 444.7 MB, free: 30.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.911e-05/0.2768, allocations: 4 kB / 444.7 MB, free: 30.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: 996 * Number of variables: 996 Notification: Performance of Generate backend data structure: time 0.003909/0.2807, allocations: 3.195 MB / 447.9 MB, free: 28.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2807, allocations: 9.469 kB / 447.9 MB, free: 28.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003705/0.2811, allocations: 479.9 kB / 448.4 MB, free: 28.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004907/0.286, allocations: 1.679 MB / 450.1 MB, free: 27.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/0.2881, allocations: 1.78 MB / 451.9 MB, free: 26.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.839e-05/0.2882, allocations: 133.3 kB / 452 MB, free: 26.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/0.2885, allocations: 185.4 kB / 452.2 MB, free: 26.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006612/0.2951, allocations: 6.75 MB / 458.9 MB, free: 23.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-05/0.2952, allocations: 27.62 kB / 458.9 MB, free: 23.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/0.2954, allocations: 89.83 kB / 459 MB, free: 23.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002147/0.2976, allocations: 1.464 MB / 460.5 MB, free: 23.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009406/0.307, allocations: 5.991 MB / 466.5 MB, free: 21.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02599/0.333, allocations: 27.58 MB / 494.1 MB, free: 16.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004009/0.337, allocations: 2.403 MB / 496.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.3382, allocations: 1.077 MB / 497.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.21e-05/0.3383, allocations: 23.48 kB / 497.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3383, allocations: 42.5 kB / 497.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 3.056e-06/0.3383, allocations: 0 / 497.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=110): time 0.01733/0.3556, allocations: 7.95 MB / 0.4937 GB, free: 5.895 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.3557, allocations: 166.7 kB / 0.4939 GB, free: 5.695 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004159/0.3599, allocations: 2.936 MB / 0.4967 GB, free: 2.738 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.694e-05/0.36, allocations: 40.2 kB / 0.4968 GB, free: 2.695 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.3615, allocations: 2.195 MB / 0.4989 GB, free: 0.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004413/0.3619, allocations: 457.2 kB / 0.4994 GB, free: 60 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001207/0.3631, allocations: 0.8897 MB / 0.5002 GB, free: 15.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.3632, allocations: 305.1 kB / 0.5005 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/0.3655, allocations: 1.484 MB / 0.502 GB, free: 13.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003987/0.3695, allocations: 4.324 MB / 0.5062 GB, free: 7.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006379/0.3759, allocations: 6.255 MB / 0.5123 GB, free: 15.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.976e-05/0.376, allocations: 28 kB / 0.5123 GB, free: 15.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.008795/0.3848, allocations: 5.572 MB / 0.5178 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-05/0.3849, allocations: 48.09 kB / 0.5178 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001375/0.3851, allocations: 107.9 kB / 0.5179 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/0.3852, allocations: 135.9 kB / 0.518 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003906/0.3891, allocations: 1.232 MB / 0.5192 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001665/0.3893, allocations: 195.2 kB / 0.5194 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002782/0.3921, allocations: 259.7 kB / 0.5197 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004256/0.3925, allocations: 283.9 kB / 0.52 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003887/0.3964, allocations: 2.585 MB / 0.5225 GB, free: 5.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00403/0.4005, allocations: 4.312 MB / 0.5267 GB, free: 15.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006485/0.407, allocations: 6.235 MB / 0.5328 GB, free: 8.055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.68e-05/0.4071, allocations: 28 kB / 0.5328 GB, free: 8.027 MB / 414.1 MB Notification: Performance of matching and sorting (n=577) (initialization_lambda0): time 0.008526/0.4156, allocations: 5.545 MB / 0.5382 GB, free: 2.477 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.539e-05/0.4157, allocations: 51.98 kB / 0.5383 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001171/0.4158, allocations: 104 kB / 0.5384 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001142/0.416, allocations: 136.8 kB / 0.5385 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003821/0.4198, allocations: 1.228 MB / 0.5397 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001592/0.42, allocations: 203.2 kB / 0.5399 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/0.4227, allocations: 247.5 kB / 0.5401 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003861/0.4231, allocations: 276 kB / 0.5404 GB, free: 256 kB / 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.0009316/0.424, allocations: 0.552 MB / 0.5409 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004987/0.4245, allocations: 244.8 kB / 0.5412 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.4267, allocations: 1.3 MB / 0.5424 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.4267, allocations: 14.19 kB / 0.5424 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.4267, allocations: 4 kB / 0.5424 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.4268, allocations: 3.984 kB / 0.5425 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006925/0.4337, allocations: 4.31 MB / 0.5467 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.4337, allocations: 4 kB / 0.5467 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/0.4355, allocations: 379.3 kB / 0.547 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.4356, allocations: 4 kB / 0.547 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.884e-05/0.4356, allocations: 22.3 kB / 0.5471 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.4357, allocations: 4 kB / 0.5471 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.4357, allocations: 4 kB / 0.5471 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003933/0.4396, allocations: 3.215 MB / 0.5502 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009342/0.4406, allocations: 453.7 kB / 0.5506 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004907/0.4411, allocations: 20 kB / 0.5507 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.4422, allocations: 67.11 kB / 0.5507 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.4423, allocations: 64.23 kB / 0.5508 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-05/0.4424, allocations: 28 kB / 0.5508 GB, free: 5.488 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002888/0.4453, allocations: 1.832 MB / 0.5526 GB, free: 3.652 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4453, allocations: 0 / 0.5526 GB, free: 3.652 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005527/0.4509, allocations: 1.18 MB / 0.5537 GB, free: 2.473 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.004238/0.4551, allocations: 3.842 MB / 0.5575 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008771/0.4639, allocations: 6.18 MB / 0.5635 GB, free: 8.465 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4639, allocations: 0 / 0.5635 GB, free: 8.465 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.465, allocations: 0.8266 MB / 0.5643 GB, free: 7.641 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.4667, allocations: 299.4 kB / 0.5646 GB, free: 7.355 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1817/0.6484, allocations: 33.75 MB / 0.5976 GB, free: 130.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.6499, allocations: 2.311 MB / 0.5998 GB, free: 129.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004447/0.6544, allocations: 2.494 MB / 0.6023 GB, free: 129.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/0.6555, allocations: 1.16 MB / 0.6034 GB, free: 128.8 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6555, allocations: 0 / 0.6034 GB, free: 128.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.449/5.105, allocations: 46.15 MB / 0.6485 GB, free: 112.2 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/5.105, allocations: 180.9 kB / 0.6486 GB, free: 111.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.593/7.698, allocations: 0 / 0.6486 GB, free: 111.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)