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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007595/0.0007595, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007494/0.0007494, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8409/0.8409, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.01532/0.01532, allocations: 4.083 MB / 263.3 MB, free: 9.238 MB / 250.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 387.6 MB, free: 9.047 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.482e-05, allocations: 6.219 kB / 387.6 MB, free: 9.039 MB / 314.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.002948/0.002963, allocations: 3.363 MB / 390.9 MB, free: 5.652 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002901/0.005864, allocations: 3.214 MB / 394.2 MB, free: 2.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.006005, allocations: 8 kB / 394.2 MB, free: 2.422 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004971/0.006502, allocations: 270.9 kB / 394.4 MB, free: 2.156 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.007698, allocations: 0.9296 MB / 395.4 MB, free: 1.227 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.007961, allocations: 243.6 kB / 395.6 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008209/0.008782, allocations: 1.199 MB / 396.8 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002851/0.009067, allocations: 228.7 kB / 397 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004565/0.009524, allocations: 0.6313 MB / 397.6 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005688/0.01009, allocations: 0.7756 MB / 398.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.01021, allocations: 116 kB / 398.5 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000979/0.01119, allocations: 0.9747 MB / 399.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003144/0.01151, allocations: 0.5298 MB / 400 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003108/0.01182, allocations: 458.9 kB / 400.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.01325, allocations: 2.135 MB / 402.6 MB, free: 9.926 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.01325, allocations: 0 / 402.6 MB, free: 9.926 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.01325, allocations: 0 / 402.6 MB, free: 9.926 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.01327, allocations: 0 / 402.6 MB, free: 9.926 MB / 330.7 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.00325/0.01652, allocations: 2.31 MB / 404.9 MB, free: 7.578 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.01655, allocations: 12.03 kB / 404.9 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.646e-05/0.01665, allocations: 94.72 kB / 405 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/0.01913, allocations: 0.6196 MB / 405.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.02107, allocations: 1.618 MB / 407.3 MB, free: 5.184 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/0.0214, allocations: 0.4912 MB / 407.8 MB, free: 4.609 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.861e-05/0.02148, allocations: 40 kB / 407.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/0.02495, allocations: 2.534 MB / 410.3 MB, free: 1.902 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.02496, allocations: 3.938 kB / 410.3 MB, free: 1.898 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.078e-05/0.02502, allocations: 16 kB / 410.4 MB, free: 1.883 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.02503, allocations: 15.94 kB / 410.4 MB, free: 1.867 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1227/0.1477, allocations: 3.566 MB / 413.9 MB, free: 35.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002653/0.1503, allocations: 2.723 MB / 416.7 MB, free: 33.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003802/0.1541, allocations: 2.239 MB / 418.9 MB, free: 33.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002876/0.157, allocations: 1.758 MB / 420.7 MB, free: 33.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.946e-05/0.1571, allocations: 4.625 kB / 420.7 MB, free: 33.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.1571, allocations: 46.7 kB / 420.7 MB, free: 33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 2.675e-06/0.1571, allocations: 0 / 420.7 MB, free: 33 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.008504/0.1656, allocations: 5.231 MB / 425.9 MB, free: 31.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.1657, allocations: 396.1 kB / 426.3 MB, free: 30.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00217/0.1678, allocations: 2.16 MB / 428.5 MB, free: 29.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.505e-05/0.1679, allocations: 29.7 kB / 428.5 MB, free: 29.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.1682, allocations: 440.2 kB / 429 MB, free: 29.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.1683, allocations: 113.6 kB / 429.1 MB, free: 29.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.1684, allocations: 68.22 kB / 429.1 MB, free: 28.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.069e-05/0.1685, allocations: 316.8 kB / 429.4 MB, free: 28.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00258/0.171, allocations: 1.72 MB / 431.2 MB, free: 27.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/0.1736, allocations: 2.033 MB / 433.2 MB, free: 25.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004732/0.1783, allocations: 3.244 MB / 436.4 MB, free: 22.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1783, allocations: 4 kB / 436.4 MB, free: 22.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.005161/0.1834, allocations: 3.507 MB / 439.9 MB, free: 19.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1835, allocations: 11.28 kB / 440 MB, free: 19.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1835, allocations: 0 / 440 MB, free: 19.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1835, allocations: 4 kB / 440 MB, free: 19.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.1847, allocations: 0.6915 MB / 440.7 MB, free: 18.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1847, allocations: 11.94 kB / 440.7 MB, free: 18.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.1863, allocations: 0.7345 MB / 441.4 MB, free: 17.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.1864, allocations: 15.98 kB / 441.4 MB, free: 17.74 MB / 330.7 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.0002815/0.1867, allocations: 333.6 kB / 441.7 MB, free: 17.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.1869, allocations: 111.3 kB / 441.8 MB, free: 17.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.397e-05/0.1869, allocations: 116.7 kB / 442 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.187, allocations: 4 kB / 442 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.187, allocations: 0 / 442 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.187, allocations: 11.88 kB / 442 MB, free: 17.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000717/0.1877, allocations: 0.6722 MB / 442.6 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1877, allocations: 4 kB / 442.7 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.1889, allocations: 0.6767 MB / 443.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1889, allocations: 8 kB / 443.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.189, allocations: 11.98 kB / 443.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.189, allocations: 4 kB / 443.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.189, allocations: 0 / 443.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00515/0.1941, allocations: 3.983 MB / 447.3 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.1944, allocations: 259.8 kB / 447.6 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.1945, allocations: 11.19 kB / 447.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/0.1962, allocations: 0.7237 MB / 448.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/0.1964, allocations: 135.7 kB / 448.5 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.1965, allocations: 15.98 kB / 448.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001409/0.1979, allocations: 1.62 MB / 450.1 MB, free: 9.027 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1979, allocations: 4 kB / 450.1 MB, free: 9.023 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008347/0.1987, allocations: 429.8 kB / 450.5 MB, free: 8.637 MB / 330.7 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.006391/0.2051, allocations: 4.821 MB / 455.3 MB, free: 3.844 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005264/0.2104, allocations: 3.499 MB / 458.8 MB, free: 348 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2104, allocations: 0 / 458.8 MB, free: 348 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003031/0.2134, allocations: 1.958 MB / 460.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.2145, allocations: 257.2 kB / 461 MB, free: 14.15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02916/0.2436, allocations: 21.08 MB / 482.1 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/0.2442, allocations: 0.5023 MB / 482.6 MB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000736/0.245, allocations: 357 kB / 483 MB, free: 8.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006113/0.2456, allocations: 364.3 kB / 483.3 MB, free: 7.664 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2456, allocations: 0 / 483.3 MB, free: 7.664 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0466/0.2922, allocations: 44.65 MB / 0.5156 GB, free: 11.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.466/7.758, allocations: 8.062 kB / 0.5156 GB, free: 11.34 MB / 410.7 MB " [Timeout remaining time 652] (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 --stepSize=0.008 --timeout=50 --tolerance=1e-06 DeltaRobot_DeltaRobot_Tests_Trajectory_test.fmu > DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.35064912121743] Failed to read output from testmodel.py, exit status != 0: 7.852580665610731 7.861360626 7.846462168 Calling exit ...