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: translateModel(DeltaRobot.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Trajectory_test") translateModel(DeltaRobot.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Trajectory_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, 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.001547/0.001547, allocations: 191.5 kB / 16.14 MB, free: 6.703 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.33/1.33, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1441/0.1441, allocations: 5.205 MB / 295.2 MB, free: 3.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 55.91 kB / 356.5 MB, free: 2.309 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1218, allocations: 50.56 MB / 407.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.007154/0.129, allocations: 6.4 MB / 413.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006931/0.136, allocations: 4.072 MB / 417.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007493/0.1368, allocations: 12 kB / 417.6 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009615/0.1377, allocations: 274.8 kB / 417.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002044/0.1398, allocations: 0.7936 MB / 418.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.1403, allocations: 211.7 kB / 418.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.1418, allocations: 1.421 MB / 420.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005264/0.1424, allocations: 385.3 kB / 420.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000508/0.1429, allocations: 430.4 kB / 421 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008454/0.1437, allocations: 0.81 MB / 421.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.1439, allocations: 60 kB / 421.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2254/0.3693, allocations: 1.022 MB / 422.9 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006343/0.37, allocations: 463.8 kB / 423.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007947/0.3708, allocations: 0.5278 MB / 423.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.3731, allocations: 1.832 MB / 425.7 MB, free: 36.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3731, allocations: 0 / 425.7 MB, free: 36.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3731, allocations: 0 / 425.7 MB, free: 36.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.3732, allocations: 3.094 kB / 425.7 MB, free: 36.91 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.005735/0.3789, allocations: 2.235 MB / 428 MB, free: 36.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3789, allocations: 9 kB / 428 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.3809, allocations: 285.5 kB / 428.3 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.3827, allocations: 1.073 MB / 429.3 MB, free: 35.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008632/0.3836, allocations: 284.3 kB / 429.6 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.3837, allocations: 40.16 kB / 429.7 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01547/0.3992, allocations: 2.498 MB / 432.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.3993, allocations: 3.25 kB / 432.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.3994, allocations: 17.75 kB / 432.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.3995, allocations: 9.406 kB / 432.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02781/0.4273, allocations: 3.882 MB / 436.1 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003689/0.431, allocations: 3.072 MB / 439.1 MB, free: 33.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01943/0.4505, allocations: 2.488 MB / 441.6 MB, free: 33.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01334/0.4638, allocations: 1.916 MB / 443.5 MB, free: 32.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002324/0.4641, allocations: 10.56 kB / 443.6 MB, free: 32.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/0.4642, allocations: 50.34 kB / 443.6 MB, free: 32.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 4.187e-06/0.4642, allocations: 0 / 443.6 MB, free: 32.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.04002/0.5042, allocations: 5.561 MB / 449.2 MB, free: 32.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.5044, allocations: 396.8 kB / 449.5 MB, free: 31.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/0.5069, allocations: 1.489 MB / 451 MB, free: 31.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002567/0.5072, allocations: 36.8 kB / 451.1 MB, free: 31.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.5075, allocations: 396 kB / 451.5 MB, free: 30.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.5077, allocations: 110.5 kB / 451.6 MB, free: 30.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004613/0.5081, allocations: 129.5 kB / 451.7 MB, free: 30.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.103e-05/0.5082, allocations: 329.7 kB / 452 MB, free: 30.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01363/0.5219, allocations: 1.976 MB / 454 MB, free: 29.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0141/0.536, allocations: 2.139 MB / 456.1 MB, free: 29.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02641/0.5624, allocations: 3.51 MB / 459.6 MB, free: 28.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.5625, allocations: 0 / 459.6 MB, free: 28.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.02694/0.5894, allocations: 3.959 MB / 463.6 MB, free: 28.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.5895, allocations: 5.281 kB / 463.6 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.5895, allocations: 2.125 kB / 463.6 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.5895, allocations: 5.844 kB / 463.6 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006981/0.5965, allocations: 0.7575 MB / 464.4 MB, free: 27.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/0.5966, allocations: 4.562 kB / 464.4 MB, free: 27.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007274/0.6039, allocations: 0.7291 MB / 465.1 MB, free: 27.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/0.6041, allocations: 30.33 kB / 465.1 MB, free: 27.56 MB / 350.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.000721/0.6048, allocations: 342.9 kB / 465.5 MB, free: 27.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003984/0.6052, allocations: 95.41 kB / 465.6 MB, free: 27.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.6054, allocations: 99.67 kB / 465.7 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.6054, allocations: 4.562 kB / 465.7 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.6054, allocations: 2.656 kB / 465.7 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.6054, allocations: 5.453 kB / 465.7 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.6068, allocations: 1.044 MB / 466.7 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6068, allocations: 1.344 kB / 466.7 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007081/0.6139, allocations: 0.7161 MB / 467.4 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.6139, allocations: 5.188 kB / 467.4 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.614, allocations: 12.89 kB / 467.5 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.614, allocations: 2.188 kB / 467.5 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.614, allocations: 7.844 kB / 467.5 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02679/0.6408, allocations: 4.148 MB / 471.6 MB, free: 23.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005555/0.6414, allocations: 189.7 kB / 471.8 MB, free: 23.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005012/0.6419, allocations: 11.53 kB / 471.8 MB, free: 23.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007193/0.6491, allocations: 0.6964 MB / 472.5 MB, free: 23.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005908/0.6497, allocations: 166.1 kB / 472.7 MB, free: 23.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.6499, allocations: 20.14 kB / 472.7 MB, free: 23.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001699/0.6516, allocations: 1.093 MB / 473.8 MB, free: 22.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6516, allocations: 0 / 473.8 MB, free: 22.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001552/0.6531, allocations: 466.2 kB / 474.2 MB, free: 22.73 MB / 350.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.0008177/0.654, allocations: 376.8 kB / 474.6 MB, free: 22.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.02698/0.681, allocations: 3.964 MB / 478.6 MB, free: 19.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/0.681, allocations: 0 / 478.6 MB, free: 19.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01347/0.6945, allocations: 2.145 MB / 480.7 MB, free: 16.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.6966, allocations: 230 kB / 480.9 MB, free: 16.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/0.712, allocations: 3.366 MB / 484.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.7125, allocations: 1.115 MB / 485.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00163/0.7141, allocations: 319 kB / 485.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007611/0.7149, allocations: 62.48 kB / 485.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of SimCode: time 1.112e-06/0.7149, allocations: 4 kB / 485.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of Templates: time 0.03863/0.7535, allocations: 25.82 MB / 0.4996 GB, free: 2.133 MB / 366.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.Trajectory_test.makefile (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)