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.001101/0.001101, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001674/0.001674, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.613/1.613, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.26/0.26, allocations: 5.202 MB / 296.3 MB, free: 4.059 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003914, allocations: 12 kB / 358.3 MB, free: 1.816 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1656, allocations: 51.55 MB / 409.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.006315/0.172, allocations: 5.64 MB / 415.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007431/0.1795, allocations: 3.735 MB / 419.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008202/0.1804, allocations: 11.94 kB / 419.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.1816, allocations: 338 kB / 419.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004437/0.186, allocations: 1.518 MB / 421.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008428/0.1869, allocations: 235.4 kB / 421.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001858/0.1887, allocations: 1.242 MB / 422.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005712/0.1893, allocations: 324.7 kB / 422.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005389/0.1899, allocations: 418.5 kB / 423.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3538/0.5437, allocations: 0.7606 MB / 424.1 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006444/0.5444, allocations: 49.09 kB / 424.1 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003025/0.5474, allocations: 0.8661 MB / 425 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005518/0.548, allocations: 448.3 kB / 425.4 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003889/0.5484, allocations: 197 kB / 425.6 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001875/0.5503, allocations: 1.335 MB / 427 MB, free: 34.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.5503, allocations: 1.75 kB / 427 MB, free: 34.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5503, allocations: 3.094 kB / 427 MB, free: 34.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.5503, allocations: 0 / 427 MB, free: 34.99 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.00506/0.5554, allocations: 2.099 MB / 429.1 MB, free: 34.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.5554, allocations: 11.25 kB / 429.1 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/0.5572, allocations: 285.2 kB / 429.4 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/0.5592, allocations: 1.034 MB / 430.4 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007088/0.56, allocations: 288.4 kB / 430.7 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.5601, allocations: 38.03 kB / 430.7 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01179/0.5719, allocations: 2.593 MB / 433.3 MB, free: 33.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.572, allocations: 7.266 kB / 433.3 MB, free: 33.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.5721, allocations: 18.91 kB / 433.3 MB, free: 33.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.5721, allocations: 12.59 kB / 433.3 MB, free: 33.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02167/0.5938, allocations: 4.084 MB / 437.4 MB, free: 33.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004223/0.598, allocations: 3.068 MB / 440.5 MB, free: 31.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01503/0.6131, allocations: 2.587 MB / 443.1 MB, free: 31.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01077/0.6239, allocations: 2.02 MB / 445.1 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.6242, allocations: 13.38 kB / 445.1 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.492e-05/0.6243, allocations: 45.89 kB / 445.2 MB, free: 31.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 3.045e-06/0.6243, allocations: 0 / 445.2 MB, free: 31.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.03326/0.6575, allocations: 5.866 MB / 451 MB, free: 31.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/0.6577, allocations: 399 kB / 451.4 MB, free: 30.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00296/0.6607, allocations: 1.478 MB / 452.9 MB, free: 30.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002876/0.661, allocations: 34.52 kB / 452.9 MB, free: 30.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.6614, allocations: 401.4 kB / 453.3 MB, free: 30.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.6616, allocations: 110.2 kB / 453.4 MB, free: 30.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.6617, allocations: 9.656 kB / 453.4 MB, free: 30.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.6618, allocations: 326 kB / 453.8 MB, free: 30.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01222/0.6741, allocations: 2.071 MB / 455.8 MB, free: 30.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01273/0.6869, allocations: 2.245 MB / 458.1 MB, free: 29.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/0.6986, allocations: 1.887 MB / 460 MB, free: 29.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/0.6986, allocations: 1.094 kB / 460 MB, free: 29.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.02455/0.7232, allocations: 4.173 MB / 464.1 MB, free: 29.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.969e-05/0.7233, allocations: 5.469 kB / 464.1 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.7233, allocations: 2.375 kB / 464.1 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.571e-05/0.7234, allocations: 4.406 kB / 464.1 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006002/0.7294, allocations: 0.8093 MB / 465 MB, free: 29.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-05/0.7294, allocations: 8.219 kB / 465 MB, free: 29.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006342/0.7358, allocations: 0.7825 MB / 465.7 MB, free: 29.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000342/0.7361, allocations: 20.56 kB / 465.8 MB, free: 29.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001226/0.7374, allocations: 339.3 kB / 466.1 MB, free: 29.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/0.7385, allocations: 101.8 kB / 466.2 MB, free: 29.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/0.7389, allocations: 98.33 kB / 466.3 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.7389, allocations: 5.219 kB / 466.3 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.739, allocations: 5.406 kB / 466.3 MB, free: 29.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.739, allocations: 5.203 kB / 466.3 MB, free: 29.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.7413, allocations: 1.037 MB / 467.3 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.7414, allocations: 5.234 kB / 467.3 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006136/0.7475, allocations: 0.7634 MB / 468.1 MB, free: 28.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.547e-05/0.7476, allocations: 3.375 kB / 468.1 MB, free: 28.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000275/0.7478, allocations: 11.14 kB / 468.1 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.845e-05/0.7479, allocations: 4.438 kB / 468.1 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/0.7479, allocations: 3 kB / 468.1 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02237/0.7703, allocations: 4.364 MB / 472.5 MB, free: 26.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/0.7714, allocations: 242.7 kB / 472.7 MB, free: 25.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/0.7726, allocations: 10.25 kB / 472.7 MB, free: 25.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006593/0.7792, allocations: 0.7509 MB / 473.5 MB, free: 25.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007802/0.78, allocations: 171.2 kB / 473.7 MB, free: 25.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002311/0.7803, allocations: 16.83 kB / 473.7 MB, free: 25.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002224/0.7825, allocations: 1.085 MB / 474.8 MB, free: 24.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.01e-07/0.7825, allocations: 0 / 474.8 MB, free: 24.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002238/0.7848, allocations: 467.8 kB / 475.2 MB, free: 24.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001158/0.7859, allocations: 261 kB / 475.5 MB, free: 23.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.02167/0.8076, allocations: 4.161 MB / 479.6 MB, free: 19.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/0.8077, allocations: 0.6562 kB / 479.6 MB, free: 19.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01134/0.819, allocations: 2.258 MB / 481.9 MB, free: 17.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/0.8219, allocations: 227 kB / 482.1 MB, free: 17.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.8359, allocations: 3.316 MB / 485.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007491/0.8367, allocations: 1.113 MB / 486.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.002029/0.8388, allocations: 308.9 kB / 486.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008714/0.8397, allocations: 67.39 kB / 486.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of SimCode: time 1.213e-06/0.8397, allocations: 0 / 486.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of Templates: time 0.04212/0.8818, allocations: 25.02 MB / 0.4999 GB, free: 3.48 MB / 366.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.Trajectory_test.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: