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.0007757/0.0007757, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009531/0.001729, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000679/0.000679, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008967/0.001576, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9928/0.9928, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09638/1.089, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.01746/0.01746, allocations: 4.087 MB / 248.2 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003156/0.02061, allocations: 1.609 MB / 249.8 MB, free: 9.145 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.876e-06/2.876e-06, allocations: 0 / 251.2 MB, free: 7.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.353e-05, allocations: 2.312 kB / 251.2 MB, free: 7.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.003925/0.003949, allocations: 2.347 MB / 253.6 MB, free: 5.41 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.00519, allocations: 0.6737 MB / 254.2 MB, free: 4.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.005293, allocations: 0 / 254.2 MB, free: 4.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.005452, allocations: 39.64 kB / 254.3 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.005568, allocations: 51.52 kB / 254.3 MB, free: 4.641 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.005815, allocations: 87.83 kB / 254.4 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.006075, allocations: 223.5 kB / 254.6 MB, free: 4.336 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.006274, allocations: 82.5 kB / 254.7 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.006476, allocations: 131.8 kB / 254.8 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.006608, allocations: 63.81 kB / 254.9 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.006648, allocations: 20 kB / 254.9 MB, free: 4.039 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.98e-05/0.006678, allocations: 20 kB / 254.9 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.006718, allocations: 35.88 kB / 255 MB, free: 3.984 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.961e-05/0.006777, allocations: 51.94 kB / 255 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.006992, allocations: 139.4 kB / 255.2 MB, free: 3.797 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.26e-05/0.007005, allocations: 0 / 255.2 MB, free: 3.797 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.007005, allocations: 4 kB / 255.2 MB, free: 3.793 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.007021, allocations: 0 / 255.2 MB, free: 3.793 MB / 250.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.0005775/0.007598, allocations: 411.8 kB / 255.6 MB, free: 3.367 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.007636, allocations: 15.98 kB / 255.6 MB, free: 3.352 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.72e-05/0.007694, allocations: 24.92 kB / 255.6 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.007916, allocations: 169.8 kB / 255.8 MB, free: 3.137 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.007935, allocations: 16.31 kB / 255.8 MB, free: 3.121 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.007975, allocations: 24.36 kB / 255.8 MB, free: 3.098 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.008226, allocations: 186.3 kB / 256 MB, free: 2.895 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.008239, allocations: 192 / 256 MB, free: 2.895 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.008258, allocations: 12.38 kB / 256 MB, free: 2.883 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.008269, allocations: 7.938 kB / 256 MB, free: 2.875 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.046e-05/0.00836, allocations: 47.89 kB / 256.1 MB, free: 2.828 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006968/0.009056, allocations: 0.5042 MB / 256.6 MB, free: 2.289 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.884e-05/0.009155, allocations: 50.5 kB / 256.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.337e-05/0.009179, allocations: 12.86 kB / 256.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.009196, allocations: 4 kB / 256.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.009219, allocations: 30.56 kB / 256.7 MB, free: 2.172 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.00922, allocations: 0 / 256.7 MB, free: 2.172 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001477/0.009368, allocations: 61.8 kB / 256.7 MB, free: 2.105 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.009396, allocations: 51.41 kB / 256.8 MB, free: 2.043 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.009499, allocations: 153.2 kB / 256.9 MB, free: 1.883 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.009516, allocations: 25.7 kB / 256.9 MB, free: 1.852 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/0.009588, allocations: 152.1 kB / 257.1 MB, free: 1.695 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.009607, allocations: 27.73 kB / 257.1 MB, free: 1.668 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.009655, allocations: 33.7 kB / 257.1 MB, free: 1.629 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.931e-05/0.009745, allocations: 322.8 kB / 257.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.838e-05/0.009773, allocations: 12.86 kB / 257.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.786e-05/0.009841, allocations: 88.55 kB / 257.6 MB, free: 1.172 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.972e-05/0.009931, allocations: 85.89 kB / 257.6 MB, free: 1.066 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.009933, allocations: 3.938 kB / 257.6 MB, free: 1.062 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001247/0.01006, allocations: 89.77 kB / 257.7 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.01007, allocations: 10.97 kB / 257.7 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.01008, allocations: 3.984 kB / 257.7 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.0101, allocations: 8 kB / 257.8 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.01026, allocations: 35.92 kB / 257.8 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.01027, allocations: 3.938 kB / 257.8 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.52e-05/0.01034, allocations: 20.06 kB / 257.8 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.01035, allocations: 12 kB / 257.8 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001264/0.01048, allocations: 88.14 kB / 257.9 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.469e-05/0.01053, allocations: 84.55 kB / 258 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.223e-05/0.0106, allocations: 81.84 kB / 258.1 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.983e-06/0.01061, allocations: 4 kB / 258.1 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0001082/0.01071, allocations: 81.58 kB / 258.2 MB, free: 496 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/0.01072, allocations: 8 kB / 258.2 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.01073, allocations: 3.984 kB / 258.2 MB, free: 484 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-06/0.01073, allocations: 4 kB / 258.2 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.666e-05/0.01082, allocations: 31.92 kB / 258.2 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.01082, allocations: 4 kB / 258.2 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.931e-05/0.01088, allocations: 7.938 kB / 258.2 MB, free: 436 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.01088, allocations: 8.188 kB / 258.2 MB, free: 428 kB / 250.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.696e-05/0.01096, allocations: 192.1 kB / 258.4 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.01099, allocations: 11.98 kB / 258.4 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.01102, allocations: 12.78 kB / 258.4 MB, free: 208 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.01102, allocations: 0 / 258.4 MB, free: 208 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01102, allocations: 3.938 kB / 258.4 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01103, allocations: 7.984 kB / 258.4 MB, free: 196 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.01117, allocations: 97.83 kB / 258.5 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01117, allocations: 0 / 258.5 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.614e-05/0.01127, allocations: 23.98 kB / 258.6 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.01128, allocations: 15.91 kB / 258.6 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.01128, allocations: 4 kB / 258.6 MB, free: 36 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.01129, allocations: 4 kB / 258.6 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01129, allocations: 0 / 258.6 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.0113, allocations: 3.938 kB / 258.6 MB, free: 28 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.01147, allocations: 163.6 kB / 258.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.01148, allocations: 3.938 kB / 258.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.01156, allocations: 8.062 kB / 258.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.01159, allocations: 11.98 kB / 258.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.01159, allocations: 3.984 kB / 258.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.837e-05/0.01163, allocations: 36.8 kB / 258.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01163, allocations: 0 / 258.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.01192, allocations: 71.73 kB / 258.9 MB, free: 15.71 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 8.367e-05/0.012, allocations: 76.36 kB / 259 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.01215, allocations: 85.53 kB / 259 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.01216, allocations: 13.11 kB / 259.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.801e-05/0.0122, allocations: 20.8 kB / 259.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.01251, allocations: 260 kB / 259.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.0146, allocations: 341.1 kB / 259.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.769e-05/0.01465, allocations: 75.83 kB / 259.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.178e-05/0.01471, allocations: 12.97 kB / 259.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.01482, allocations: 75.34 kB / 259.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01482, allocations: 0 / 259.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of Templates: time 0.004372/0.01919, allocations: 1.671 MB / 261.5 MB, free: 13.03 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 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4478907473385334]