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.01027/0.01027, allocations: 101.6 kB / 15.73 MB, free: 6.059 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.001755/0.001755, allocations: 190.7 kB / 16.67 MB, free: 5.969 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02483/0.02483, allocations: 5.218 MB / 295.7 MB, free: 9.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 59.91 kB / 409.1 MB, free: 26.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1092, allocations: 50.57 MB / 459.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.004758/0.114, allocations: 3.641 MB / 463.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004695/0.1187, allocations: 3.463 MB / 466.7 MB, free: 488 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.119, allocations: 7.938 kB / 466.7 MB, free: 480 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008533/0.1199, allocations: 283 kB / 467 MB, free: 196 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.1218, allocations: 0.8995 MB / 467.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.1223, allocations: 250.6 kB / 468.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.1235, allocations: 1.164 MB / 469.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004961/0.1241, allocations: 392.1 kB / 469.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004649/0.1245, allocations: 482.4 kB / 470.2 MB, free: 13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008762/0.1254, allocations: 0.8179 MB / 471 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.1256, allocations: 116 kB / 471.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.1275, allocations: 1.065 MB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004843/0.128, allocations: 0.5065 MB / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005156/0.1285, allocations: 0.5676 MB / 473.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.1306, allocations: 1.896 MB / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1306, allocations: 4 kB / 475.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1306, allocations: 0 / 475.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.1306, allocations: 0 / 475.1 MB, free: 8.02 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.005756/0.1364, allocations: 2.273 MB / 477.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1364, allocations: 12.03 kB / 477.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.1384, allocations: 291.3 kB / 477.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.1403, allocations: 1.084 MB / 478.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004434/0.1408, allocations: 271.7 kB / 479.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.1409, allocations: 40 kB / 479.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006568/0.1475, allocations: 2.296 MB / 481.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1475, allocations: 4 kB / 481.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.5e-05/0.1476, allocations: 19.94 kB / 481.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.1476, allocations: 12 kB / 481.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/0.1594, allocations: 3.577 MB / 485 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003553/0.163, allocations: 2.85 MB / 487.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00734/0.1703, allocations: 2.259 MB / 490.1 MB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005663/0.176, allocations: 1.761 MB / 491.9 MB, free: 6.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.883e-05/0.1761, allocations: 7.984 kB / 491.9 MB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.1762, allocations: 46.5 kB / 491.9 MB, free: 6.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 3.236e-06/0.1762, allocations: 3.938 kB / 491.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.0174/0.1936, allocations: 5.213 MB / 497.1 MB, free: 1.602 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/0.1938, allocations: 405.4 kB / 497.5 MB, free: 1.113 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002447/0.1963, allocations: 1.486 MB / 499 MB, free: 15.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.1964, allocations: 37.69 kB / 499.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.1967, allocations: 396.9 kB / 499.5 MB, free: 15.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.1969, allocations: 115.1 kB / 499.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000378/0.1973, allocations: 130.2 kB / 499.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1974, allocations: 334 kB / 0.4883 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00588/0.2033, allocations: 1.819 MB / 0.4901 GB, free: 12.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006075/0.2094, allocations: 1.986 MB / 0.492 GB, free: 10.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/0.2206, allocations: 3.412 MB / 0.4953 GB, free: 7.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.2207, allocations: 0 / 0.4953 GB, free: 7.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01252/0.2332, allocations: 3.78 MB / 0.499 GB, free: 3.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.2333, allocations: 8 kB / 0.499 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.2333, allocations: 4 kB / 0.4991 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/0.2333, allocations: 4 kB / 0.4991 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003156/0.2365, allocations: 0.7216 MB / 0.4998 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.2365, allocations: 11.92 kB / 0.4998 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003579/0.2401, allocations: 0.7096 MB / 0.5005 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.2402, allocations: 23.98 kB / 0.5005 GB, free: 2.016 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.0005551/0.2408, allocations: 346.1 kB / 0.5008 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.2411, allocations: 95.39 kB / 0.5009 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.2413, allocations: 96.23 kB / 0.501 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.2413, allocations: 8 kB / 0.501 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.2413, allocations: 7.938 kB / 0.501 GB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2413, allocations: 0 / 0.501 GB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.2426, allocations: 0.9192 MB / 0.5019 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2426, allocations: 0 / 0.5019 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2253/0.4679, allocations: 0.6872 MB / 0.5026 GB, free: 52.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.912e-05/0.468, allocations: 3.531 kB / 0.5026 GB, free: 52.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002726/0.4683, allocations: 12.69 kB / 0.5026 GB, free: 52.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.4683, allocations: 2.812 kB / 0.5026 GB, free: 52.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.4683, allocations: 6.453 kB / 0.5026 GB, free: 52.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/0.482, allocations: 3.96 MB / 0.5065 GB, free: 52.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005723/0.4826, allocations: 199.6 kB / 0.5067 GB, free: 52.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003917/0.483, allocations: 7.156 kB / 0.5067 GB, free: 52.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003606/0.4867, allocations: 0.6765 MB / 0.5073 GB, free: 52.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004412/0.4871, allocations: 149.8 kB / 0.5075 GB, free: 52.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.008e-05/0.4872, allocations: 16.06 kB / 0.5075 GB, free: 52.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001968/0.4892, allocations: 1.094 MB / 0.5086 GB, free: 52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4892, allocations: 4.562 kB / 0.5086 GB, free: 52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001401/0.4906, allocations: 411.6 kB / 0.509 GB, free: 52 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.0009477/0.4915, allocations: 385.2 kB / 0.5093 GB, free: 51.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01229/0.5038, allocations: 3.656 MB / 0.5129 GB, free: 51.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5039, allocations: 0 / 0.5129 GB, free: 51.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005896/0.5098, allocations: 1.976 MB / 0.5148 GB, free: 50.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.5115, allocations: 245.6 kB / 0.5151 GB, free: 50.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008527/0.52, allocations: 3.136 MB / 0.5181 GB, free: 48.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/0.5206, allocations: 1.11 MB / 0.5192 GB, free: 47.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001053/0.5216, allocations: 295.5 kB / 0.5195 GB, free: 47.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004999/0.5222, allocations: 66.94 kB / 0.5196 GB, free: 47.43 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5222, allocations: 0 / 0.5196 GB, free: 47.43 MB / 382.1 MB Notification: Performance of Templates: time 0.03517/0.5573, allocations: 24.56 MB / 0.5435 GB, free: 23.5 MB / 382.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)