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.001459/0.001459, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.00122/0.00122, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02441/0.02441, allocations: 5.225 MB / 296.4 MB, free: 9.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 55.91 kB / 409.7 MB, free: 26.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09851/0.09983, allocations: 50.57 MB / 460.3 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.005536/0.1054, allocations: 3.645 MB / 464 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005556/0.111, allocations: 3.459 MB / 467.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005362/0.1116, allocations: 12 kB / 467.4 MB, free: 492 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.1127, allocations: 287 kB / 467.7 MB, free: 204 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002826/0.1156, allocations: 0.8983 MB / 468.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006773/0.1163, allocations: 243.5 kB / 468.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001816/0.1182, allocations: 1.16 MB / 470 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006628/0.1188, allocations: 388.2 kB / 470.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008749/0.1197, allocations: 482.4 kB / 470.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.1211, allocations: 0.8217 MB / 471.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004811/0.1216, allocations: 116 kB / 471.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002779/0.1244, allocations: 1.057 MB / 472.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008603/0.1253, allocations: 0.5104 MB / 473.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.1264, allocations: 0.5753 MB / 473.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003377/0.1298, allocations: 1.882 MB / 475.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1298, allocations: 4 kB / 475.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1299, allocations: 0 / 475.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.631e-05/0.1299, allocations: 0 / 475.8 MB, free: 8.051 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.007254/0.1372, allocations: 2.242 MB / 478.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1372, allocations: 8.031 kB / 478.1 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/0.1395, allocations: 290.7 kB / 478.3 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002669/0.1422, allocations: 1.08 MB / 479.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006075/0.1428, allocations: 267.7 kB / 479.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.143, allocations: 43.94 kB / 479.7 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006835/0.1499, allocations: 2.296 MB / 482 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.1499, allocations: 3.938 kB / 482 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/0.1501, allocations: 27.94 kB / 482.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.1502, allocations: 12 kB / 482.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/0.1613, allocations: 3.581 MB / 485.6 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004865/0.1662, allocations: 2.83 MB / 488.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007/0.1732, allocations: 2.259 MB / 490.7 MB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005533/0.1788, allocations: 1.765 MB / 492.5 MB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.179, allocations: 4 kB / 492.5 MB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/0.1791, allocations: 50.5 kB / 492.6 MB, free: 6.906 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.485e-06/0.1791, allocations: 0 / 492.6 MB, free: 6.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.0168/0.1959, allocations: 5.213 MB / 497.8 MB, free: 1.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002572/0.1962, allocations: 401.4 kB / 498.2 MB, free: 1.195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003121/0.1993, allocations: 1.486 MB / 499.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002263/0.1996, allocations: 37.7 kB / 499.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/0.2, allocations: 392.7 kB / 0.4883 GB, free: 15.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.2003, allocations: 114.4 kB / 0.4885 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005825/0.2009, allocations: 130.1 kB / 0.4886 GB, free: 15.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2011, allocations: 334 kB / 0.4889 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005613/0.2067, allocations: 1.815 MB / 0.4907 GB, free: 12.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005924/0.2127, allocations: 1.986 MB / 0.4926 GB, free: 10.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01072/0.2235, allocations: 3.422 MB / 0.496 GB, free: 7.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.2235, allocations: 0 / 0.496 GB, free: 7.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01208/0.2356, allocations: 3.76 MB / 0.4996 GB, free: 3.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.2357, allocations: 12.09 kB / 0.4996 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.2357, allocations: 4 kB / 0.4996 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.032e-05/0.2357, allocations: 7.984 kB / 0.4996 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003224/0.239, allocations: 0.7215 MB / 0.5004 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.152e-05/0.239, allocations: 7.938 kB / 0.5004 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003768/0.2428, allocations: 0.7057 MB / 0.501 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002711/0.2431, allocations: 23.98 kB / 0.5011 GB, free: 2.113 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.0009024/0.244, allocations: 338.2 kB / 0.5014 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005665/0.2446, allocations: 98.78 kB / 0.5015 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/0.2449, allocations: 100.2 kB / 0.5016 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.2449, allocations: 4 kB / 0.5016 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.2449, allocations: 7.938 kB / 0.5016 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.2449, allocations: 8 kB / 0.5016 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.2468, allocations: 0.9118 MB / 0.5025 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.2468, allocations: 0 / 0.5025 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2281/0.475, allocations: 0.69 MB / 0.5032 GB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/0.475, allocations: 3.375 kB / 0.5032 GB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002199/0.4752, allocations: 11.86 kB / 0.5032 GB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.4753, allocations: 6.281 kB / 0.5032 GB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4753, allocations: 6.391 kB / 0.5032 GB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01216/0.4874, allocations: 3.958 MB / 0.5071 GB, free: 52.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/0.4879, allocations: 188.7 kB / 0.5072 GB, free: 52.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/0.4882, allocations: 8.688 kB / 0.5072 GB, free: 52.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003491/0.4917, allocations: 0.6808 MB / 0.5079 GB, free: 52.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004502/0.4922, allocations: 148.9 kB / 0.5081 GB, free: 52.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-05/0.4923, allocations: 18.81 kB / 0.5081 GB, free: 52.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002041/0.4943, allocations: 1.092 MB / 0.5091 GB, free: 52.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4943, allocations: 7.5 kB / 0.5091 GB, free: 52.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001623/0.496, allocations: 407.7 kB / 0.5095 GB, free: 52.03 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.0009148/0.4969, allocations: 374.8 kB / 0.5099 GB, free: 51.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01172/0.5086, allocations: 3.654 MB / 0.5135 GB, free: 51.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/0.5087, allocations: 5.094 kB / 0.5135 GB, free: 51.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005608/0.5143, allocations: 1.973 MB / 0.5154 GB, free: 50.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.5162, allocations: 252.1 kB / 0.5156 GB, free: 50.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008468/0.5247, allocations: 3.08 MB / 0.5186 GB, free: 48.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.5253, allocations: 1.079 MB / 0.5197 GB, free: 47.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008635/0.5261, allocations: 75.73 kB / 0.5198 GB, free: 47.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5261, allocations: 0 / 0.5198 GB, free: 47.66 MB / 382.1 MB Notification: Performance of Templates: time 0.02522/0.5514, allocations: 21.39 MB / 0.5407 GB, free: 27.11 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)