Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.Trajectory_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.Trajectory_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_Trajectory_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DeltaRobot.Tests.Trajectory_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_Trajectory_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.005766/0.005766, allocations: 96.97 kB / 15.73 MB, free: 6.031 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.001462/0.001462, allocations: 196.3 kB / 16.68 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1344/0.1344, allocations: 5.2 MB / 295.8 MB, free: 2.961 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.001811, allocations: 67.89 kB / 408.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.225, allocations: 50.56 MB / 459.1 MB, free: 19.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.003651/0.2287, allocations: 3.64 MB / 462.8 MB, free: 17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003498/0.2322, allocations: 3.45 MB / 466.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.2324, allocations: 6.469 kB / 466.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007031/0.2331, allocations: 293 kB / 466.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.2349, allocations: 0.9052 MB / 467.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.2353, allocations: 240.5 kB / 467.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.2364, allocations: 1.163 MB / 468.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004357/0.2369, allocations: 387 kB / 469.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004529/0.2373, allocations: 488.5 kB / 469.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.2384, allocations: 0.8128 MB / 470.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002797/0.2387, allocations: 113.2 kB / 470.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/0.2414, allocations: 1.07 MB / 471.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006904/0.2421, allocations: 0.5037 MB / 472.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008013/0.2429, allocations: 0.6118 MB / 472.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003222/0.2461, allocations: 2.005 MB / 474.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2461, allocations: 0 / 474.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2462, allocations: 0 / 474.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.2462, allocations: 0 / 474.8 MB, free: 11.26 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.006363/0.2526, allocations: 2.374 MB / 477.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.2526, allocations: 9.5 kB / 477.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.2527, allocations: 97.23 kB / 477.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005454/0.2582, allocations: 0.614 MB / 477.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/0.2611, allocations: 1.672 MB / 479.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004248/0.2615, allocations: 254.8 kB / 479.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.2616, allocations: 36.97 kB / 479.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006266/0.2679, allocations: 2.297 MB / 482.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.2679, allocations: 7.875 kB / 482.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.295e-05/0.268, allocations: 22.03 kB / 482.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.2681, allocations: 11.19 kB / 482.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/0.2791, allocations: 3.579 MB / 485.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003213/0.2824, allocations: 3.162 MB / 488.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006985/0.2894, allocations: 2.25 MB / 491.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005282/0.2947, allocations: 1.769 MB / 492.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.196e-05/0.2948, allocations: 7.984 kB / 492.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/0.2948, allocations: 50.48 kB / 493 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.334e-06/0.2948, allocations: 0 / 493 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.01931/0.3141, allocations: 5.213 MB / 498.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002403/0.3144, allocations: 409.4 kB / 498.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0048/0.3192, allocations: 2.145 MB / 0.489 GB, free: 7.914 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001621/0.3194, allocations: 33.7 kB / 0.489 GB, free: 7.875 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/0.3198, allocations: 441.3 kB / 0.4895 GB, free: 7.441 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.32, allocations: 103.1 kB / 0.4896 GB, free: 7.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003112/0.3204, allocations: 77.67 kB / 0.4896 GB, free: 7.258 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3205, allocations: 314 kB / 0.4899 GB, free: 6.945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006041/0.3266, allocations: 1.724 MB / 0.4916 GB, free: 5.219 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006197/0.3328, allocations: 1.842 MB / 0.4934 GB, free: 3.332 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/0.3445, allocations: 3.251 MB / 0.4966 GB, free: 60 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.3445, allocations: 0 / 0.4966 GB, free: 60 kB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.01313/0.3577, allocations: 3.5 MB / 0.5 GB, free: 12.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.3577, allocations: 4 kB / 0.5 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3577, allocations: 0 / 0.5 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-05/0.3578, allocations: 8 kB / 0.5 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003307/0.3611, allocations: 0.6864 MB / 0.5007 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.3611, allocations: 0 / 0.5007 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004613/0.3657, allocations: 0.7447 MB / 0.5014 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002097/0.366, allocations: 19.98 kB / 0.5014 GB, free: 11.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * 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.0008775/0.3669, allocations: 347 kB / 0.5018 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000739/0.3676, allocations: 103.3 kB / 0.5019 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/0.368, allocations: 112.6 kB / 0.502 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.368, allocations: 7.938 kB / 0.502 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.368, allocations: 4 kB / 0.502 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.368, allocations: 0 / 0.502 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.3702, allocations: 1.053 MB / 0.503 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.3703, allocations: 4 kB / 0.503 GB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003239/0.3735, allocations: 0.6864 MB / 0.5037 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.3735, allocations: 4 kB / 0.5037 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.3736, allocations: 15.98 kB / 0.5037 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.357e-06/0.3736, allocations: 7.938 kB / 0.5037 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-06/0.3737, allocations: 4.234 kB / 0.5037 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/0.3868, allocations: 3.969 MB / 0.5076 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008944/0.3877, allocations: 336.2 kB / 0.5079 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006124/0.3884, allocations: 8 kB / 0.5079 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004431/0.3928, allocations: 0.7215 MB / 0.5086 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004669/0.3933, allocations: 127.8 kB / 0.5088 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.3934, allocations: 19.98 kB / 0.5088 GB, free: 3.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003557/0.397, allocations: 1.627 MB / 0.5104 GB, free: 1.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.397, allocations: 0 / 0.5104 GB, free: 1.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002042/0.399, allocations: 415.4 kB / 0.5108 GB, free: 1.422 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * 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.01452/0.4136, allocations: 4.79 MB / 0.5154 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01269/0.4263, allocations: 3.503 MB / 0.5189 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.4263, allocations: 0 / 0.5189 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00668/0.433, allocations: 1.978 MB / 0.5208 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/0.4355, allocations: 253.8 kB / 0.521 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06235/0.4979, allocations: 21.01 MB / 0.5415 GB, free: 1.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009137/0.4988, allocations: 1.109 MB / 0.5426 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001609/0.5005, allocations: 349.1 kB / 0.543 GB, free: 180 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/0.5016, allocations: 359.3 kB / 0.5433 GB, free: 15.82 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5016, allocations: 0 / 0.5433 GB, free: 15.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07756/0.5792, allocations: 39.06 MB / 0.5815 GB, free: 8.98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.864/10.44, allocations: 11.56 kB / 0.5815 GB, free: 8.973 MB / 462.1 MB (rm -f DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.Trajectory_test.sim & python3 -m fmpy simulate --output-file DeltaRobot_DeltaRobot.Tests.Trajectory_test_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 DeltaRobot_DeltaRobot_Tests_Trajectory_test.fmu > DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe 2>&1)