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.005458/0.005458, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.00138/0.00138, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02775/0.02775, allocations: 5.225 MB / 295.8 MB, free: 9.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 59.91 kB / 408.6 MB, free: 26.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08262/0.08443, allocations: 50.58 MB / 459.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.009137/0.0936, allocations: 7.978 MB / 467.1 MB, free: 100 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00611/0.09974, allocations: 3.574 MB / 470.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007065/0.1005, allocations: 39.88 kB / 470.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.1027, allocations: 1.097 MB / 471.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002885/0.1056, allocations: 1.381 MB / 473.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.1069, allocations: 0.5839 MB / 473.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003568/0.1105, allocations: 2.773 MB / 476.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002/0.1125, allocations: 1.662 MB / 478.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.1137, allocations: 0.9029 MB / 479.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.1154, allocations: 1.265 MB / 480.4 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003672/0.1157, allocations: 180 kB / 480.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.1174, allocations: 0.9204 MB / 481.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.1184, allocations: 1.114 MB / 482.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.1198, allocations: 1.359 MB / 484 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005233/0.1251, allocations: 4.442 MB / 488.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1251, allocations: 4 kB / 488.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1251, allocations: 4 kB / 488.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.019e-05/0.1252, allocations: 0 / 488.4 MB, free: 10.7 MB / 366.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.006159/0.1314, allocations: 3.272 MB / 491.7 MB, free: 7.367 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1315, allocations: 15.97 kB / 491.7 MB, free: 7.352 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006463/0.1321, allocations: 487.6 kB / 492.2 MB, free: 6.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006091/0.1382, allocations: 1.695 MB / 493.9 MB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003486/0.1417, allocations: 1.797 MB / 495.7 MB, free: 3.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.1419, allocations: 135.7 kB / 495.8 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005162/0.1424, allocations: 183.8 kB / 496 MB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.1531, allocations: 6.746 MB / 0.491 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.663e-05/0.1532, allocations: 39.7 kB / 0.491 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002862/0.1535, allocations: 87.89 kB / 0.4911 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002585/0.1561, allocations: 1.452 MB / 0.4925 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.1673, allocations: 6.001 MB / 0.4984 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2199/0.3872, allocations: 27.51 MB / 0.5252 GB, free: 27.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004211/0.3914, allocations: 2.41 MB / 0.5276 GB, free: 26.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.3927, allocations: 1.077 MB / 0.5286 GB, free: 25.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.85e-05/0.3928, allocations: 27.53 kB / 0.5287 GB, free: 25.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.3928, allocations: 42.44 kB / 0.5287 GB, free: 25.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 2.985e-06/0.3928, allocations: 0 / 0.5287 GB, free: 25.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.0158/0.4086, allocations: 8.093 MB / 0.5366 GB, free: 21.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.4087, allocations: 164.8 kB / 0.5368 GB, free: 21.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003206/0.4119, allocations: 2.955 MB / 0.5396 GB, free: 20.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002156/0.4122, allocations: 37.14 kB / 0.5397 GB, free: 20.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009814/0.4132, allocations: 2.281 MB / 0.5419 GB, free: 18.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000415/0.4136, allocations: 470.3 kB / 0.5424 GB, free: 17.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009206/0.4145, allocations: 0.9012 MB / 0.5432 GB, free: 17.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.409e-05/0.4146, allocations: 309.1 kB / 0.5435 GB, free: 16.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/0.4163, allocations: 1.484 MB / 0.545 GB, free: 15.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002841/0.4192, allocations: 4.325 MB / 0.5492 GB, free: 9.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005277/0.4245, allocations: 6.26 MB / 0.5553 GB, free: 1.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.263e-05/0.4246, allocations: 28 kB / 0.5553 GB, free: 1.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.00984/0.4344, allocations: 5.579 MB / 0.5608 GB, free: 12.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.257e-05/0.4346, allocations: 52.19 kB / 0.5608 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00013/0.4347, allocations: 104 kB / 0.5609 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/0.4349, allocations: 134.8 kB / 0.5611 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004369/0.4393, allocations: 1.232 MB / 0.5623 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001778/0.4395, allocations: 195.2 kB / 0.5625 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00337/0.4429, allocations: 255.6 kB / 0.5627 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005726/0.4435, allocations: 287.9 kB / 0.563 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004289/0.4478, allocations: 2.582 MB / 0.5655 GB, free: 7.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005008/0.4528, allocations: 4.312 MB / 0.5697 GB, free: 1.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008507/0.4613, allocations: 6.222 MB / 0.5758 GB, free: 10.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.253e-05/0.4615, allocations: 32 kB / 0.5758 GB, free: 10.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=577) (initialization_lambda0): time 0.01135/0.4728, allocations: 5.565 MB / 0.5812 GB, free: 4.465 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.473, allocations: 51.98 kB / 0.5813 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001981/0.4732, allocations: 100 kB / 0.5814 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001635/0.4734, allocations: 135.1 kB / 0.5815 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004521/0.4779, allocations: 1.229 MB / 0.5827 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002209/0.4781, allocations: 203.2 kB / 0.5829 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003236/0.4814, allocations: 247.6 kB / 0.5831 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007094/0.4821, allocations: 287.2 kB / 0.5834 GB, free: 2.242 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.00132/0.4834, allocations: 0.539 MB / 0.5839 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000676/0.4841, allocations: 262.2 kB / 0.5842 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002858/0.487, allocations: 1.304 MB / 0.5855 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.142e-05/0.487, allocations: 12 kB / 0.5855 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.4871, allocations: 4 kB / 0.5855 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.4871, allocations: 7.922 kB / 0.5855 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009529/0.4966, allocations: 4.298 MB / 0.5897 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.4967, allocations: 0 / 0.5897 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002062/0.4988, allocations: 379.3 kB / 0.5901 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-05/0.4988, allocations: 8.031 kB / 0.5901 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.4989, allocations: 20 kB / 0.5901 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/0.4989, allocations: 7.938 kB / 0.5901 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.4989, allocations: 5.625 kB / 0.5901 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005067/0.504, allocations: 3.233 MB / 0.5933 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.5052, allocations: 474.9 kB / 0.5937 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005774/0.5058, allocations: 15.75 kB / 0.5937 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.5071, allocations: 67.91 kB / 0.5938 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.5073, allocations: 60.3 kB / 0.5938 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.805e-05/0.5074, allocations: 32 kB / 0.5939 GB, free: 7.438 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003601/0.511, allocations: 1.832 MB / 0.5957 GB, free: 5.602 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.511, allocations: 0 / 0.5957 GB, free: 5.602 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00707/0.5181, allocations: 1.176 MB / 0.5968 GB, free: 4.426 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.00561/0.5237, allocations: 3.855 MB / 0.6006 GB, free: 0.543 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01026/0.534, allocations: 5.922 MB / 0.6064 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.534, allocations: 0 / 0.6064 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.5354, allocations: 0.8377 MB / 0.6072 GB, free: 9.832 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/0.5378, allocations: 284.9 kB / 0.6074 GB, free: 9.566 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04605/0.5839, allocations: 30.14 MB / 0.6369 GB, free: 7.555 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002536/0.5865, allocations: 2.304 MB / 0.6391 GB, free: 5.223 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005364/0.5919, allocations: 2.496 MB / 0.6416 GB, free: 2.719 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001794/0.5937, allocations: 1.167 MB / 0.6427 GB, free: 1.551 MB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5937, allocations: 0 / 0.6427 GB, free: 1.551 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08816/0.6819, allocations: 43.48 MB / 0.6852 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.06/16.74, allocations: 10.97 kB / 0.6852 GB, free: 6.336 MB / 0.5137 GB (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)