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.001086/0.001086, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.0009354/0.0009354, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.28/1.28, allocations: 222.9 MB / 240.6 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1335/0.1335, allocations: 5.197 MB / 295.9 MB, free: 2.992 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.84 kB / 357.3 MB, free: 2.164 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08967/0.09093, allocations: 50.56 MB / 407.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.00632/0.09728, allocations: 6.39 MB / 414.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00514/0.1024, allocations: 4.009 MB / 418.3 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003406/0.1028, allocations: 8 kB / 418.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007081/0.1036, allocations: 274.8 kB / 418.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.1052, allocations: 0.8061 MB / 419.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.1056, allocations: 215.7 kB / 419.6 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.1067, allocations: 1.18 MB / 420.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000467/0.1072, allocations: 402.7 kB / 421.2 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003999/0.1076, allocations: 486.4 kB / 421.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007759/0.1084, allocations: 0.8451 MB / 422.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.1085, allocations: 116 kB / 422.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1482/0.2568, allocations: 1.043 MB / 423.6 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007219/0.2575, allocations: 0.5094 MB / 424.2 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.2588, allocations: 0.5873 MB / 424.7 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.2606, allocations: 1.376 MB / 426.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2607, allocations: 1.594 kB / 426.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2607, allocations: 0 / 426.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.384e-05/0.2607, allocations: 0 / 426.1 MB, free: 37.06 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.005504/0.2662, allocations: 2.239 MB / 428.4 MB, free: 36.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2663, allocations: 8.906 kB / 428.4 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001921/0.2682, allocations: 288.7 kB / 428.6 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.2697, allocations: 1.074 MB / 429.7 MB, free: 35.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000792/0.2705, allocations: 269.3 kB / 430 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.2707, allocations: 41.5 kB / 430 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01451/0.2852, allocations: 2.505 MB / 432.5 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.2852, allocations: 5.312 kB / 432.5 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.2854, allocations: 17.31 kB / 432.6 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.2854, allocations: 10.27 kB / 432.6 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02594/0.3113, allocations: 3.876 MB / 436.4 MB, free: 35.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003632/0.315, allocations: 3.082 MB / 439.5 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01836/0.3334, allocations: 2.479 MB / 442 MB, free: 33.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01268/0.3461, allocations: 1.919 MB / 443.9 MB, free: 33.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.3463, allocations: 6.812 kB / 443.9 MB, free: 33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.3464, allocations: 51.77 kB / 444 MB, free: 32.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.245e-06/0.3464, allocations: 0 / 444 MB, free: 32.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.03779/0.3842, allocations: 5.556 MB / 449.5 MB, free: 32.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.3844, allocations: 399.7 kB / 449.9 MB, free: 31.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003291/0.3877, allocations: 1.484 MB / 451.4 MB, free: 31.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003349/0.388, allocations: 32.27 kB / 451.4 MB, free: 31.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/0.3885, allocations: 402.7 kB / 451.8 MB, free: 30.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004373/0.3889, allocations: 114.6 kB / 451.9 MB, free: 30.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007729/0.3897, allocations: 130.2 kB / 452.1 MB, free: 30.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.671e-05/0.3898, allocations: 329.8 kB / 452.4 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01361/0.4034, allocations: 1.972 MB / 454.4 MB, free: 30.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01355/0.417, allocations: 2.143 MB / 456.5 MB, free: 29.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02544/0.4425, allocations: 3.505 MB / 460 MB, free: 29.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.4425, allocations: 0.5625 kB / 460 MB, free: 29.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.02671/0.4692, allocations: 3.968 MB / 464 MB, free: 28.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.4693, allocations: 6.281 kB / 464 MB, free: 28.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.4693, allocations: 6.688 kB / 464 MB, free: 28.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.424e-05/0.4694, allocations: 4.562 kB / 464 MB, free: 28.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007047/0.4764, allocations: 0.7534 MB / 464.8 MB, free: 28.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-05/0.4765, allocations: 5.094 kB / 464.8 MB, free: 28.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007105/0.4836, allocations: 0.724 MB / 465.5 MB, free: 27.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003072/0.4839, allocations: 26.38 kB / 465.5 MB, free: 27.71 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009318/0.4849, allocations: 346.7 kB / 465.8 MB, free: 27.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007849/0.4857, allocations: 94.62 kB / 465.9 MB, free: 27.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.486, allocations: 100 kB / 466 MB, free: 27.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.486, allocations: 4.875 kB / 466 MB, free: 27.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.486, allocations: 2.75 kB / 466 MB, free: 27.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.486, allocations: 8.812 kB / 466.1 MB, free: 27.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.4881, allocations: 1.04 MB / 467.1 MB, free: 26.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.4881, allocations: 1.594 kB / 467.1 MB, free: 26.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0068/0.4949, allocations: 0.7115 MB / 467.8 MB, free: 26.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/0.4949, allocations: 3.438 kB / 467.8 MB, free: 26.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002274/0.4952, allocations: 13.48 kB / 467.8 MB, free: 26.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.4952, allocations: 2.75 kB / 467.8 MB, free: 26.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4952, allocations: 6.031 kB / 467.8 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02541/0.5206, allocations: 4.162 MB / 472 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/0.521, allocations: 185.8 kB / 472.2 MB, free: 23.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005329/0.5216, allocations: 10.62 kB / 472.2 MB, free: 23.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007015/0.5286, allocations: 0.6992 MB / 472.9 MB, free: 23.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005385/0.5292, allocations: 170.4 kB / 473 MB, free: 23.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/0.5293, allocations: 12.94 kB / 473.1 MB, free: 23.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001785/0.5311, allocations: 1.098 MB / 474.2 MB, free: 22.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5311, allocations: 0 / 474.2 MB, free: 22.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001581/0.5327, allocations: 464.4 kB / 474.6 MB, free: 22.88 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.001071/0.5338, allocations: 372.8 kB / 475 MB, free: 22.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.02712/0.5609, allocations: 3.988 MB / 479 MB, free: 19.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.561, allocations: 4 kB / 479 MB, free: 19.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01305/0.574, allocations: 2.141 MB / 481.1 MB, free: 17.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.5763, allocations: 250.6 kB / 481.4 MB, free: 16.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.591, allocations: 3.322 MB / 484.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/0.5916, allocations: 1.081 MB / 485.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/0.5928, allocations: 79.38 kB / 485.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5928, allocations: 0 / 485.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Templates: time 0.03072/0.6235, allocations: 25.1 MB / 0.499 GB, free: 3.25 MB / 366.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)