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.001495/0.001496, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 193.6 kB / 16.53 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.533/1.533, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1718/0.1718, allocations: 5.198 MB / 295.6 MB, free: 3.043 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 71.88 kB / 357.3 MB, free: 1.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1167, allocations: 50.56 MB / 407.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.009695/0.1264, allocations: 7.985 MB / 415.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007723/0.1342, allocations: 3.574 MB / 419.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.136, allocations: 39.88 kB / 419.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00301/0.139, allocations: 1.109 MB / 420.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005147/0.1443, allocations: 1.378 MB / 421.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.146, allocations: 0.5845 MB / 422.5 MB, free: 404 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2521/0.398, allocations: 2.765 MB / 425.3 MB, free: 36.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002243/0.4003, allocations: 1.662 MB / 427 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.4018, allocations: 0.8987 MB / 427.9 MB, free: 35.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.4033, allocations: 1.273 MB / 429.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003992/0.4038, allocations: 175.5 kB / 429.3 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.4054, allocations: 0.9281 MB / 430.2 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009157/0.4064, allocations: 1.101 MB / 431.3 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.4076, allocations: 1.36 MB / 432.7 MB, free: 35.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004533/0.4121, allocations: 4.249 MB / 436.9 MB, free: 34.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.4122, allocations: 7.5 kB / 436.9 MB, free: 34.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.4122, allocations: 0 / 436.9 MB, free: 34.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.273e-05/0.4123, allocations: 0 / 436.9 MB, free: 34.01 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.007323/0.4196, allocations: 3.188 MB / 440.1 MB, free: 32.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.4197, allocations: 9.312 kB / 440.1 MB, free: 32.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007065/0.4204, allocations: 483.2 kB / 440.6 MB, free: 32.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00577/0.4262, allocations: 1.683 MB / 442.3 MB, free: 31.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003802/0.43, allocations: 1.769 MB / 444.1 MB, free: 30.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.4302, allocations: 138.7 kB / 444.2 MB, free: 30.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004335/0.4306, allocations: 177.2 kB / 444.4 MB, free: 30.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.4406, allocations: 6.75 MB / 451.1 MB, free: 27.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.803e-05/0.4408, allocations: 38.14 kB / 451.2 MB, free: 27.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/0.441, allocations: 92.34 kB / 451.2 MB, free: 27.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002326/0.4434, allocations: 1.454 MB / 452.7 MB, free: 27.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01205/0.4554, allocations: 6 MB / 458.7 MB, free: 25.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03568/0.4912, allocations: 27.57 MB / 486.3 MB, free: 22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004913/0.4961, allocations: 2.403 MB / 488.7 MB, free: 20.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.4977, allocations: 1.081 MB / 489.8 MB, free: 20.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.569e-05/0.4978, allocations: 13.7 kB / 489.8 MB, free: 20.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/0.4978, allocations: 49.22 kB / 489.8 MB, free: 20.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 3.657e-06/0.4978, allocations: 0 / 489.8 MB, free: 20.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=110): time 0.01776/0.5156, allocations: 7.952 MB / 497.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.5157, allocations: 171 kB / 497.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003763/0.5195, allocations: 2.94 MB / 0.4891 GB, free: 11.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001851/0.5197, allocations: 37.7 kB / 0.4892 GB, free: 11.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001653/0.5214, allocations: 2.187 MB / 0.4913 GB, free: 9.672 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005587/0.5219, allocations: 456 kB / 0.4917 GB, free: 9.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/0.5231, allocations: 0.8913 MB / 0.4926 GB, free: 8.328 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5233, allocations: 305.1 kB / 0.4929 GB, free: 8.027 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002376/0.5256, allocations: 1.492 MB / 0.4944 GB, free: 6.516 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005091/0.5307, allocations: 4.319 MB / 0.4986 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008356/0.5391, allocations: 6.259 MB / 0.5047 GB, free: 9.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.219e-05/0.5393, allocations: 28 kB / 0.5047 GB, free: 9.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01086/0.5501, allocations: 5.568 MB / 0.5102 GB, free: 3.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.536e-05/0.5503, allocations: 48.97 kB / 0.5102 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000149/0.5504, allocations: 100 kB / 0.5103 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.5506, allocations: 140 kB / 0.5104 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004431/0.5551, allocations: 1.228 MB / 0.5116 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001681/0.5552, allocations: 204.7 kB / 0.5118 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003372/0.5586, allocations: 247.5 kB / 0.5121 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005149/0.5591, allocations: 286.2 kB / 0.5123 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004764/0.5639, allocations: 2.586 MB / 0.5149 GB, free: 14.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004864/0.5688, allocations: 4.308 MB / 0.5191 GB, free: 8.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007881/0.5767, allocations: 6.232 MB / 0.5252 GB, free: 1.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001049/0.5769, allocations: 32 kB / 0.5252 GB, free: 1.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=577) (initialization_lambda0): time 0.01096/0.5878, allocations: 5.549 MB / 0.5306 GB, free: 11.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.061e-05/0.588, allocations: 48 kB / 0.5307 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001408/0.5881, allocations: 100 kB / 0.5307 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001268/0.5883, allocations: 132 kB / 0.5309 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004536/0.5928, allocations: 1.232 MB / 0.5321 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001832/0.593, allocations: 195.2 kB / 0.5323 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003692/0.5967, allocations: 247.8 kB / 0.5325 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000741/0.5975, allocations: 281.5 kB / 0.5328 GB, free: 9.547 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.001373/0.5988, allocations: 0.5491 MB / 0.5333 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007365/0.5996, allocations: 248.8 kB / 0.5335 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/0.6022, allocations: 1.312 MB / 0.5348 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.75e-05/0.6023, allocations: 16 kB / 0.5348 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.6023, allocations: 0 / 0.5348 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/0.6023, allocations: 3.984 kB / 0.5348 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009602/0.6119, allocations: 4.31 MB / 0.5391 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.612, allocations: 4.031 kB / 0.5391 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002041/0.614, allocations: 375.3 kB / 0.5394 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.092e-05/0.6141, allocations: 4 kB / 0.5394 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/0.6142, allocations: 20 kB / 0.5394 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.4e-05/0.6142, allocations: 7.984 kB / 0.5394 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.6143, allocations: 0 / 0.5394 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004609/0.6189, allocations: 3.212 MB / 0.5426 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.6202, allocations: 469.7 kB / 0.543 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/0.6205, allocations: 12 kB / 0.543 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009866/0.6214, allocations: 67.91 kB / 0.5431 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.6216, allocations: 52.31 kB / 0.5432 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-05/0.6217, allocations: 35.81 kB / 0.5432 GB, free: 14.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002976/0.6247, allocations: 1.828 MB / 0.545 GB, free: 12.94 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6247, allocations: 0 / 0.545 GB, free: 12.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006506/0.6312, allocations: 1.187 MB / 0.5461 GB, free: 11.75 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.004902/0.6362, allocations: 3.832 MB / 0.5499 GB, free: 7.883 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01099/0.6472, allocations: 6.189 MB / 0.5559 GB, free: 1.746 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/0.6472, allocations: 4.375 kB / 0.5559 GB, free: 1.742 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.6486, allocations: 0.8342 MB / 0.5567 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/0.6508, allocations: 296 kB / 0.557 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3094/0.9602, allocations: 32.6 MB / 0.5889 GB, free: 138.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002005/0.9622, allocations: 2.299 MB / 0.5911 GB, free: 137.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005286/0.9675, allocations: 2.505 MB / 0.5935 GB, free: 137.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/0.9689, allocations: 1.158 MB / 0.5947 GB, free: 137.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.9689, allocations: 0 / 0.5947 GB, free: 137.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09833/1.067, allocations: 46.32 MB / 0.6399 GB, free: 121.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.157/10.22, allocations: 12 kB / 0.6399 GB, free: 121.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 & 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)