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.005714/0.005714, allocations: 102 kB / 15.73 MB, free: 6.051 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.001202/0.001203, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02564/0.02564, allocations: 5.227 MB / 295.7 MB, free: 9.578 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 71.88 kB / 409 MB, free: 26.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08359/0.08497, allocations: 50.58 MB / 459.6 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.004808/0.08983, allocations: 3.649 MB / 463.3 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00483/0.09469, allocations: 3.452 MB / 466.7 MB, free: 480 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004046/0.09512, allocations: 8 kB / 466.7 MB, free: 472 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000866/0.096, allocations: 291 kB / 467 MB, free: 180 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.09824, allocations: 0.8995 MB / 467.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.09877, allocations: 242.6 kB / 468.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.1002, allocations: 1.16 MB / 469.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005506/0.1008, allocations: 392.2 kB / 469.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006876/0.1015, allocations: 490.3 kB / 470.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.1026, allocations: 0.814 MB / 471 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003623/0.103, allocations: 116 kB / 471.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00203/0.105, allocations: 1.068 MB / 472.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006243/0.1056, allocations: 0.5104 MB / 472.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008855/0.1065, allocations: 0.5754 MB / 473.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002709/0.1093, allocations: 1.874 MB / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1093, allocations: 0 / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1093, allocations: 0 / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.794e-05/0.1093, allocations: 0 / 475.1 MB, free: 8.023 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.006843/0.1162, allocations: 2.246 MB / 477.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1162, allocations: 8.031 kB / 477.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/0.1185, allocations: 286.7 kB / 477.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.1207, allocations: 1.076 MB / 478.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005056/0.1212, allocations: 275.7 kB / 479 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.1214, allocations: 40 kB / 479 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007057/0.1284, allocations: 2.3 MB / 481.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.1285, allocations: 3.938 kB / 481.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.1286, allocations: 19.94 kB / 481.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.1286, allocations: 12 kB / 481.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.1409, allocations: 3.579 MB / 485 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003606/0.1445, allocations: 2.838 MB / 487.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007703/0.1522, allocations: 2.263 MB / 490.1 MB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006147/0.1584, allocations: 1.761 MB / 491.8 MB, free: 6.941 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.1586, allocations: 8 kB / 491.8 MB, free: 6.934 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.693e-05/0.1586, allocations: 42.5 kB / 491.9 MB, free: 6.883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.554e-06/0.1586, allocations: 0 / 491.9 MB, free: 6.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.01874/0.1774, allocations: 5.213 MB / 497.1 MB, free: 1.656 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/0.1776, allocations: 409.4 kB / 497.5 MB, free: 1.164 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002702/0.1803, allocations: 1.482 MB / 499 MB, free: 15.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.1805, allocations: 33.7 kB / 499 MB, free: 15.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/0.1808, allocations: 400.7 kB / 499.4 MB, free: 15.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.181, allocations: 110.4 kB / 499.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004003/0.1814, allocations: 134.1 kB / 499.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1815, allocations: 326 kB / 499.9 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006283/0.1878, allocations: 1.823 MB / 0.49 GB, free: 12.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006405/0.1942, allocations: 1.99 MB / 0.492 GB, free: 10.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01215/0.2064, allocations: 3.414 MB / 0.4953 GB, free: 7.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.2065, allocations: 0 / 0.4953 GB, free: 7.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01352/0.22, allocations: 3.76 MB / 0.499 GB, free: 3.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.22, allocations: 8 kB / 0.499 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2201, allocations: 80 / 0.499 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.2201, allocations: 8 kB / 0.499 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003424/0.2235, allocations: 0.7294 MB / 0.4997 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/0.2236, allocations: 11.92 kB / 0.4997 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003965/0.2275, allocations: 0.7056 MB / 0.5004 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/0.2278, allocations: 23.98 kB / 0.5004 GB, free: 2.082 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.0007495/0.2285, allocations: 342.2 kB / 0.5007 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004709/0.229, allocations: 98.88 kB / 0.5008 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.2293, allocations: 104.2 kB / 0.5009 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.2293, allocations: 4 kB / 0.5009 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.2293, allocations: 7.938 kB / 0.5009 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2293, allocations: 0 / 0.5009 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.2311, allocations: 0.9157 MB / 0.5018 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.2311, allocations: 0 / 0.5018 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2162/0.4473, allocations: 0.6803 MB / 0.5025 GB, free: 52.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.428e-05/0.4474, allocations: 6.281 kB / 0.5025 GB, free: 52.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000259/0.4477, allocations: 16.17 kB / 0.5025 GB, free: 52.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/0.4477, allocations: 2.969 kB / 0.5025 GB, free: 52.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.4477, allocations: 5.188 kB / 0.5025 GB, free: 52.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01311/0.4608, allocations: 3.962 MB / 0.5064 GB, free: 52.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004533/0.4613, allocations: 186.8 kB / 0.5066 GB, free: 52.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003333/0.4617, allocations: 11.08 kB / 0.5066 GB, free: 52.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003875/0.4656, allocations: 0.681 MB / 0.5073 GB, free: 52.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004362/0.466, allocations: 145.8 kB / 0.5074 GB, free: 52.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.896e-05/0.4661, allocations: 15.38 kB / 0.5074 GB, free: 52.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002063/0.4682, allocations: 1.102 MB / 0.5085 GB, free: 52.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4682, allocations: 1.125 kB / 0.5085 GB, free: 52.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001339/0.4695, allocations: 407.7 kB / 0.5089 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.0009644/0.4705, allocations: 376 kB / 0.5092 GB, free: 51.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01299/0.4835, allocations: 3.655 MB / 0.5128 GB, free: 51.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/0.4836, allocations: 1.188 kB / 0.5128 GB, free: 51.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006373/0.4899, allocations: 1.977 MB / 0.5147 GB, free: 50.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.4919, allocations: 246.5 kB / 0.515 GB, free: 50.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008245/0.5002, allocations: 3.099 MB / 0.518 GB, free: 48.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.5008, allocations: 1.111 MB / 0.5191 GB, free: 47.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001054/0.5018, allocations: 293.7 kB / 0.5194 GB, free: 47.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000521/0.5023, allocations: 69.2 kB / 0.5194 GB, free: 47.52 MB / 382.1 MB Notification: Performance of SimCode: time 1.563e-06/0.5024, allocations: 0 / 0.5194 GB, free: 47.52 MB / 382.1 MB Notification: Performance of Templates: time 0.02976/0.5321, allocations: 24.57 MB / 0.5434 GB, free: 23.67 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)