Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.ServoMotor_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009207/0.0009207, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009654/0.0009654, allocations: 181 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.042/1.042, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.01736/0.01736, allocations: 4.097 MB / 264.3 MB, free: 8.941 MB / 250.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(DeltaRobot.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") translateModel(DeltaRobot.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 282.1 MB, free: 7.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.899e-05, allocations: 6.312 kB / 282.1 MB, free: 7.172 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.003373/0.003392, allocations: 2.323 MB / 284.4 MB, free: 4.832 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009083/0.004301, allocations: 0.6737 MB / 285.1 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.118e-05/0.004382, allocations: 4 kB / 285.1 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.004553, allocations: 39.69 kB / 285.2 MB, free: 4.109 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.669e-05/0.004629, allocations: 47.52 kB / 285.2 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.004836, allocations: 91.83 kB / 285.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.005019, allocations: 223.6 kB / 285.5 MB, free: 3.754 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.005175, allocations: 90.42 kB / 285.6 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.005297, allocations: 123.8 kB / 285.7 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.171e-05/0.005389, allocations: 59.81 kB / 285.8 MB, free: 3.484 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.005414, allocations: 20 kB / 285.8 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.998e-05/0.005434, allocations: 20 kB / 285.8 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.005466, allocations: 47.83 kB / 285.9 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.005512, allocations: 67.89 kB / 285.9 MB, free: 3.332 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.00568, allocations: 147.4 kB / 286.1 MB, free: 3.188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.005682, allocations: 0 / 286.1 MB, free: 3.188 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005682, allocations: 4 kB / 286.1 MB, free: 3.184 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.005686, allocations: 0 / 286.1 MB, free: 3.184 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0003495/0.006035, allocations: 372.1 kB / 286.4 MB, free: 2.797 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.006066, allocations: 8.031 kB / 286.4 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.006108, allocations: 28.92 kB / 286.5 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.006274, allocations: 166 kB / 286.6 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.006286, allocations: 16.38 kB / 286.7 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.006311, allocations: 16.38 kB / 286.7 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.006496, allocations: 198.2 kB / 286.9 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.006506, allocations: 8.125 kB / 286.9 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.006518, allocations: 4.375 kB / 286.9 MB, free: 2.316 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.006529, allocations: 7.938 kB / 286.9 MB, free: 2.309 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.358e-05/0.006593, allocations: 39.97 kB / 286.9 MB, free: 2.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005041/0.007097, allocations: 0.5158 MB / 287.4 MB, free: 1.715 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.038e-05/0.007177, allocations: 46.53 kB / 287.5 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.007196, allocations: 16.86 kB / 287.5 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.007207, allocations: 0 / 287.5 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.007225, allocations: 42.62 kB / 287.5 MB, free: 1.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.007226, allocations: 0 / 287.5 MB, free: 1.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001089/0.007335, allocations: 53.67 kB / 287.6 MB, free: 1.531 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.007367, allocations: 77.11 kB / 287.7 MB, free: 1.438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.564e-05/0.007443, allocations: 154.5 kB / 287.8 MB, free: 1.273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.007454, allocations: 25.7 kB / 287.8 MB, free: 1.242 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.007509, allocations: 148.1 kB / 288 MB, free: 1.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.007532, allocations: 23.8 kB / 288 MB, free: 1.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.007571, allocations: 33.69 kB / 288 MB, free: 1.031 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.381e-05/0.007645, allocations: 322.8 kB / 288.4 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.007667, allocations: 12.86 kB / 288.4 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.724e-05/0.007724, allocations: 98.73 kB / 288.5 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.507e-05/0.007789, allocations: 69.92 kB / 288.5 MB, free: 488 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.007791, allocations: 0 / 288.5 MB, free: 488 kB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.667e-05/0.007888, allocations: 93.75 kB / 288.6 MB, free: 388 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.007898, allocations: 4 kB / 288.6 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007903, allocations: 4 kB / 288.6 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.007914, allocations: 4 kB / 288.6 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.008041, allocations: 35.97 kB / 288.7 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.008046, allocations: 7.875 kB / 288.7 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.008108, allocations: 20.12 kB / 288.7 MB, free: 312 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.008115, allocations: 8 kB / 288.7 MB, free: 304 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.574e-05/0.008161, allocations: 88.14 kB / 288.8 MB, free: 212 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.387e-05/0.008205, allocations: 88.56 kB / 288.9 MB, free: 92 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.723e-05/0.008252, allocations: 69.92 kB / 289 MB, free: 0 / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.738e-06/0.008262, allocations: 112 / 289 MB, free: 22.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0001692/0.008431, allocations: 87.88 kB / 289 MB, free: 22.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.008441, allocations: 4.844 kB / 289 MB, free: 22.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.008445, allocations: 3.703 kB / 289 MB, free: 22.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.012e-06/0.008451, allocations: 4.156 kB / 289.1 MB, free: 22.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.008569, allocations: 33.03 kB / 289.1 MB, free: 22.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.008574, allocations: 2.531 kB / 289.1 MB, free: 22.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.002e-05/0.008644, allocations: 17.02 kB / 289.1 MB, free: 22.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.008651, allocations: 7.359 kB / 289.1 MB, free: 22.08 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (13): * Single equations (assignments): 13 * 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 7.042e-05/0.008721, allocations: 184.4 kB / 289.3 MB, free: 21.9 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.008749, allocations: 10.48 kB / 289.3 MB, free: 21.9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.008786, allocations: 11.91 kB / 289.3 MB, free: 21.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.008789, allocations: 2.219 kB / 289.3 MB, free: 21.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.008792, allocations: 8.047 kB / 289.3 MB, free: 21.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.008795, allocations: 0 / 289.3 MB, free: 21.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.008943, allocations: 101.5 kB / 289.4 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.008945, allocations: 1.812 kB / 289.4 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.625e-05/0.009032, allocations: 21.02 kB / 289.4 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.009034, allocations: 1.75 kB / 289.4 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.009044, allocations: 2.484 kB / 289.4 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.009046, allocations: 1.062 kB / 289.4 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.009047, allocations: 1.562 kB / 289.4 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.009195, allocations: 166.8 kB / 289.6 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.009214, allocations: 15.14 kB / 289.6 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.00923, allocations: 1.688 kB / 289.6 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.213e-05/0.009282, allocations: 11.34 kB / 289.6 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.009313, allocations: 6.422 kB / 289.6 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.009316, allocations: 2.969 kB / 289.6 MB, free: 21.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.327e-05/0.009349, allocations: 33.02 kB / 289.7 MB, free: 21.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009349, allocations: 0 / 289.7 MB, free: 21.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00023/0.009579, allocations: 74.97 kB / 289.8 MB, free: 21.68 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (6): * Single equations (assignments): 6 * 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 7.078e-05/0.00965, allocations: 78.17 kB / 289.8 MB, free: 21.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.009779, allocations: 82.2 kB / 289.9 MB, free: 21.6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.009784, allocations: 1.188 kB / 289.9 MB, free: 21.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.558e-05/0.00981, allocations: 23.78 kB / 289.9 MB, free: 21.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.009992, allocations: 26.45 kB / 290 MB, free: 21.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.01061, allocations: 361.1 kB / 290.3 MB, free: 21.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.355e-05/0.01064, allocations: 70.94 kB / 290.4 MB, free: 21.33 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.279e-05/0.01069, allocations: 12.44 kB / 290.4 MB, free: 21.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.677e-05/0.01078, allocations: 77.38 kB / 290.5 MB, free: 21.29 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01078, allocations: 0 / 290.5 MB, free: 21.29 MB / 266.7 MB Notification: Performance of Templates: time 0.00361/0.01439, allocations: 1.671 MB / 292.1 MB, free: 21.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.makefile [Timeout 660] (rm -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.ServoMotor_test.sim & ./DeltaRobot_DeltaRobot.Tests.ServoMotor_test -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6084202229976654]