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.001179/0.001179, allocations: 110.8 kB / 16.29 MB, free: 6.43 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.001165/0.001165, allocations: 185.2 kB / 17.22 MB, free: 5.934 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.206/1.206, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02326/0.02326, allocations: 5.233 MB / 296.3 MB, free: 9.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 55.91 kB / 357.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1711, allocations: 50.56 MB / 408.5 MB, free: 29.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.003307/0.1745, allocations: 3.633 MB / 412.1 MB, free: 26.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.1773, allocations: 3.467 MB / 415.6 MB, free: 22.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.1775, allocations: 4 kB / 415.6 MB, free: 22.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005263/0.178, allocations: 299 kB / 415.9 MB, free: 22.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.1792, allocations: 0.8995 MB / 416.8 MB, free: 21.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.1795, allocations: 231.6 kB / 417 MB, free: 21.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007189/0.1802, allocations: 1.171 MB / 418.2 MB, free: 20.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003378/0.1806, allocations: 384.2 kB / 418.5 MB, free: 19.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.1808, allocations: 494.3 kB / 419 MB, free: 19.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005541/0.1814, allocations: 0.814 MB / 419.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.1815, allocations: 112 kB / 419.9 MB, free: 18.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.1826, allocations: 1.061 MB / 421 MB, free: 17.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.1829, allocations: 0.5065 MB / 421.5 MB, free: 16.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.1832, allocations: 0.5715 MB / 422.1 MB, free: 16.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.1844, allocations: 1.885 MB / 424 MB, free: 14.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1844, allocations: 3.984 kB / 424 MB, free: 14.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1844, allocations: 0 / 424 MB, free: 14.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.1844, allocations: 4 kB / 424 MB, free: 14.4 MB / 302.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.004858/0.1893, allocations: 2.235 MB / 426.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.618e-05/0.1893, allocations: 8.031 kB / 426.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/0.1911, allocations: 294.7 kB / 426.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.1928, allocations: 1.076 MB / 427.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007101/0.1935, allocations: 275.6 kB / 427.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.1937, allocations: 47.94 kB / 427.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/0.2071, allocations: 2.491 MB / 430.4 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2072, allocations: 4 kB / 430.4 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.2073, allocations: 19.94 kB / 430.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.2073, allocations: 12 kB / 430.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02508/0.2324, allocations: 3.882 MB / 434.3 MB, free: 3.859 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/0.2351, allocations: 3.06 MB / 437.4 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01937/0.2545, allocations: 2.485 MB / 439.8 MB, free: 14.15 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01372/0.2682, allocations: 1.929 MB / 441.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.2684, allocations: 4 kB / 441.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.2684, allocations: 46.55 kB / 441.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/0.2684, allocations: 0 / 441.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.04099/0.3094, allocations: 5.563 MB / 447.4 MB, free: 6.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/0.3096, allocations: 401.5 kB / 447.8 MB, free: 6.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.3118, allocations: 1.486 MB / 449.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.3119, allocations: 33.7 kB / 449.3 MB, free: 4.539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.3122, allocations: 396.7 kB / 449.7 MB, free: 4.145 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.3124, allocations: 110.4 kB / 449.8 MB, free: 4.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004399/0.3128, allocations: 138.1 kB / 449.9 MB, free: 3.895 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3129, allocations: 326 kB / 450.2 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01366/0.3266, allocations: 1.979 MB / 452.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01384/0.3405, allocations: 2.139 MB / 454.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02607/0.3665, allocations: 3.509 MB / 457.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3666, allocations: 0 / 457.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.02726/0.3938, allocations: 3.96 MB / 461.8 MB, free: 7.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.3939, allocations: 10.03 kB / 461.8 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3939, allocations: 4.094 kB / 461.8 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.3939, allocations: 4 kB / 461.9 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006896/0.4008, allocations: 0.7528 MB / 462.6 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.4008, allocations: 15.81 kB / 462.6 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006966/0.4078, allocations: 0.7213 MB / 463.3 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.4079, allocations: 31.92 kB / 463.4 MB, free: 6.352 MB / 334.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.0005594/0.4085, allocations: 337.5 kB / 463.7 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/0.4088, allocations: 90.97 kB / 463.8 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.409, allocations: 108.2 kB / 463.9 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.409, allocations: 4 kB / 463.9 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.409, allocations: 7.938 kB / 463.9 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.409, allocations: 3.984 kB / 463.9 MB, free: 5.801 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.4103, allocations: 1.044 MB / 465 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4103, allocations: 0 / 465 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006935/0.4172, allocations: 0.7177 MB / 465.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-06/0.4173, allocations: 4 kB / 465.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.4174, allocations: 15.92 kB / 465.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.4174, allocations: 4 kB / 465.7 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4174, allocations: 3.938 kB / 465.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02737/0.4448, allocations: 4.152 MB / 469.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.4451, allocations: 187.9 kB / 470 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/0.4453, allocations: 8 kB / 470 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007218/0.4525, allocations: 0.6942 MB / 470.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004875/0.453, allocations: 171.7 kB / 470.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.4531, allocations: 19.98 kB / 470.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001698/0.4548, allocations: 1.087 MB / 472 MB, free: 13.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4549, allocations: 4 kB / 472 MB, free: 13.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001296/0.4562, allocations: 468 kB / 472.5 MB, free: 13.13 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.0007896/0.457, allocations: 374.8 kB / 472.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.02794/0.4849, allocations: 3.964 MB / 476.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.944e-06/0.4849, allocations: 0 / 476.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01435/0.4993, allocations: 2.15 MB / 479 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.5011, allocations: 250.4 kB / 479.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/0.5162, allocations: 3.08 MB / 482.3 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/0.5168, allocations: 1.077 MB / 483.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/0.5179, allocations: 79.39 kB / 483.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5179, allocations: 0 / 483.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of Templates: time 0.02835/0.5463, allocations: 25.1 MB / 0.4966 GB, free: 8.996 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)