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.001524/0.001524, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001988/0.001988, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.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.02903/0.02903, allocations: 5.294 MB / 317.7 MB, free: 13.69 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.002325/0.002325, allocations: 67.91 kB / 442.4 MB, free: 7.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1311, allocations: 54.56 MB / 496.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.00658/0.1377, allocations: 3.369 MB / 0.4886 GB, free: 13.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006658/0.1443, allocations: 3.214 MB / 0.4917 GB, free: 10.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006659/0.145, allocations: 12 kB / 0.4917 GB, free: 10.22 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.1463, allocations: 263.1 kB / 0.492 GB, free: 9.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003351/0.1496, allocations: 0.9073 MB / 0.4929 GB, free: 9.055 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007636/0.1504, allocations: 235.6 kB / 0.4931 GB, free: 8.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002309/0.1527, allocations: 1.159 MB / 0.4942 GB, free: 7.664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006752/0.1534, allocations: 224.6 kB / 0.4944 GB, free: 7.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.1546, allocations: 494.4 kB / 0.4949 GB, free: 6.945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/0.1561, allocations: 0.8256 MB / 0.4957 GB, free: 6.117 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005381/0.1567, allocations: 112 kB / 0.4958 GB, free: 6.008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/0.1596, allocations: 0.9788 MB / 0.4968 GB, free: 5.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009554/0.1606, allocations: 0.5064 MB / 0.4973 GB, free: 4.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.162, allocations: 485.8 kB / 0.4977 GB, free: 4.043 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004039/0.166, allocations: 1.881 MB / 0.4996 GB, free: 2.156 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.166, allocations: 0 / 0.4996 GB, free: 2.156 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.167e-06/0.166, allocations: 4 kB / 0.4996 GB, free: 2.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.531e-05/0.1661, allocations: 0 / 0.4996 GB, free: 2.152 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.008091/0.1742, allocations: 2.206 MB / 0.5017 GB, free: 15.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.1742, allocations: 8.031 kB / 0.5017 GB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.1762, allocations: 298.5 kB / 0.502 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.1788, allocations: 1.016 MB / 0.503 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006953/0.1794, allocations: 0.5224 MB / 0.5035 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.1796, allocations: 40 kB / 0.5036 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007011/0.1866, allocations: 2.53 MB / 0.506 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.1866, allocations: 3.938 kB / 0.506 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.811e-05/0.1867, allocations: 20 kB / 0.5061 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.1867, allocations: 12 kB / 0.5061 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/0.1987, allocations: 3.573 MB / 0.5096 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004199/0.2029, allocations: 2.415 MB / 0.5119 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007471/0.2104, allocations: 2.243 MB / 0.5141 GB, free: 2.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005933/0.2163, allocations: 1.753 MB / 0.5158 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.2164, allocations: 7.984 kB / 0.5158 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.001e-05/0.2165, allocations: 46.5 kB / 0.5159 GB, free: 1.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 2.354e-06/0.2165, allocations: 0 / 0.5159 GB, free: 1.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.2892/0.5057, allocations: 5.201 MB / 0.521 GB, free: 33.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.5058, allocations: 401.9 kB / 0.5213 GB, free: 33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/0.5082, allocations: 1.382 MB / 0.5227 GB, free: 32.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.865e-05/0.5083, allocations: 32.08 kB / 0.5227 GB, free: 32.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.5085, allocations: 415.6 kB / 0.5231 GB, free: 32.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.5087, allocations: 120.4 kB / 0.5232 GB, free: 32.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003389/0.509, allocations: 132.5 kB / 0.5234 GB, free: 32.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.376e-05/0.5091, allocations: 324.1 kB / 0.5237 GB, free: 32.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006161/0.5152, allocations: 1.819 MB / 0.5254 GB, free: 32.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006762/0.522, allocations: 2.195 MB / 0.5276 GB, free: 31.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/0.5339, allocations: 3.415 MB / 0.5309 GB, free: 31.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.5339, allocations: 1.219 kB / 0.5309 GB, free: 31.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01301/0.5469, allocations: 3.757 MB / 0.5346 GB, free: 29.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.5469, allocations: 13 kB / 0.5346 GB, free: 29.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.5469, allocations: 2.719 kB / 0.5346 GB, free: 29.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.494e-05/0.547, allocations: 5.219 kB / 0.5346 GB, free: 29.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003007/0.55, allocations: 0.7279 MB / 0.5353 GB, free: 29.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.55, allocations: 13.42 kB / 0.5353 GB, free: 29.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003417/0.5534, allocations: 0.6805 MB / 0.536 GB, free: 29.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.717e-05/0.5535, allocations: 25.77 kB / 0.536 GB, free: 29.05 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.0005215/0.554, allocations: 338.8 kB / 0.5364 GB, free: 28.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004424/0.5545, allocations: 103.4 kB / 0.5364 GB, free: 28.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.5546, allocations: 90.52 kB / 0.5365 GB, free: 28.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.5546, allocations: 9.484 kB / 0.5365 GB, free: 28.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.5546, allocations: 2.781 kB / 0.5365 GB, free: 28.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.5546, allocations: 2.75 kB / 0.5366 GB, free: 28.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009635/0.5556, allocations: 0.5717 MB / 0.5371 GB, free: 28.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.5556, allocations: 1.656 kB / 0.5371 GB, free: 28.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002861/0.5584, allocations: 0.6812 MB / 0.5378 GB, free: 28.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.5584, allocations: 13.09 kB / 0.5378 GB, free: 28.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.327e-05/0.5585, allocations: 11.8 kB / 0.5378 GB, free: 28.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.5585, allocations: 3.906 kB / 0.5378 GB, free: 28.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5585, allocations: 3.938 kB / 0.5378 GB, free: 28.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/0.569, allocations: 3.955 MB / 0.5417 GB, free: 24.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/0.5693, allocations: 100.4 kB / 0.5418 GB, free: 24.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.5696, allocations: 11.94 kB / 0.5418 GB, free: 24.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003214/0.5728, allocations: 0.6727 MB / 0.5424 GB, free: 24.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003562/0.5731, allocations: 156.3 kB / 0.5426 GB, free: 23.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-05/0.5732, allocations: 16.61 kB / 0.5426 GB, free: 23.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00137/0.5746, allocations: 1.022 MB / 0.5436 GB, free: 22.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5746, allocations: 0 / 0.5436 GB, free: 22.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001189/0.5758, allocations: 431.1 kB / 0.544 GB, free: 22.55 MB / 382.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.0007188/0.5765, allocations: 398 kB / 0.5444 GB, free: 22.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01103/0.5875, allocations: 3.635 MB / 0.5479 GB, free: 18.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.5875, allocations: 0 / 0.5479 GB, free: 18.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005589/0.5931, allocations: 1.966 MB / 0.5499 GB, free: 16.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.595, allocations: 238.3 kB / 0.5501 GB, free: 16.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007855/0.6028, allocations: 3.126 MB / 0.5531 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.6032, allocations: 0.5097 MB / 0.5536 GB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009676/0.6042, allocations: 296.5 kB / 0.5539 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004684/0.6046, allocations: 63.41 kB / 0.554 GB, free: 12.32 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6047, allocations: 0 / 0.554 GB, free: 12.32 MB / 382.1 MB Notification: Performance of Templates: time 0.03754/0.6422, allocations: 27.96 MB / 0.5813 GB, free: 0.6367 MB / 398.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.817802105098963] Failed to read output from testmodel.py, exit status != 0: 0.6506636552512646 0.665668917 0.496346659 Calling exit ...