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.001209/0.001209, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001239/0.00124, allocations: 193.8 kB / 16.25 MB, free: 6.621 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.23/1.23, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1335/0.1335, allocations: 5.194 MB / 295.3 MB, free: 3.082 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 59.84 kB / 356.8 MB, free: 2.035 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08582/0.08709, allocations: 50.57 MB / 407.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.006645/0.09375, allocations: 6.402 MB / 413.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005379/0.09916, allocations: 3.994 MB / 417.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008171/0.1, allocations: 8 kB / 417.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008464/0.1009, allocations: 266.8 kB / 418 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.1028, allocations: 0.8217 MB / 418.8 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.1033, allocations: 219.7 kB / 419 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001302/0.1046, allocations: 1.179 MB / 420.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004824/0.1051, allocations: 392.1 kB / 420.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006095/0.1057, allocations: 486.4 kB / 421.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009867/0.1067, allocations: 0.8529 MB / 421.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.1069, allocations: 112 kB / 422 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1482/0.2551, allocations: 1.04 MB / 423.1 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004808/0.2556, allocations: 0.4959 MB / 423.6 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006119/0.2562, allocations: 0.633 MB / 424.2 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.2578, allocations: 1.983 MB / 426.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2578, allocations: 0.7812 kB / 426.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2578, allocations: 0 / 426.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.2578, allocations: 0.5625 kB / 426.2 MB, free: 37.05 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.005031/0.2629, allocations: 2.336 MB / 428.5 MB, free: 36.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2629, allocations: 9.781 kB / 428.5 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.263, allocations: 95.14 kB / 428.6 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004981/0.268, allocations: 0.6032 MB / 429.2 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/0.2705, allocations: 1.666 MB / 430.9 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.04964/0.3201, allocations: 12 MB / 442.9 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003399/0.3205, allocations: 38.38 kB / 442.9 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06576/0.3862, allocations: 15.63 MB / 458.6 MB, free: 31.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.3863, allocations: 1.125 kB / 458.6 MB, free: 31.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003413/0.3866, allocations: 16.28 kB / 458.6 MB, free: 31.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.3866, allocations: 14.16 kB / 458.6 MB, free: 31.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1225/0.5092, allocations: 29.44 MB / 488 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006377/0.5156, allocations: 4.649 MB / 492.7 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0688/0.5844, allocations: 15.25 MB / 0.496 GB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.06346/0.6479, allocations: 14.69 MB / 0.5104 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.6481, allocations: 7.125 kB / 0.5104 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.6481, allocations: 46.12 kB / 0.5104 GB, free: 6.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.884e-06/0.6482, allocations: 0 / 0.5104 GB, free: 6.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.1863/0.8345, allocations: 42.37 MB / 0.5518 GB, free: 12.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/0.8347, allocations: 389.5 kB / 0.5522 GB, free: 11.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003872/0.8386, allocations: 2.149 MB / 0.5543 GB, free: 9.723 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004601/0.8391, allocations: 29.7 kB / 0.5543 GB, free: 9.688 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/0.8394, allocations: 441.1 kB / 0.5547 GB, free: 9.254 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004885/0.8399, allocations: 105.7 kB / 0.5548 GB, free: 9.152 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/0.8409, allocations: 198.2 kB / 0.555 GB, free: 8.953 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.841, allocations: 321.9 kB / 0.5553 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06348/0.9045, allocations: 14.64 MB / 0.5696 GB, free: 9.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2018/1.106, allocations: 14.75 MB / 0.584 GB, free: 142.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1124/1.219, allocations: 25.72 MB / 0.6091 GB, free: 138 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/1.219, allocations: 0 / 0.6091 GB, free: 138 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.1148/1.334, allocations: 27.73 MB / 0.6362 GB, free: 117.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/1.334, allocations: 7.719 kB / 0.6362 GB, free: 117.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.334, allocations: 4.562 kB / 0.6362 GB, free: 117.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.334, allocations: 0.6562 kB / 0.6362 GB, free: 117.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02832/1.362, allocations: 6.386 MB / 0.6425 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/1.362, allocations: 7.203 kB / 0.6425 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02846/1.391, allocations: 6.363 MB / 0.6487 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004907/1.391, allocations: 87.89 kB / 0.6488 GB, free: 104.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.001145/1.392, allocations: 340.4 kB / 0.6491 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008255/1.393, allocations: 103.2 kB / 0.6492 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/1.393, allocations: 120.6 kB / 0.6493 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/1.393, allocations: 5.031 kB / 0.6493 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/1.393, allocations: 4.75 kB / 0.6493 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.393, allocations: 4 kB / 0.6493 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/1.396, allocations: 1.85 MB / 0.6511 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/1.396, allocations: 0 / 0.6511 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03002/1.426, allocations: 6.389 MB / 0.6574 GB, free: 95.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/1.426, allocations: 0 / 0.6574 GB, free: 95.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005096/1.426, allocations: 59.89 kB / 0.6574 GB, free: 95.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/1.426, allocations: 6.172 kB / 0.6574 GB, free: 95.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.426, allocations: 5.875 kB / 0.6574 GB, free: 95.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1172/1.543, allocations: 28.2 MB / 0.685 GB, free: 67.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006489/1.544, allocations: 333.6 kB / 0.6853 GB, free: 67.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008575/1.545, allocations: 13.22 kB / 0.6853 GB, free: 67.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03016/1.575, allocations: 6.328 MB / 0.6915 GB, free: 60.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001527/1.577, allocations: 0.7969 MB / 0.6923 GB, free: 60.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003805/1.577, allocations: 87.89 kB / 0.6924 GB, free: 59.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002559/1.58, allocations: 1.62 MB / 0.6939 GB, free: 58.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/1.58, allocations: 4 kB / 0.6939 GB, free: 58.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002081/1.582, allocations: 0.6866 MB / 0.6946 GB, free: 57.66 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.1171/1.699, allocations: 29.02 MB / 0.723 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2591/1.958, allocations: 29.41 MB / 0.7517 GB, free: 142.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.958, allocations: 0.8125 kB / 0.7517 GB, free: 142.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.06471/2.023, allocations: 17.82 MB / 0.7691 GB, free: 141.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/2.025, allocations: 258.5 kB / 0.7693 GB, free: 141.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3806/2.406, allocations: 97.32 MB / 0.8644 GB, free: 59.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/2.406, allocations: 1.111 MB / 0.8654 GB, free: 58.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004157/2.41, allocations: 0.8655 MB / 0.8663 GB, free: 57.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002245/2.412, allocations: 443.1 kB / 0.8667 GB, free: 56.87 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/2.412, allocations: 0 / 0.8667 GB, free: 56.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.261/5.674, allocations: 82.84 MB / 0.9476 GB, free: 137.1 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/5.674, allocations: 182 kB / 0.9478 GB, free: 136.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.571/9.245, allocations: 0 / 0.9478 GB, free: 136.8 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)