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.001341/0.001341, allocations: 75.56 kB / 19.16 MB, free: 2.566 MB / 14.72 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.001473/0.001473, allocations: 166.4 kB / 22.44 MB, free: 5.316 MB / 14.72 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 1.419/1.419, allocations: 177.2 MB / 202.8 MB, free: 9.207 MB / 190.1 MB " [Timeout remaining time 178] 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.02698/0.02698, allocations: 4.085 MB / 263.3 MB, free: 12.72 MB / 254.1 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: translateModel(DeltaRobot.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Trajectory_test") translateModel(DeltaRobot.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Trajectory_test") [Timeout 660] "Notification: DeltaRobot requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 67.89 kB / 388.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09988/0.1021, allocations: 54.54 MB / 442.7 MB, free: 7.641 MB / 366.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.004966/0.107, allocations: 3.363 MB / 446.1 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005217/0.1122, allocations: 3.206 MB / 449.3 MB, free: 1.035 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.1124, allocations: 8 kB / 449.3 MB, free: 1.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007737/0.1132, allocations: 255 kB / 449.6 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1943/0.3076, allocations: 0.9201 MB / 450.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.3081, allocations: 242.8 kB / 450.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.3096, allocations: 1.165 MB / 451.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003916/0.3099, allocations: 217 kB / 452.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007741/0.3107, allocations: 0.6647 MB / 452.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009991/0.3117, allocations: 0.8256 MB / 453.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.3119, allocations: 113.5 kB / 453.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.3137, allocations: 0.979 MB / 454.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005173/0.3142, allocations: 0.5024 MB / 455.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005193/0.3147, allocations: 492 kB / 455.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.3173, allocations: 2.1 MB / 457.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3173, allocations: 1.797 kB / 457.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3173, allocations: 2.531 kB / 457.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.3173, allocations: 0 / 457.8 MB, free: 13.77 MB / 366.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.006159/0.3235, allocations: 2.207 MB / 460 MB, free: 12.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3235, allocations: 12.47 kB / 460 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.3254, allocations: 291.4 kB / 460.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/0.3279, allocations: 1.023 MB / 461.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005689/0.3284, allocations: 0.5108 MB / 461.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.3286, allocations: 40.44 kB / 461.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006706/0.3353, allocations: 2.529 MB / 464.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.3353, allocations: 3.281 kB / 464.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.3354, allocations: 18.47 kB / 464.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.3354, allocations: 12.22 kB / 464.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0105/0.3459, allocations: 3.577 MB / 468 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003303/0.3492, allocations: 2.414 MB / 470.4 MB, free: 7.781 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00682/0.356, allocations: 2.243 MB / 472.6 MB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005117/0.3612, allocations: 1.756 MB / 474.4 MB, free: 5.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.3613, allocations: 8.172 kB / 474.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.3613, allocations: 49.19 kB / 474.4 MB, free: 5.844 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.625e-06/0.3613, allocations: 0 / 474.4 MB, free: 5.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.01557/0.3769, allocations: 5.204 MB / 479.6 MB, free: 3.555 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.377, allocations: 400.3 kB / 480 MB, free: 3.078 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/0.3794, allocations: 1.385 MB / 481.4 MB, free: 1.957 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001928/0.3795, allocations: 33.7 kB / 481.5 MB, free: 1.918 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.3798, allocations: 410.4 kB / 481.9 MB, free: 1.516 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.3799, allocations: 123.6 kB / 482 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003507/0.3803, allocations: 126.1 kB / 482.1 MB, free: 1.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.138e-05/0.3803, allocations: 330.9 kB / 482.4 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005444/0.3858, allocations: 1.825 MB / 484.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006411/0.3922, allocations: 2.194 MB / 486.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/0.4033, allocations: 3.416 MB / 489.9 MB, free: 9.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.4033, allocations: 3.938 kB / 489.9 MB, free: 9.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01337/0.4167, allocations: 3.747 MB / 493.6 MB, free: 5.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.4167, allocations: 4 kB / 493.6 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4167, allocations: 4 kB / 493.6 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.4167, allocations: 7.984 kB / 493.6 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003414/0.4202, allocations: 0.7327 MB / 494.4 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.4202, allocations: 7.656 kB / 494.4 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003853/0.424, allocations: 0.6889 MB / 495.1 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/0.4242, allocations: 32.86 kB / 495.1 MB, free: 4.207 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (59): * Single equations (assignments): 59 * 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.0007344/0.425, allocations: 341.4 kB / 495.4 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004112/0.4254, allocations: 91.39 kB / 495.5 MB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.4256, allocations: 95.22 kB / 495.6 MB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.4256, allocations: 8 kB / 495.6 MB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.4256, allocations: 0 / 495.6 MB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4256, allocations: 3.984 kB / 495.6 MB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.4269, allocations: 0.5716 MB / 496.2 MB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4269, allocations: 0 / 496.2 MB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003365/0.4303, allocations: 0.7006 MB / 496.9 MB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.4303, allocations: 4 kB / 496.9 MB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.304e-05/0.4304, allocations: 11.98 kB / 496.9 MB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.4304, allocations: 4 kB / 496.9 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4304, allocations: 0 / 496.9 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01231/0.4427, allocations: 3.954 MB / 0.4891 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005216/0.4432, allocations: 103.3 kB / 0.4892 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004183/0.4437, allocations: 8 kB / 0.4892 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003613/0.4473, allocations: 0.6815 MB / 0.4899 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005184/0.4478, allocations: 143.8 kB / 0.49 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.821e-05/0.4479, allocations: 19.98 kB / 0.4901 GB, free: 13.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002233/0.4501, allocations: 1.018 MB / 0.491 GB, free: 12.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4501, allocations: 4 kB / 0.491 GB, free: 12.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001991/0.4521, allocations: 435.2 kB / 0.4915 GB, free: 12.01 MB / 398.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.0009998/0.4531, allocations: 391.7 kB / 0.4918 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01185/0.465, allocations: 3.639 MB / 0.4954 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.465, allocations: 0 / 0.4954 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006239/0.4712, allocations: 1.962 MB / 0.4973 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.4733, allocations: 231.2 kB / 0.4975 GB, free: 5.852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009508/0.4828, allocations: 3.141 MB / 0.5006 GB, free: 2.664 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006526/0.4834, allocations: 0.5008 MB / 0.5011 GB, free: 2.129 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001413/0.4848, allocations: 299.3 kB / 0.5014 GB, free: 1.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005265/0.4854, allocations: 64.45 kB / 0.5014 GB, free: 1.777 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4854, allocations: 0 / 0.5014 GB, free: 1.777 MB / 398.1 MB Notification: Performance of Templates: time 0.04428/0.5296, allocations: 26.85 MB / 0.5277 GB, free: 7.215 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f DeltaRobot_DeltaRobot.Tests.Trajectory_test.makefile [Timeout 660] (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 & ./DeltaRobot_DeltaRobot.Tests.Trajectory_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.324023088440299] Failed to read output from testmodel.py, exit status != 0: 0.5387825407087803 0.5556483170000001 0.234709151 Calling exit ...