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.001509/0.001509, allocations: 108 kB / 15.61 MB, free: 152 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.001434/0.001434, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.2006/0.2006, allocations: 5.206 MB / 295.6 MB, free: 3.055 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001467, allocations: 63.91 kB / 357.3 MB, free: 1.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1094, allocations: 50.57 MB / 407.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.005081/0.1145, allocations: 3.634 MB / 411.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00505/0.1196, allocations: 3.463 MB / 415 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004758/0.1201, allocations: 4 kB / 415 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009669/0.1211, allocations: 290.9 kB / 415.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.1233, allocations: 0.8994 MB / 416.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000535/0.1239, allocations: 243.6 kB / 416.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.1253, allocations: 1.168 MB / 417.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005364/0.1258, allocations: 380.2 kB / 417.9 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005528/0.1264, allocations: 494.3 kB / 418.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008818/0.1273, allocations: 0.81 MB / 419.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.1275, allocations: 116 kB / 419.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.1295, allocations: 1.061 MB / 420.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005125/0.1301, allocations: 0.4987 MB / 420.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006832/0.1308, allocations: 0.626 MB / 421.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2392/0.3699, allocations: 1.974 MB / 423.5 MB, free: 39.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.24e-05/0.37, allocations: 3.219 kB / 423.5 MB, free: 39.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.3701, allocations: 0 / 423.5 MB, free: 39.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.335e-05/0.3701, allocations: 0 / 423.5 MB, free: 39.16 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.007977/0.3781, allocations: 2.328 MB / 425.8 MB, free: 38.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/0.3782, allocations: 9.594 kB / 425.8 MB, free: 38.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001781/0.3784, allocations: 96.09 kB / 425.9 MB, free: 38.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00539/0.3838, allocations: 0.612 MB / 426.5 MB, free: 38.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003947/0.3878, allocations: 1.662 MB / 428.2 MB, free: 37.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.05393/0.4417, allocations: 12 MB / 440.2 MB, free: 37.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007121/0.4425, allocations: 35.72 kB / 440.2 MB, free: 37.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07231/0.5148, allocations: 15.63 MB / 455.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.5149, allocations: 0.8438 kB / 455.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003097/0.5152, allocations: 20.56 kB / 455.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.5153, allocations: 16.66 kB / 455.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1349/0.6501, allocations: 29.45 MB / 485.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007142/0.6573, allocations: 4.646 MB / 490 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07382/0.7312, allocations: 15.25 MB / 0.4934 GB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.07/0.8013, allocations: 14.69 MB / 0.5077 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00028/0.8016, allocations: 10.27 kB / 0.5078 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.745e-05/0.8017, allocations: 50.11 kB / 0.5078 GB, free: 10.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 5.35e-06/0.8017, allocations: 0.75 kB / 0.5078 GB, free: 10.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.2003/1.002, allocations: 42.36 MB / 0.5492 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002342/1.002, allocations: 397.4 kB / 0.5495 GB, free: 96 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005685/1.008, allocations: 2.145 MB / 0.5516 GB, free: 13.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007158/1.009, allocations: 33.7 kB / 0.5517 GB, free: 13.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005967/1.009, allocations: 437.1 kB / 0.5521 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006232/1.01, allocations: 111.2 kB / 0.5522 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001271/1.011, allocations: 199.6 kB / 0.5524 GB, free: 13.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/1.012, allocations: 322.7 kB / 0.5527 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.08616/1.098, allocations: 14.63 MB / 0.567 GB, free: 14.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2784/1.376, allocations: 14.76 MB / 0.5814 GB, free: 142.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1263/1.502, allocations: 25.71 MB / 0.6065 GB, free: 139.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/1.502, allocations: 4 kB / 0.6065 GB, free: 139.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.1304/1.633, allocations: 27.72 MB / 0.6336 GB, free: 121.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/1.633, allocations: 8 kB / 0.6336 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.633, allocations: 0 / 0.6336 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/1.633, allocations: 4.75 kB / 0.6336 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03099/1.664, allocations: 6.396 MB / 0.6398 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/1.664, allocations: 4 kB / 0.6398 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03117/1.695, allocations: 6.356 MB / 0.6461 GB, free: 108.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005023/1.696, allocations: 92.44 kB / 0.6461 GB, free: 108.7 MB / 446.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.0009167/1.697, allocations: 338.9 kB / 0.6465 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007057/1.697, allocations: 101.5 kB / 0.6466 GB, free: 108.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/1.698, allocations: 120.6 kB / 0.6467 GB, free: 108.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/1.698, allocations: 9.125 kB / 0.6467 GB, free: 108.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.698, allocations: 0 / 0.6467 GB, free: 108.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.698, allocations: 0 / 0.6467 GB, free: 108.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/1.7, allocations: 1.867 MB / 0.6485 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.7, allocations: 0 / 0.6485 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03065/1.73, allocations: 6.383 MB / 0.6547 GB, free: 99.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/1.73, allocations: 4 kB / 0.6547 GB, free: 99.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005259/1.731, allocations: 55.89 kB / 0.6548 GB, free: 99.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.914e-06/1.731, allocations: 8.625 kB / 0.6548 GB, free: 99.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.731, allocations: 5.875 kB / 0.6548 GB, free: 99.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1208/1.852, allocations: 28.2 MB / 0.6823 GB, free: 71.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009908/1.853, allocations: 325.3 kB / 0.6827 GB, free: 71.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008431/1.853, allocations: 11.75 kB / 0.6827 GB, free: 71.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0315/1.885, allocations: 6.339 MB / 0.6889 GB, free: 64.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001839/1.887, allocations: 0.8061 MB / 0.6896 GB, free: 64.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003127/1.887, allocations: 83.89 kB / 0.6897 GB, free: 64.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003048/1.89, allocations: 1.62 MB / 0.6913 GB, free: 62.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.064e-06/1.89, allocations: 4 kB / 0.6913 GB, free: 62.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002697/1.893, allocations: 0.687 MB / 0.692 GB, free: 61.74 MB / 446.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.1268/2.02, allocations: 29.01 MB / 0.7203 GB, free: 32.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1244/2.144, allocations: 29.4 MB / 0.749 GB, free: 3.293 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/2.144, allocations: 4 kB / 0.749 GB, free: 3.289 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2379/2.382, allocations: 17.82 MB / 0.7664 GB, free: 141.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/2.385, allocations: 257 kB / 0.7667 GB, free: 141.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4087/2.793, allocations: 97.11 MB / 0.8615 GB, free: 63.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/2.794, allocations: 1.11 MB / 0.8626 GB, free: 62.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004057/2.798, allocations: 0.8639 MB / 0.8634 GB, free: 61.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001948/2.8, allocations: 439.1 kB / 0.8639 GB, free: 61.04 MB / 446.1 MB Notification: Performance of SimCode: time 1.673e-06/2.8, allocations: 0 / 0.8639 GB, free: 61.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2865/3.087, allocations: 86.33 MB / 0.9482 GB, free: 134.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.331/12.42, allocations: 11.06 kB / 0.9482 GB, free: 134.4 MB / 446.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)