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.005014/0.005014, allocations: 99.11 kB / 15.73 MB, free: 6.035 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.001149/0.001149, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1545/0.1545, allocations: 5.207 MB / 295.7 MB, free: 3.047 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 59.91 kB / 408.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2517, allocations: 50.56 MB / 459.1 MB, free: 19.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.008123/0.2599, allocations: 7.978 MB / 467.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006652/0.2666, allocations: 3.569 MB / 470.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.2678, allocations: 35.34 kB / 470.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002638/0.2705, allocations: 1.102 MB / 471.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004072/0.2746, allocations: 1.414 MB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.2764, allocations: 0.585 MB / 473.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004895/0.2813, allocations: 2.784 MB / 476.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.2833, allocations: 1.662 MB / 478.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.2848, allocations: 0.9081 MB / 479.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.2866, allocations: 1.257 MB / 480.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003998/0.287, allocations: 177.3 kB / 480.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.2887, allocations: 0.9307 MB / 481.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000863/0.2895, allocations: 1.105 MB / 482.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.2907, allocations: 1.362 MB / 484 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004523/0.2952, allocations: 4.452 MB / 488.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2952, allocations: 1.156 kB / 488.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2952, allocations: 0 / 488.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.762e-05/0.2953, allocations: 0 / 488.5 MB, free: 2.492 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.005686/0.301, allocations: 3.285 MB / 491.7 MB, free: 116 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3011, allocations: 9.438 kB / 491.7 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006009/0.3017, allocations: 484.7 kB / 492.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006027/0.3077, allocations: 1.694 MB / 493.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00355/0.3113, allocations: 1.793 MB / 495.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.3114, allocations: 143.7 kB / 495.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003721/0.3118, allocations: 179.8 kB / 496 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008998/0.3208, allocations: 6.75 MB / 0.491 GB, free: 5.754 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.309e-05/0.3209, allocations: 35.7 kB / 0.491 GB, free: 5.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/0.3211, allocations: 87.89 kB / 0.4911 GB, free: 5.633 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002306/0.3234, allocations: 1.46 MB / 0.4925 GB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009926/0.3334, allocations: 6.001 MB / 0.4984 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03057/0.364, allocations: 27.5 MB / 0.5253 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004587/0.3686, allocations: 2.413 MB / 0.5276 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.37, allocations: 1.087 MB / 0.5287 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.922e-05/0.37, allocations: 20.08 kB / 0.5287 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.3701, allocations: 46.5 kB / 0.5287 GB, free: 14.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=102): time 3.818e-06/0.3701, allocations: 0 / 0.5287 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.01898/0.3891, allocations: 8.098 MB / 0.5366 GB, free: 5.883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.3893, allocations: 170.6 kB / 0.5368 GB, free: 5.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005247/0.3945, allocations: 2.944 MB / 0.5397 GB, free: 2.715 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002033/0.3948, allocations: 37.7 kB / 0.5397 GB, free: 2.672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001734/0.3965, allocations: 2.284 MB / 0.5419 GB, free: 372 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000642/0.3971, allocations: 476.6 kB / 0.5424 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001493/0.3987, allocations: 0.8973 MB / 0.5433 GB, free: 14.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3988, allocations: 305.1 kB / 0.5436 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002233/0.401, allocations: 1.488 MB / 0.545 GB, free: 13.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004505/0.4055, allocations: 4.324 MB / 0.5492 GB, free: 7.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007688/0.4132, allocations: 6.26 MB / 0.5554 GB, free: 15.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001057/0.4134, allocations: 28 kB / 0.5554 GB, free: 15.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009895/0.4233, allocations: 5.577 MB / 0.5608 GB, free: 10.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.75e-05/0.4234, allocations: 49.25 kB / 0.5609 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000157/0.4235, allocations: 100 kB / 0.561 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/0.4237, allocations: 140 kB / 0.5611 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004093/0.4278, allocations: 1.236 MB / 0.5623 GB, free: 8.602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001805/0.428, allocations: 199.2 kB / 0.5625 GB, free: 8.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003131/0.4311, allocations: 255.6 kB / 0.5627 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005163/0.4317, allocations: 280 kB / 0.563 GB, free: 7.883 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004155/0.4358, allocations: 2.587 MB / 0.5655 GB, free: 5.285 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00404/0.4399, allocations: 4.316 MB / 0.5698 GB, free: 15.53 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006478/0.4464, allocations: 6.224 MB / 0.5758 GB, free: 7.883 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.874e-05/0.4465, allocations: 28 kB / 0.5759 GB, free: 7.855 MB / 462.1 MB Notification: Performance of matching and sorting (n=577) (initialization_lambda0): time 0.009196/0.4557, allocations: 5.562 MB / 0.5813 GB, free: 2.285 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.213e-05/0.4559, allocations: 48 kB / 0.5813 GB, free: 2.238 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001561/0.456, allocations: 100 kB / 0.5814 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001263/0.4562, allocations: 136 kB / 0.5816 GB, free: 2.008 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004136/0.4603, allocations: 1.224 MB / 0.5828 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001638/0.4605, allocations: 199.2 kB / 0.5829 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/0.4636, allocations: 251.9 kB / 0.5832 GB, free: 348 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005733/0.4642, allocations: 280 kB / 0.5835 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.1979/0.6622, allocations: 0.5469 MB / 0.584 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005615/0.6627, allocations: 257.9 kB / 0.5842 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.6651, allocations: 1.302 MB / 0.5855 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/0.6651, allocations: 16.55 kB / 0.5855 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.6651, allocations: 2.812 kB / 0.5855 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.6652, allocations: 8.922 kB / 0.5855 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007636/0.6728, allocations: 4.297 MB / 0.5897 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.6728, allocations: 2.5 kB / 0.5897 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/0.6748, allocations: 373.1 kB / 0.5901 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.6748, allocations: 4.406 kB / 0.5901 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-05/0.6749, allocations: 24.22 kB / 0.5901 GB, free: 106.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.727e-06/0.6749, allocations: 8.406 kB / 0.5901 GB, free: 106.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.6749, allocations: 5.391 kB / 0.5901 GB, free: 106.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003976/0.6789, allocations: 3.225 MB / 0.5933 GB, free: 105.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.6799, allocations: 472.3 kB / 0.5937 GB, free: 105.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002916/0.6802, allocations: 23.97 kB / 0.5938 GB, free: 105.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009368/0.6812, allocations: 68.69 kB / 0.5938 GB, free: 105.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.6814, allocations: 53.33 kB / 0.5939 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.42e-05/0.6814, allocations: 37.14 kB / 0.5939 GB, free: 105.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002807/0.6842, allocations: 1.831 MB / 0.5957 GB, free: 104.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6843, allocations: 0 / 0.5957 GB, free: 104.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005676/0.6899, allocations: 1.179 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.00424/0.6942, allocations: 3.855 MB / 0.6006 GB, free: 102.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009186/0.7034, allocations: 5.919 MB / 0.6064 GB, free: 100.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.7034, allocations: 0 / 0.6064 GB, free: 100.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.7046, allocations: 0.8385 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.001851/0.7065, allocations: 289.6 kB / 0.6075 GB, free: 100.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03172/0.7382, allocations: 30.14 MB / 0.6369 GB, free: 76.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002265/0.7405, allocations: 2.3 MB / 0.6392 GB, free: 74.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004414/0.745, allocations: 2.494 MB / 0.6416 GB, free: 72.04 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/0.7464, allocations: 1.159 MB / 0.6427 GB, free: 70.88 MB / 462.1 MB Notification: Performance of SimCode: time 8.31e-07/0.7464, allocations: 0 / 0.6427 GB, free: 70.88 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09261/0.839, allocations: 43.5 MB / 0.6852 GB, free: 27.67 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.18/18.02, allocations: 15.88 kB / 0.6852 GB, free: 27.65 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 & python3 -m fmpy simulate --output-file DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 DeltaRobot_DeltaRobot_Tests_IdealActuatorPos_test.fmu > DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe 2>&1)