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.006159/0.006159, allocations: 99.64 kB / 15.73 MB, free: 6.016 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.001393/0.001393, allocations: 193 kB / 16.67 MB, free: 5.934 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.395/1.395, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02434/0.02434, allocations: 5.226 MB / 295.7 MB, free: 9.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 63.89 kB / 409.1 MB, free: 26.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1133, allocations: 50.57 MB / 459.6 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.005798/0.1192, allocations: 3.637 MB / 463.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006077/0.1253, allocations: 3.459 MB / 466.7 MB, free: 492 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.1256, allocations: 8 kB / 466.7 MB, free: 484 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009428/0.1265, allocations: 287 kB / 467 MB, free: 196 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.1286, allocations: 0.9066 MB / 467.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.1291, allocations: 243.6 kB / 468.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.1303, allocations: 1.164 MB / 469.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000524/0.1308, allocations: 392.1 kB / 469.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.1313, allocations: 482.4 kB / 470.2 MB, free: 13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008255/0.1321, allocations: 0.8217 MB / 471 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.1323, allocations: 112 kB / 471.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.134, allocations: 1.068 MB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004928/0.1345, allocations: 0.5065 MB / 472.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005548/0.135, allocations: 0.5676 MB / 473.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.137, allocations: 1.892 MB / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.137, allocations: 0 / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1371, allocations: 0 / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.1371, allocations: 8 kB / 475.1 MB, free: 8.016 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.005812/0.1429, allocations: 2.277 MB / 477.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.143, allocations: 8.031 kB / 477.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/0.1449, allocations: 291.3 kB / 477.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.1469, allocations: 1.084 MB / 478.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004788/0.1474, allocations: 275.7 kB / 479.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.1476, allocations: 36 kB / 479.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006634/0.1542, allocations: 2.296 MB / 481.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1542, allocations: 0 / 481.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.549e-05/0.1543, allocations: 23.94 kB / 481.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.1544, allocations: 12 kB / 481.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01161/0.166, allocations: 3.577 MB / 485 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00496/0.171, allocations: 2.842 MB / 487.9 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007695/0.1787, allocations: 2.266 MB / 490.1 MB, free: 8.672 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005902/0.1846, allocations: 1.761 MB / 491.9 MB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.1848, allocations: 7.984 kB / 491.9 MB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.594e-05/0.1848, allocations: 42.5 kB / 491.9 MB, free: 6.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 3.206e-06/0.1848, allocations: 4 kB / 491.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.01761/0.2025, allocations: 5.224 MB / 497.2 MB, free: 1.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002648/0.2028, allocations: 397.5 kB / 497.5 MB, free: 1.109 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003409/0.2062, allocations: 1.487 MB / 499 MB, free: 15.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.2063, allocations: 33.7 kB / 499.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004081/0.2068, allocations: 400.8 kB / 499.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.207, allocations: 115 kB / 499.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004647/0.2075, allocations: 134.2 kB / 499.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2076, allocations: 330 kB / 0.4883 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005886/0.2135, allocations: 1.815 MB / 0.4901 GB, free: 12.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005982/0.2195, allocations: 1.994 MB / 0.492 GB, free: 10.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/0.2309, allocations: 3.411 MB / 0.4954 GB, free: 7.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.2309, allocations: 4 kB / 0.4954 GB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01231/0.2432, allocations: 3.768 MB / 0.499 GB, free: 3.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.2433, allocations: 7.984 kB / 0.499 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.2434, allocations: 8.094 kB / 0.4991 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-05/0.2434, allocations: 4 kB / 0.4991 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00314/0.2465, allocations: 0.7216 MB / 0.4998 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/0.2466, allocations: 7.938 kB / 0.4998 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003599/0.2502, allocations: 0.7135 MB / 0.5005 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.2503, allocations: 27.97 kB / 0.5005 GB, free: 2.008 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.0007549/0.2511, allocations: 342.2 kB / 0.5008 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005728/0.2517, allocations: 99.38 kB / 0.5009 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.252, allocations: 100.2 kB / 0.501 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.252, allocations: 4 kB / 0.501 GB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.252, allocations: 3.938 kB / 0.501 GB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.252, allocations: 4 kB / 0.501 GB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.2539, allocations: 0.9192 MB / 0.5019 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.2539, allocations: 4 kB / 0.5019 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2914/0.5453, allocations: 0.6812 MB / 0.5026 GB, free: 52.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-05/0.5454, allocations: 6.562 kB / 0.5026 GB, free: 52.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002247/0.5456, allocations: 12.69 kB / 0.5026 GB, free: 52.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/0.5456, allocations: 3.719 kB / 0.5026 GB, free: 52.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.5456, allocations: 5.5 kB / 0.5026 GB, free: 52.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/0.5582, allocations: 3.962 MB / 0.5065 GB, free: 52.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004285/0.5586, allocations: 196 kB / 0.5067 GB, free: 52.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.5589, allocations: 7.469 kB / 0.5067 GB, free: 52.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003479/0.5624, allocations: 0.6789 MB / 0.5073 GB, free: 52.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005207/0.5629, allocations: 147.5 kB / 0.5075 GB, free: 52.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.595e-05/0.563, allocations: 17.94 kB / 0.5075 GB, free: 52.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002006/0.565, allocations: 1.099 MB / 0.5086 GB, free: 52.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.565, allocations: 0 / 0.5086 GB, free: 52.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001513/0.5665, allocations: 416.6 kB / 0.509 GB, free: 52.18 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.0008984/0.5674, allocations: 383.8 kB / 0.5093 GB, free: 52.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01255/0.58, allocations: 3.653 MB / 0.5129 GB, free: 51.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.5801, allocations: 1.188 kB / 0.5129 GB, free: 51.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005942/0.586, allocations: 1.972 MB / 0.5148 GB, free: 50.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.5882, allocations: 253.8 kB / 0.5151 GB, free: 50.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009155/0.5974, allocations: 3.132 MB / 0.5181 GB, free: 48.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007492/0.5982, allocations: 1.106 MB / 0.5192 GB, free: 47.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00128/0.5995, allocations: 296.3 kB / 0.5195 GB, free: 47.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000612/0.6001, allocations: 60.34 kB / 0.5196 GB, free: 47.64 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.6001, allocations: 7.938 kB / 0.5196 GB, free: 47.64 MB / 382.1 MB Notification: Performance of Templates: time 0.03292/0.6331, allocations: 24.57 MB / 0.5435 GB, free: 23.76 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)