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.001236/0.001236, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001226/0.001226, allocations: 192 kB / 17.31 MB, free: 5.18 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02552/0.02552, allocations: 5.217 MB / 296.4 MB, free: 9.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 59.91 kB / 358.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2145, allocations: 50.56 MB / 409.2 MB, free: 29.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.003577/0.2182, allocations: 3.643 MB / 412.8 MB, free: 26.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00339/0.2216, allocations: 3.467 MB / 416.3 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.2218, allocations: 4 kB / 416.3 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000884/0.2227, allocations: 287 kB / 416.6 MB, free: 22.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002195/0.2249, allocations: 0.9013 MB / 417.5 MB, free: 21.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.2255, allocations: 235.6 kB / 417.7 MB, free: 21.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.2268, allocations: 1.171 MB / 418.9 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005682/0.2274, allocations: 388.2 kB / 419.3 MB, free: 19.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005888/0.228, allocations: 490.3 kB / 419.8 MB, free: 19.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.229, allocations: 0.8139 MB / 420.6 MB, free: 18.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.2292, allocations: 112 kB / 420.7 MB, free: 18.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.2315, allocations: 1.068 MB / 421.7 MB, free: 17.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005555/0.2321, allocations: 0.5066 MB / 422.3 MB, free: 16.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006177/0.2327, allocations: 0.5715 MB / 422.8 MB, free: 16.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002329/0.2351, allocations: 1.893 MB / 424.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2351, allocations: 0 / 424.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2351, allocations: 0 / 424.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.2351, allocations: 0 / 424.7 MB, free: 14.38 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.007951/0.2431, allocations: 2.231 MB / 427 MB, free: 12.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.2432, allocations: 19.97 kB / 427 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003109/0.2463, allocations: 286.7 kB / 427.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003392/0.2497, allocations: 1.08 MB / 428.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007418/0.2505, allocations: 267.7 kB / 428.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.2507, allocations: 36 kB / 428.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/0.2619, allocations: 2.296 MB / 430.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.262, allocations: 4 kB / 430.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.2622, allocations: 23.94 kB / 431 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.885e-05/0.2622, allocations: 15.98 kB / 431 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01988/0.2821, allocations: 3.581 MB / 434.5 MB, free: 4.344 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005043/0.2872, allocations: 2.834 MB / 437.4 MB, free: 1.406 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01317/0.3004, allocations: 2.247 MB / 439.6 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01164/0.3121, allocations: 1.78 MB / 441.4 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/0.3124, allocations: 0 / 441.4 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.197e-05/0.3125, allocations: 46.56 kB / 441.5 MB, free: 13.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 3.837e-06/0.3125, allocations: 0 / 441.5 MB, free: 13.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.03477/0.3473, allocations: 5.217 MB / 446.7 MB, free: 8.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000295/0.3476, allocations: 397.5 kB / 447.1 MB, free: 7.535 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004921/0.3526, allocations: 1.502 MB / 448.6 MB, free: 6.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002809/0.3529, allocations: 29.7 kB / 448.6 MB, free: 5.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000583/0.3535, allocations: 404.6 kB / 449 MB, free: 5.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003913/0.3539, allocations: 106.5 kB / 449.1 MB, free: 5.469 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000819/0.3547, allocations: 130.1 kB / 449.2 MB, free: 5.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.3549, allocations: 330 kB / 449.5 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01042/0.3654, allocations: 1.823 MB / 451.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009974/0.3754, allocations: 1.986 MB / 453.3 MB, free: 1.145 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02065/0.3961, allocations: 3.413 MB / 456.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.3962, allocations: 0 / 456.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.02197/0.4182, allocations: 3.766 MB / 460.5 MB, free: 9.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.4182, allocations: 4 kB / 460.5 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.4183, allocations: 4 kB / 460.5 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/0.4183, allocations: 4 kB / 460.5 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005649/0.424, allocations: 0.7216 MB / 461.3 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.482e-05/0.424, allocations: 15.88 kB / 461.3 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006439/0.4305, allocations: 0.7095 MB / 462 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/0.4307, allocations: 27.98 kB / 462 MB, free: 8.43 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.000914/0.4316, allocations: 341.5 kB / 462.3 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005583/0.4322, allocations: 94.86 kB / 462.4 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.4325, allocations: 104.2 kB / 462.5 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.4325, allocations: 4 kB / 462.5 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.4326, allocations: 11.94 kB / 462.6 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.4326, allocations: 0 / 462.6 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.4349, allocations: 0.9038 MB / 463.5 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4349, allocations: 0 / 463.5 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005566/0.4405, allocations: 0.6903 MB / 464.1 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.477e-06/0.4405, allocations: 4 kB / 464.2 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.4406, allocations: 11.98 kB / 464.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.4406, allocations: 4 kB / 464.2 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.4407, allocations: 7.938 kB / 464.2 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02106/0.4617, allocations: 3.953 MB / 468.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006332/0.4624, allocations: 187.9 kB / 468.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003972/0.4628, allocations: 8 kB / 468.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003647/0.4665, allocations: 0.6786 MB / 469 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004017/0.4669, allocations: 151.8 kB / 469.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-05/0.467, allocations: 15.98 kB / 469.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001798/0.4688, allocations: 1.099 MB / 470.3 MB, free: 68 kB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4688, allocations: 0 / 470.3 MB, free: 68 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.001284/0.4701, allocations: 412 kB / 470.7 MB, free: 15.66 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.0007992/0.4709, allocations: 382.8 kB / 471 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.01138/0.4823, allocations: 3.656 MB / 474.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4823, allocations: 0 / 474.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005923/0.4883, allocations: 1.974 MB / 476.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.49, allocations: 250.9 kB / 476.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008899/0.4989, allocations: 3.09 MB / 480 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000734/0.4997, allocations: 1.105 MB / 481.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001041/0.5007, allocations: 292.9 kB / 481.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005097/0.5012, allocations: 67.41 kB / 481.5 MB, free: 4.773 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5012, allocations: 4 kB / 481.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of Templates: time 0.03596/0.5372, allocations: 24.48 MB / 0.4941 GB, free: 12.47 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 -s cvode -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe 2>&1)