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.0007839/0.0007839, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004356/0.004356, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.244/1.244, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1258/0.1258, allocations: 5.199 MB / 296.6 MB, free: 4.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002918, allocations: 11.98 kB / 359 MB, free: 1.453 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08966/0.08996, allocations: 51.55 MB / 410.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.005194/0.0952, allocations: 5.981 MB / 416.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004826/0.1, allocations: 4.006 MB / 420.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002952/0.1004, allocations: 8 kB / 420.5 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006268/0.101, allocations: 278.8 kB / 420.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.1025, allocations: 0.7981 MB / 421.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.1028, allocations: 215.7 kB / 421.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.1041, allocations: 1.414 MB / 423.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004408/0.1045, allocations: 385.2 kB / 423.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.1049, allocations: 406.4 kB / 424 MB, free: 336 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1683/0.2732, allocations: 0.7552 MB / 424.7 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000231/0.2735, allocations: 54.62 kB / 424.8 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.2753, allocations: 1.01 MB / 425.8 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003327/0.2756, allocations: 442.8 kB / 426.2 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004219/0.276, allocations: 0.5277 MB / 426.8 MB, free: 35.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.2774, allocations: 1.803 MB / 428.6 MB, free: 35.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2774, allocations: 0 / 428.6 MB, free: 35.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2775, allocations: 0 / 428.6 MB, free: 35.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.2775, allocations: 0.625 kB / 428.6 MB, free: 35.41 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.004884/0.2824, allocations: 2.085 MB / 430.6 MB, free: 34.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2824, allocations: 10.53 kB / 430.6 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/0.2843, allocations: 283.8 kB / 430.9 MB, free: 34.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.2859, allocations: 1.069 MB / 432 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007522/0.2867, allocations: 280.1 kB / 432.3 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.2868, allocations: 45.25 kB / 432.3 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/0.3008, allocations: 2.597 MB / 434.9 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.3008, allocations: 5.781 kB / 434.9 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.301, allocations: 16.38 kB / 434.9 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.301, allocations: 12.25 kB / 434.9 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02715/0.3281, allocations: 4.088 MB / 439 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003103/0.3313, allocations: 3.072 MB / 442.1 MB, free: 32.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01891/0.3502, allocations: 2.584 MB / 444.7 MB, free: 32.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01284/0.3631, allocations: 2.025 MB / 446.7 MB, free: 31.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.3633, allocations: 4.641 kB / 446.7 MB, free: 31.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3633, allocations: 47.72 kB / 446.8 MB, free: 31.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 3.075e-06/0.3633, allocations: 0 / 446.8 MB, free: 31.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.04008/0.4034, allocations: 5.875 MB / 452.6 MB, free: 31.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.095e-05/0.4035, allocations: 392.4 kB / 453 MB, free: 31.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/0.4059, allocations: 1.487 MB / 454.5 MB, free: 30.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.406, allocations: 31.83 kB / 454.5 MB, free: 30.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.4063, allocations: 397.2 kB / 454.9 MB, free: 30.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.4065, allocations: 117.7 kB / 455 MB, free: 30.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.4066, allocations: 58.08 kB / 455.1 MB, free: 30.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.045e-05/0.4067, allocations: 331 kB / 455.4 MB, free: 29.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01366/0.4204, allocations: 2.078 MB / 457.5 MB, free: 29.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01394/0.4343, allocations: 2.241 MB / 459.7 MB, free: 29.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0258/0.4601, allocations: 3.716 MB / 463.5 MB, free: 28.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.4602, allocations: 5.094 kB / 463.5 MB, free: 28.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.02677/0.487, allocations: 4.17 MB / 467.6 MB, free: 27.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.487, allocations: 6.375 kB / 467.6 MB, free: 27.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.4871, allocations: 2.25 kB / 467.6 MB, free: 27.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.4871, allocations: 9.469 kB / 467.6 MB, free: 27.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006729/0.4938, allocations: 0.8063 MB / 468.5 MB, free: 27.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.4938, allocations: 4.75 kB / 468.5 MB, free: 27.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007128/0.501, allocations: 0.7736 MB / 469.2 MB, free: 26.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.5011, allocations: 30.86 kB / 469.3 MB, free: 26.83 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.0005697/0.5017, allocations: 342.8 kB / 469.6 MB, free: 26.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003102/0.502, allocations: 104.2 kB / 469.7 MB, free: 26.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.5022, allocations: 101.6 kB / 469.8 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.5022, allocations: 4.5 kB / 469.8 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.5022, allocations: 4.156 kB / 469.8 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5022, allocations: 0 / 469.8 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.5033, allocations: 1.04 MB / 470.8 MB, free: 25.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5033, allocations: 3.938 kB / 470.9 MB, free: 25.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006866/0.5102, allocations: 0.7634 MB / 471.6 MB, free: 25.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.5102, allocations: 6.875 kB / 471.6 MB, free: 25.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.807e-05/0.5103, allocations: 14.92 kB / 471.6 MB, free: 25.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.5103, allocations: 3 kB / 471.6 MB, free: 25.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5104, allocations: 2.938 kB / 471.6 MB, free: 25.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02696/0.5373, allocations: 4.362 MB / 476 MB, free: 22.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004795/0.5378, allocations: 235.8 kB / 476.2 MB, free: 21.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000345/0.5382, allocations: 11.98 kB / 476.2 MB, free: 21.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007059/0.5453, allocations: 0.7439 MB / 477 MB, free: 21.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005057/0.5458, allocations: 170.8 kB / 477.2 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.5459, allocations: 19.98 kB / 477.2 MB, free: 20.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00154/0.5474, allocations: 1.091 MB / 478.3 MB, free: 19.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5475, allocations: 0 / 478.3 MB, free: 19.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001331/0.5488, allocations: 468 kB / 478.7 MB, free: 19.39 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.0007636/0.5496, allocations: 373.9 kB / 479.1 MB, free: 19.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.02693/0.5765, allocations: 4.166 MB / 483.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.5766, allocations: 4.844 kB / 483.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01353/0.5901, allocations: 2.255 MB / 485.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.592, allocations: 225.8 kB / 485.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/0.6066, allocations: 3.418 MB / 489.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.6071, allocations: 1.107 MB / 490.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00145/0.6086, allocations: 318.6 kB / 490.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007045/0.6093, allocations: 63.39 kB / 490.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6093, allocations: 0 / 490.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of Templates: time 0.03232/0.6416, allocations: 25.6 MB / 0.5041 GB, free: 14.04 MB / 382.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: