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.007618/0.007618, allocations: 98.38 kB / 15.73 MB, free: 6.496 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.001426/0.001426, allocations: 192 kB / 16.67 MB, free: 6.391 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.559/1.559, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1655/0.1655, allocations: 5.203 MB / 295.7 MB, free: 3.02 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 59.91 kB / 408.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.298, allocations: 50.56 MB / 459.1 MB, free: 19.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.007651/0.3057, allocations: 7.973 MB / 467.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006992/0.3127, allocations: 3.571 MB / 470.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009549/0.3137, allocations: 42.78 kB / 470.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002362/0.3161, allocations: 1.101 MB / 471.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.3192, allocations: 1.383 MB / 473.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.3208, allocations: 0.5815 MB / 473.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004844/0.3257, allocations: 2.787 MB / 476.6 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002832/0.3286, allocations: 1.659 MB / 478.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.3307, allocations: 0.9032 MB / 479.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.3326, allocations: 1.263 MB / 480.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004276/0.333, allocations: 177.1 kB / 480.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/0.335, allocations: 0.9245 MB / 481.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001043/0.336, allocations: 1.105 MB / 482.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.3372, allocations: 1.357 MB / 484 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004854/0.3421, allocations: 4.453 MB / 488.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3421, allocations: 0 / 488.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3421, allocations: 0 / 488.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.552e-05/0.3422, allocations: 5.188 kB / 488.4 MB, free: 2.504 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.005841/0.348, allocations: 3.277 MB / 491.7 MB, free: 136 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.3481, allocations: 9.281 kB / 491.7 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000606/0.3487, allocations: 488.6 kB / 492.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006447/0.3552, allocations: 1.695 MB / 493.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003647/0.3588, allocations: 1.803 MB / 495.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.359, allocations: 135.7 kB / 495.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004111/0.3594, allocations: 183.7 kB / 496 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/0.3713, allocations: 6.754 MB / 0.491 GB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.72e-05/0.3714, allocations: 31.7 kB / 0.491 GB, free: 5.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002789/0.3716, allocations: 91.89 kB / 0.4911 GB, free: 5.625 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002686/0.3743, allocations: 1.464 MB / 0.4925 GB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01194/0.3863, allocations: 5.99 MB / 0.4984 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03637/0.4227, allocations: 27.5 MB / 0.5252 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005574/0.4283, allocations: 2.413 MB / 0.5276 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/0.4301, allocations: 1.091 MB / 0.5286 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.129e-05/0.4302, allocations: 16.08 kB / 0.5287 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/0.4303, allocations: 46.56 kB / 0.5287 GB, free: 14.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=102): time 3.838e-06/0.4303, allocations: 4 kB / 0.5287 GB, free: 14.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.01978/0.4501, allocations: 8.091 MB / 0.5366 GB, free: 5.883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.4502, allocations: 162.7 kB / 0.5368 GB, free: 5.688 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004269/0.4545, allocations: 2.952 MB / 0.5396 GB, free: 2.715 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.4547, allocations: 41.7 kB / 0.5397 GB, free: 2.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001783/0.4565, allocations: 2.28 MB / 0.5419 GB, free: 372 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005236/0.457, allocations: 472.6 kB / 0.5424 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001227/0.4582, allocations: 0.8973 MB / 0.5432 GB, free: 14.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4584, allocations: 305.1 kB / 0.5435 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002453/0.4608, allocations: 1.492 MB / 0.545 GB, free: 13.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004954/0.4658, allocations: 4.324 MB / 0.5492 GB, free: 7.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008618/0.4744, allocations: 6.255 MB / 0.5553 GB, free: 15.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.181e-05/0.4746, allocations: 36 kB / 0.5554 GB, free: 15.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.0104/0.485, allocations: 5.574 MB / 0.5608 GB, free: 10.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.672e-05/0.4851, allocations: 50.28 kB / 0.5608 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/0.4852, allocations: 103.9 kB / 0.5609 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001462/0.4854, allocations: 136 kB / 0.5611 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004331/0.4897, allocations: 1.233 MB / 0.5623 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001832/0.4899, allocations: 199.2 kB / 0.5625 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003247/0.4932, allocations: 255.6 kB / 0.5627 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000401/0.4936, allocations: 280 kB / 0.563 GB, free: 7.887 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004597/0.4982, allocations: 2.587 MB / 0.5655 GB, free: 5.289 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005189/0.5034, allocations: 4.312 MB / 0.5697 GB, free: 15.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008602/0.512, allocations: 6.23 MB / 0.5758 GB, free: 7.883 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.878e-05/0.5121, allocations: 28 kB / 0.5758 GB, free: 7.855 MB / 462.1 MB Notification: Performance of matching and sorting (n=577) (initialization_lambda0): time 0.01023/0.5224, allocations: 5.565 MB / 0.5813 GB, free: 2.285 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.106e-05/0.5225, allocations: 52.25 kB / 0.5813 GB, free: 2.234 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001098/0.5226, allocations: 104 kB / 0.5814 GB, free: 2.133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001197/0.5227, allocations: 132 kB / 0.5815 GB, free: 2.004 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004324/0.527, allocations: 1.22 MB / 0.5827 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001715/0.5272, allocations: 203.2 kB / 0.5829 GB, free: 0.582 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/0.5304, allocations: 247.6 kB / 0.5832 GB, free: 348 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003944/0.5308, allocations: 280 kB / 0.5834 GB, free: 68 kB / 462.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.2503/0.7811, allocations: 0.5459 MB / 0.584 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007164/0.7819, allocations: 256.4 kB / 0.5842 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/0.7846, allocations: 1.303 MB / 0.5855 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.658e-05/0.7846, allocations: 17.25 kB / 0.5855 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.7846, allocations: 2.906 kB / 0.5855 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.7846, allocations: 13.56 kB / 0.5855 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008626/0.7933, allocations: 4.297 MB / 0.5897 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.7933, allocations: 0.9688 kB / 0.5897 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/0.7954, allocations: 380.7 kB / 0.5901 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.7954, allocations: 4.375 kB / 0.5901 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-05/0.7955, allocations: 23.31 kB / 0.5901 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/0.7955, allocations: 5.047 kB / 0.5901 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.7955, allocations: 4.125 kB / 0.5901 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005156/0.8007, allocations: 3.224 MB / 0.5932 GB, free: 105.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/0.8019, allocations: 474.4 kB / 0.5937 GB, free: 105.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/0.8022, allocations: 22.5 kB / 0.5937 GB, free: 105.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.8033, allocations: 65.67 kB / 0.5938 GB, free: 105.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.8035, allocations: 51.97 kB / 0.5938 GB, free: 105.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.428e-05/0.8035, allocations: 33.89 kB / 0.5939 GB, free: 105.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003697/0.8073, allocations: 1.83 MB / 0.5957 GB, free: 104.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.8073, allocations: 1.469 kB / 0.5957 GB, free: 104.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008563/0.8158, allocations: 1.175 MB / 0.5968 GB, free: 104.5 MB / 462.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.00644/0.8223, allocations: 3.858 MB / 0.6006 GB, free: 102.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01244/0.8348, allocations: 5.918 MB / 0.6064 GB, free: 100.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.8348, allocations: 0.9688 kB / 0.6064 GB, free: 100.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.8364, allocations: 0.8329 MB / 0.6072 GB, free: 100.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/0.8391, allocations: 295.3 kB / 0.6074 GB, free: 100.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04075/0.8799, allocations: 30.14 MB / 0.6369 GB, free: 76.15 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002084/0.882, allocations: 2.299 MB / 0.6391 GB, free: 74.28 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004775/0.8868, allocations: 2.492 MB / 0.6416 GB, free: 72.01 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001747/0.8885, allocations: 1.167 MB / 0.6427 GB, free: 70.84 MB / 462.1 MB Notification: Performance of SimCode: time 2.074e-06/0.8886, allocations: 0 / 0.6427 GB, free: 70.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08253/0.9711, allocations: 43.5 MB / 0.6852 GB, free: 27.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.97/17.94, allocations: 11.12 kB / 0.6852 GB, free: 27.61 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)