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.007933/0.007933, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.001911/0.001911, allocations: 201.3 kB / 16.68 MB, free: 5.93 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02401/0.02401, allocations: 5.234 MB / 295.8 MB, free: 9.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 67.88 kB / 408.6 MB, free: 26.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09182/0.09331, allocations: 50.57 MB / 459.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.005325/0.09869, allocations: 3.641 MB / 462.8 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005097/0.1038, allocations: 3.459 MB / 466.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004495/0.1043, allocations: 4 kB / 466.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.1053, allocations: 291 kB / 466.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002492/0.1079, allocations: 0.8956 MB / 467.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.1085, allocations: 243.6 kB / 467.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001652/0.1101, allocations: 1.167 MB / 468.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006182/0.1108, allocations: 384.1 kB / 469.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007902/0.1116, allocations: 486.4 kB / 469.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.1128, allocations: 0.8218 MB / 470.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004418/0.1133, allocations: 112 kB / 470.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.1156, allocations: 1.076 MB / 471.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007053/0.1163, allocations: 0.4987 MB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.1174, allocations: 0.6143 MB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002989/0.1204, allocations: 2.005 MB / 474.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1204, allocations: 0 / 474.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1204, allocations: 0 / 474.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.643e-05/0.1205, allocations: 7.938 kB / 474.8 MB, free: 8.367 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.007228/0.1277, allocations: 2.37 MB / 477.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1278, allocations: 12.03 kB / 477.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002366/0.1281, allocations: 98.64 kB / 477.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005811/0.1339, allocations: 0.6118 MB / 477.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004221/0.1381, allocations: 1.674 MB / 479.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005884/0.1388, allocations: 255.7 kB / 479.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002316/0.139, allocations: 36 kB / 479.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006912/0.1459, allocations: 2.3 MB / 482.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.146, allocations: 7.938 kB / 482.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.1461, allocations: 16 kB / 482.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.1462, allocations: 19.92 kB / 482.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/0.1578, allocations: 3.573 MB / 485.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005022/0.1628, allocations: 3.143 MB / 488.9 MB, free: 9.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007446/0.1703, allocations: 2.259 MB / 491.2 MB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005842/0.1762, allocations: 1.757 MB / 492.9 MB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.1764, allocations: 12 kB / 492.9 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/0.1764, allocations: 54.42 kB / 493 MB, free: 5.762 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.645e-06/0.1764, allocations: 0 / 493 MB, free: 5.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.01807/0.1945, allocations: 5.225 MB / 498.2 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000179/0.1947, allocations: 401.5 kB / 498.6 MB, free: 40 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00426/0.199, allocations: 2.142 MB / 0.489 GB, free: 13.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001942/0.1992, allocations: 37.7 kB / 0.4891 GB, free: 13.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003885/0.1996, allocations: 437.4 kB / 0.4895 GB, free: 13.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.1999, allocations: 115.1 kB / 0.4896 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003222/0.2002, allocations: 69.69 kB / 0.4896 GB, free: 13.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2003, allocations: 318 kB / 0.49 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005748/0.2061, allocations: 1.709 MB / 0.4916 GB, free: 11.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005863/0.212, allocations: 1.85 MB / 0.4934 GB, free: 9.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/0.223, allocations: 3.243 MB / 0.4966 GB, free: 6.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.2231, allocations: 4 kB / 0.4966 GB, free: 6.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.01197/0.235, allocations: 3.505 MB / 0.5 GB, free: 2.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.2351, allocations: 4 kB / 0.5 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.2351, allocations: 4 kB / 0.5 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.2351, allocations: 4 kB / 0.5 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003125/0.2383, allocations: 0.6902 MB / 0.5007 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.2383, allocations: 7.984 kB / 0.5007 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003996/0.2423, allocations: 0.7408 MB / 0.5014 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.2425, allocations: 19.98 kB / 0.5015 GB, free: 1.039 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.0006624/0.2431, allocations: 338.2 kB / 0.5018 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005703/0.2437, allocations: 111.2 kB / 0.5019 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.244, allocations: 116.6 kB / 0.502 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.244, allocations: 7.938 kB / 0.502 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.244, allocations: 0 / 0.502 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.244, allocations: 4 kB / 0.502 GB, free: 472 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1976/0.4416, allocations: 1.038 MB / 0.503 GB, free: 52.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.4417, allocations: 1.781 kB / 0.503 GB, free: 52.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00343/0.4451, allocations: 0.6876 MB / 0.5037 GB, free: 52.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.4452, allocations: 6.391 kB / 0.5037 GB, free: 52.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.915e-05/0.4453, allocations: 11.98 kB / 0.5037 GB, free: 52.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.4453, allocations: 7.891 kB / 0.5037 GB, free: 52.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.4453, allocations: 2.25 kB / 0.5037 GB, free: 52.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/0.4575, allocations: 3.958 MB / 0.5076 GB, free: 52.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008801/0.4585, allocations: 335.4 kB / 0.5079 GB, free: 51.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003593/0.4588, allocations: 12.14 kB / 0.5079 GB, free: 51.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004082/0.4629, allocations: 0.7246 MB / 0.5086 GB, free: 51.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004126/0.4633, allocations: 135.4 kB / 0.5088 GB, free: 51.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.879e-05/0.4634, allocations: 11.91 kB / 0.5088 GB, free: 51.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003097/0.4665, allocations: 1.625 MB / 0.5104 GB, free: 51.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4665, allocations: 0 / 0.5104 GB, free: 51.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001592/0.4681, allocations: 416.7 kB / 0.5108 GB, free: 51.48 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.01299/0.4811, allocations: 4.792 MB / 0.5154 GB, free: 49.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01096/0.4921, allocations: 3.513 MB / 0.5189 GB, free: 47.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.4922, allocations: 0 / 0.5189 GB, free: 47.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005601/0.4978, allocations: 1.962 MB / 0.5208 GB, free: 46.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.4997, allocations: 252 kB / 0.521 GB, free: 46.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04651/0.5462, allocations: 21.01 MB / 0.5415 GB, free: 25.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.5467, allocations: 1.109 MB / 0.5426 GB, free: 24.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001196/0.5479, allocations: 351.6 kB / 0.543 GB, free: 23.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008153/0.5487, allocations: 355.3 kB / 0.5433 GB, free: 23.63 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5488, allocations: 0 / 0.5433 GB, free: 23.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1085/0.6573, allocations: 39.08 MB / 0.5815 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.525/10.18, allocations: 7.938 kB / 0.5815 GB, free: 0.8398 MB / 398.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)