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.001446/0.001446, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1985/0.1985, allocations: 5.2 MB / 295.6 MB, free: 3.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.91 kB / 357.2 MB, free: 1.836 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1264, allocations: 50.57 MB / 407.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.004789/0.1312, allocations: 3.635 MB / 411.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004588/0.1358, allocations: 3.467 MB / 414.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.1361, allocations: 8 kB / 414.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007798/0.1369, allocations: 279 kB / 415.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001843/0.1388, allocations: 0.9034 MB / 416 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.1392, allocations: 231.6 kB / 416.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.1403, allocations: 1.176 MB / 417.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004733/0.1408, allocations: 388.2 kB / 417.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004487/0.1413, allocations: 490.3 kB / 418.3 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008148/0.1421, allocations: 0.8139 MB / 419.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.1423, allocations: 112 kB / 419.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.144, allocations: 1.061 MB / 420.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004565/0.1445, allocations: 0.5065 MB / 420.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005165/0.145, allocations: 0.5754 MB / 421.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2135/0.3585, allocations: 1.865 MB / 423.2 MB, free: 39.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.3586, allocations: 2.5 kB / 423.2 MB, free: 39.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3586, allocations: 0 / 423.2 MB, free: 39.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.262e-05/0.3586, allocations: 0 / 423.2 MB, free: 39.04 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.006362/0.365, allocations: 2.239 MB / 425.5 MB, free: 38.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3651, allocations: 9.406 kB / 425.5 MB, free: 38.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/0.367, allocations: 286.5 kB / 425.7 MB, free: 38.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.3688, allocations: 1.079 MB / 426.8 MB, free: 37.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007604/0.3696, allocations: 279.4 kB / 427.1 MB, free: 37.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.3697, allocations: 37.03 kB / 427.1 MB, free: 37.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01443/0.3842, allocations: 2.501 MB / 429.6 MB, free: 37.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.3842, allocations: 2.438 kB / 429.6 MB, free: 37.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.3844, allocations: 16.84 kB / 429.7 MB, free: 37.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.3844, allocations: 16.06 kB / 429.7 MB, free: 37.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02668/0.4111, allocations: 3.88 MB / 433.6 MB, free: 37.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003721/0.4148, allocations: 3.071 MB / 436.6 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01898/0.4339, allocations: 2.483 MB / 439.1 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01308/0.447, allocations: 1.918 MB / 441 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/0.4472, allocations: 14.59 kB / 441 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.4473, allocations: 44.97 kB / 441.1 MB, free: 35.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 3.466e-06/0.4473, allocations: 2.625 kB / 441.1 MB, free: 35.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.04084/0.4881, allocations: 5.566 MB / 446.7 MB, free: 34.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.4883, allocations: 391.5 kB / 447 MB, free: 34.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/0.4906, allocations: 1.493 MB / 448.5 MB, free: 33.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002871/0.4909, allocations: 36.7 kB / 448.6 MB, free: 33.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.4912, allocations: 394.9 kB / 448.9 MB, free: 33.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.4914, allocations: 112.1 kB / 449.1 MB, free: 33.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004481/0.4918, allocations: 129.9 kB / 449.2 MB, free: 33.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.4919, allocations: 327.3 kB / 449.5 MB, free: 32.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01403/0.5059, allocations: 1.975 MB / 451.5 MB, free: 32.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01508/0.5211, allocations: 2.144 MB / 453.6 MB, free: 32.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02663/0.5478, allocations: 3.51 MB / 457.1 MB, free: 31.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.5478, allocations: 2.281 kB / 457.1 MB, free: 31.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.02819/0.576, allocations: 3.957 MB / 461.1 MB, free: 30.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.5761, allocations: 6.531 kB / 461.1 MB, free: 30.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.5761, allocations: 2.344 kB / 461.1 MB, free: 30.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.309e-05/0.5761, allocations: 7.391 kB / 461.1 MB, free: 30.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007268/0.5834, allocations: 0.7567 MB / 461.9 MB, free: 30.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.39e-05/0.5835, allocations: 7.938 kB / 461.9 MB, free: 30.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007472/0.5909, allocations: 0.7307 MB / 462.6 MB, free: 30.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/0.5913, allocations: 25.53 kB / 462.6 MB, free: 30.78 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.0008499/0.5921, allocations: 345.3 kB / 463 MB, free: 30.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005239/0.5927, allocations: 91.03 kB / 463.1 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.5929, allocations: 100.9 kB / 463.2 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.5929, allocations: 4.469 kB / 463.2 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.5929, allocations: 2.188 kB / 463.2 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.593, allocations: 4.281 kB / 463.2 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.5946, allocations: 1.046 MB / 464.2 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.5946, allocations: 3.688 kB / 464.2 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006983/0.6016, allocations: 0.7144 MB / 464.9 MB, free: 29.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.6016, allocations: 5.156 kB / 464.9 MB, free: 29.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.6018, allocations: 12.77 kB / 464.9 MB, free: 29.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.6018, allocations: 3.688 kB / 464.9 MB, free: 29.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6018, allocations: 1.188 kB / 464.9 MB, free: 29.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02797/0.6298, allocations: 4.164 MB / 469.1 MB, free: 27.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004859/0.6303, allocations: 186.6 kB / 469.3 MB, free: 27.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006882/0.631, allocations: 8.938 kB / 469.3 MB, free: 27.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00755/0.6386, allocations: 0.6963 MB / 470 MB, free: 26.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006084/0.6392, allocations: 161.9 kB / 470.2 MB, free: 26.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/0.6393, allocations: 24.23 kB / 470.2 MB, free: 26.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00198/0.6413, allocations: 1.1 MB / 471.3 MB, free: 26.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6413, allocations: 0 / 471.3 MB, free: 26.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001736/0.6431, allocations: 454.5 kB / 471.7 MB, free: 26.02 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.001073/0.6442, allocations: 379.8 kB / 472.1 MB, free: 25.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.02746/0.6716, allocations: 3.986 MB / 476.1 MB, free: 22.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.6717, allocations: 4 kB / 476.1 MB, free: 22.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01394/0.6856, allocations: 2.148 MB / 478.2 MB, free: 20.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.688, allocations: 245.6 kB / 478.5 MB, free: 20.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/0.7041, allocations: 3.133 MB / 481.6 MB, free: 17.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007689/0.7049, allocations: 1.113 MB / 482.7 MB, free: 16.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001815/0.7068, allocations: 317.9 kB / 483 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008138/0.7076, allocations: 63.41 kB / 483.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of SimCode: time 1.403e-06/0.7076, allocations: 0 / 483.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Templates: time 0.04588/0.7535, allocations: 30.49 MB / 0.5015 GB, free: 1.602 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)