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.007888/0.007888, allocations: 105.5 kB / 15.74 MB, free: 6.02 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.00145/0.00145, allocations: 193.4 kB / 16.67 MB, free: 5.934 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02664/0.02664, allocations: 5.22 MB / 295.8 MB, free: 9.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.89 kB / 408.6 MB, free: 26.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0874/0.08862, allocations: 50.57 MB / 459.1 MB, free: 8.133 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.00846/0.09711, allocations: 7.997 MB / 467.1 MB, free: 104 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006117/0.1033, allocations: 3.571 MB / 470.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005929/0.1039, allocations: 35.88 kB / 470.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.1059, allocations: 1.097 MB / 471.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002524/0.1085, allocations: 1.413 MB / 473.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.1096, allocations: 0.584 MB / 473.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002802/0.1124, allocations: 2.777 MB / 476.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.114, allocations: 1.662 MB / 478.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009243/0.115, allocations: 0.903 MB / 479.2 MB, free: 4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.1162, allocations: 1.273 MB / 480.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002515/0.1165, allocations: 176 kB / 480.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.1178, allocations: 0.9282 MB / 481.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000839/0.1187, allocations: 1.11 MB / 482.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.1197, allocations: 1.351 MB / 484 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003939/0.1237, allocations: 4.446 MB / 488.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.1237, allocations: 3.984 kB / 488.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1237, allocations: 0 / 488.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.029e-05/0.1237, allocations: 3.938 kB / 488.5 MB, free: 10.68 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.004827/0.1286, allocations: 3.28 MB / 491.7 MB, free: 7.332 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1286, allocations: 8.031 kB / 491.7 MB, free: 7.324 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004857/0.1291, allocations: 479.6 kB / 492.2 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005882/0.135, allocations: 1.699 MB / 493.9 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002781/0.1378, allocations: 1.797 MB / 495.7 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.622e-05/0.1379, allocations: 139.7 kB / 495.9 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003384/0.1383, allocations: 183.8 kB / 496 MB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008542/0.1468, allocations: 6.742 MB / 0.491 GB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.826e-05/0.1469, allocations: 35.7 kB / 0.491 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002428/0.1471, allocations: 91.89 kB / 0.4911 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002383/0.1495, allocations: 1.456 MB / 0.4925 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009698/0.1592, allocations: 6.009 MB / 0.4984 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3247/0.484, allocations: 27.51 MB / 0.5253 GB, free: 27.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00483/0.4888, allocations: 2.407 MB / 0.5276 GB, free: 26.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.4903, allocations: 1.083 MB / 0.5287 GB, free: 25.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.546e-05/0.4904, allocations: 15.2 kB / 0.5287 GB, free: 25.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.4905, allocations: 46.47 kB / 0.5287 GB, free: 25.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 3.357e-06/0.4905, allocations: 0 / 0.5287 GB, free: 25.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.01735/0.5078, allocations: 8.091 MB / 0.5366 GB, free: 21.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.5079, allocations: 170 kB / 0.5368 GB, free: 21.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003544/0.5115, allocations: 2.956 MB / 0.5397 GB, free: 20.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.5116, allocations: 37.55 kB / 0.5397 GB, free: 20.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.5127, allocations: 2.276 MB / 0.5419 GB, free: 18.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003482/0.5131, allocations: 474 kB / 0.5424 GB, free: 17.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008839/0.514, allocations: 0.9023 MB / 0.5433 GB, free: 17.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.1e-05/0.514, allocations: 301.1 kB / 0.5436 GB, free: 16.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/0.5158, allocations: 1.486 MB / 0.545 GB, free: 15.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00298/0.5188, allocations: 4.329 MB / 0.5492 GB, free: 9.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005318/0.5241, allocations: 6.252 MB / 0.5553 GB, free: 1.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.042e-05/0.5242, allocations: 32 kB / 0.5554 GB, free: 1.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009346/0.5335, allocations: 5.586 MB / 0.5608 GB, free: 12.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.021e-05/0.5337, allocations: 49 kB / 0.5609 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001296/0.5338, allocations: 104.9 kB / 0.561 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001372/0.5339, allocations: 136 kB / 0.5611 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004071/0.538, allocations: 1.232 MB / 0.5623 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001636/0.5382, allocations: 195.2 kB / 0.5625 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/0.5414, allocations: 251.6 kB / 0.5627 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003638/0.5417, allocations: 285.7 kB / 0.563 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004135/0.5459, allocations: 2.59 MB / 0.5655 GB, free: 7.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004597/0.5505, allocations: 4.308 MB / 0.5697 GB, free: 1.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008026/0.5585, allocations: 6.222 MB / 0.5758 GB, free: 10.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.634e-05/0.5587, allocations: 28 kB / 0.5758 GB, free: 10.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=577) (initialization_lambda0): time 0.01006/0.5688, allocations: 5.565 MB / 0.5813 GB, free: 4.477 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.848e-05/0.5689, allocations: 48 kB / 0.5813 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001827/0.5691, allocations: 110.2 kB / 0.5814 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/0.5692, allocations: 132 kB / 0.5816 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004316/0.5736, allocations: 1.228 MB / 0.5828 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001946/0.5738, allocations: 203.5 kB / 0.5829 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003631/0.5774, allocations: 247.6 kB / 0.5832 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005624/0.578, allocations: 287.5 kB / 0.5835 GB, free: 2.246 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.001295/0.5793, allocations: 0.5415 MB / 0.584 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007774/0.5801, allocations: 258.2 kB / 0.5842 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/0.5828, allocations: 1.304 MB / 0.5855 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.078e-05/0.5828, allocations: 16 kB / 0.5855 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.5828, allocations: 0 / 0.5855 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.5828, allocations: 12.95 kB / 0.5855 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009233/0.5921, allocations: 4.301 MB / 0.5897 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.5921, allocations: 4 kB / 0.5897 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001964/0.5941, allocations: 375.3 kB / 0.5901 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.5941, allocations: 4 kB / 0.5901 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.5943, allocations: 16 kB / 0.5901 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.328e-06/0.5943, allocations: 11.97 kB / 0.5901 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.5943, allocations: 7.938 kB / 0.5901 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004688/0.599, allocations: 3.236 MB / 0.5933 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/0.6006, allocations: 467.2 kB / 0.5937 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000744/0.6013, allocations: 20 kB / 0.5938 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/0.6028, allocations: 67.28 kB / 0.5938 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/0.603, allocations: 60.23 kB / 0.5939 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.822e-05/0.6031, allocations: 36 kB / 0.5939 GB, free: 7.438 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003716/0.6069, allocations: 1.828 MB / 0.5957 GB, free: 5.605 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6069, allocations: 0 / 0.5957 GB, free: 5.605 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.008092/0.615, allocations: 1.179 MB / 0.5969 GB, free: 4.43 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.005367/0.6204, allocations: 3.858 MB / 0.6006 GB, free: 0.543 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01059/0.631, allocations: 5.913 MB / 0.6064 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.631, allocations: 0 / 0.6064 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.6323, allocations: 0.83 MB / 0.6072 GB, free: 9.844 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/0.6352, allocations: 294.9 kB / 0.6075 GB, free: 9.566 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05162/0.6868, allocations: 30.14 MB / 0.6369 GB, free: 7.559 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003534/0.6904, allocations: 2.308 MB / 0.6392 GB, free: 5.223 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006444/0.6969, 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.00207/0.699, allocations: 1.163 MB / 0.6427 GB, free: 1.555 MB / 478.1 MB Notification: Performance of SimCode: time 1.863e-06/0.699, allocations: 4 kB / 0.6427 GB, free: 1.551 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/0.7999, allocations: 43.48 MB / 0.6852 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.31/17.11, allocations: 11.23 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)