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.001105/0.001105, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001094/0.001094, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.129/1.129, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1214/0.1214, allocations: 5.206 MB / 295.2 MB, free: 3.062 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 67.89 kB / 356.6 MB, free: 2.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07419/0.07523, allocations: 50.56 MB / 407.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.00572/0.08098, allocations: 6.398 MB / 413.6 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004363/0.08535, allocations: 4.064 MB / 417.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/0.08561, allocations: 8 kB / 417.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005905/0.0862, allocations: 278.8 kB / 417.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.08749, allocations: 0.7905 MB / 418.7 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.0878, allocations: 207.7 kB / 418.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.08894, allocations: 1.421 MB / 420.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004033/0.08935, allocations: 387.9 kB / 420.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.0897, allocations: 442.4 kB / 421.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007055/0.09041, allocations: 0.8022 MB / 421.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.09055, allocations: 60 kB / 422 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1257/0.2162, allocations: 1.019 MB / 423 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004437/0.2167, allocations: 460.9 kB / 423.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006299/0.2173, allocations: 0.5636 MB / 424 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.219, allocations: 1.933 MB / 426 MB, free: 36.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.219, allocations: 1.5 kB / 426 MB, free: 36.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.219, allocations: 0.5625 kB / 426 MB, free: 36.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.219, allocations: 3.938 kB / 426 MB, free: 36.95 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.004898/0.2239, allocations: 2.335 MB / 428.3 MB, free: 36.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.2239, allocations: 9.531 kB / 428.3 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.224, allocations: 97.16 kB / 428.4 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004856/0.2289, allocations: 0.6082 MB / 429 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/0.2314, allocations: 1.664 MB / 430.7 MB, free: 35.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.04947/0.2809, allocations: 12 MB / 442.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004016/0.2813, allocations: 39.22 kB / 442.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06401/0.3453, allocations: 15.62 MB / 458.3 MB, free: 31.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3453, allocations: 5.25 kB / 458.3 MB, free: 31.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002667/0.3456, allocations: 15.41 kB / 458.3 MB, free: 31.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.3456, allocations: 20.19 kB / 458.4 MB, free: 31.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1137/0.4594, allocations: 29.44 MB / 487.8 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004768/0.4642, allocations: 4.648 MB / 492.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06486/0.529, allocations: 15.26 MB / 0.4958 GB, free: 5.945 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.05964/0.5887, allocations: 14.69 MB / 0.5102 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.5889, allocations: 10.08 kB / 0.5102 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.589, allocations: 46.56 kB / 0.5102 GB, free: 7.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 2.304e-06/0.589, allocations: 0 / 0.5102 GB, free: 7.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.1804/0.7694, allocations: 42.37 MB / 0.5516 GB, free: 12.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002119/0.7696, allocations: 393.1 kB / 0.552 GB, free: 12.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003491/0.7732, allocations: 2.149 MB / 0.5541 GB, free: 10.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003983/0.7736, allocations: 29.7 kB / 0.5541 GB, free: 10.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/0.7739, allocations: 441.1 kB / 0.5545 GB, free: 9.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/0.7742, allocations: 106 kB / 0.5546 GB, free: 9.559 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008565/0.7751, allocations: 197.5 kB / 0.5548 GB, free: 9.359 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.634e-05/0.7752, allocations: 325.8 kB / 0.5551 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06188/0.8371, allocations: 14.63 MB / 0.5694 GB, free: 10.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1811/1.018, allocations: 14.75 MB / 0.5838 GB, free: 138.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.108/1.126, allocations: 25.71 MB / 0.6089 GB, free: 133.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/1.126, allocations: 0 / 0.6089 GB, free: 133.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.1114/1.238, allocations: 27.73 MB / 0.636 GB, free: 114.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/1.238, allocations: 4 kB / 0.636 GB, free: 114.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.238, allocations: 0 / 0.636 GB, free: 114.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/1.238, allocations: 4 kB / 0.636 GB, free: 114.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02751/1.265, allocations: 6.387 MB / 0.6422 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/1.265, allocations: 7.984 kB / 0.6423 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02763/1.293, allocations: 6.361 MB / 0.6485 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004178/1.293, allocations: 89.64 kB / 0.6486 GB, free: 101.6 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.0008927/1.294, allocations: 332.8 kB / 0.6489 GB, free: 101.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00057/1.295, allocations: 106.1 kB / 0.649 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/1.295, allocations: 113.6 kB / 0.6491 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.295, allocations: 8 kB / 0.6491 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/1.295, allocations: 4.188 kB / 0.6491 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.295, allocations: 7.984 kB / 0.6491 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/1.297, allocations: 1.854 MB / 0.6509 GB, free: 99.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.297, allocations: 0.6562 kB / 0.6509 GB, free: 99.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02913/1.326, allocations: 6.391 MB / 0.6572 GB, free: 93.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/1.326, allocations: 3.125 kB / 0.6572 GB, free: 93.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003717/1.326, allocations: 55.52 kB / 0.6572 GB, free: 93.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/1.327, allocations: 7 kB / 0.6572 GB, free: 93.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.327, allocations: 7 kB / 0.6572 GB, free: 93.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1134/1.44, allocations: 28.21 MB / 0.6848 GB, free: 65.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006689/1.441, allocations: 327.1 kB / 0.6851 GB, free: 64.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006786/1.441, allocations: 15.98 kB / 0.6851 GB, free: 64.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02783/1.469, allocations: 6.335 MB / 0.6913 GB, free: 58.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001416/1.471, allocations: 0.7921 MB / 0.6921 GB, free: 57.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002741/1.471, allocations: 87.89 kB / 0.6921 GB, free: 57.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002216/1.473, allocations: 1.62 MB / 0.6937 GB, free: 55.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.473, allocations: 5.125 kB / 0.6937 GB, free: 55.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001804/1.475, allocations: 0.6815 MB / 0.6944 GB, free: 55.28 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.1134/1.588, allocations: 29.01 MB / 0.7227 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.267/1.855, allocations: 29.38 MB / 0.7514 GB, free: 137.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.855, allocations: 0 / 0.7514 GB, free: 137.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.06432/1.92, allocations: 17.82 MB / 0.7688 GB, free: 137.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/1.922, allocations: 234.5 kB / 0.769 GB, free: 137.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3653/2.287, allocations: 97.32 MB / 0.8641 GB, free: 54.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/2.288, allocations: 1.112 MB / 0.8652 GB, free: 53.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003904/2.292, allocations: 0.8636 MB / 0.866 GB, free: 52.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00198/2.294, allocations: 439.1 kB / 0.8664 GB, free: 51.83 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/2.294, allocations: 0 / 0.8664 GB, free: 51.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2883/2.582, allocations: 80.35 MB / 0.9449 GB, free: 136 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/2.582, allocations: 171.4 kB / 0.9451 GB, free: 135.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.241/5.823, allocations: 0 / 0.9451 GB, free: 135.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_DeltaRobot_DeltaRobot_Tests_Trajectory_test_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 DeltaRobot_DeltaRobot_Tests_Trajectory_test.fmu > DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe 2>&1)