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.0009484/0.0009484, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0009208/0.0009208, allocations: 174.3 kB / 23.21 MB, free: 1.352 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 0.8527/0.8527, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.01552/0.01552, allocations: 4.073 MB / 264 MB, free: 9.266 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 1.442e-06/1.442e-06, allocations: 0 / 388.8 MB, free: 8.547 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.954e-05, allocations: 2.281 kB / 388.8 MB, free: 8.543 MB / 314.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.002194/0.002214, allocations: 2.176 MB / 391 MB, free: 6.355 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008017/0.003015, allocations: 0.631 MB / 391.6 MB, free: 5.719 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.817e-05/0.003103, allocations: 3.938 kB / 391.6 MB, free: 5.715 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.0033, allocations: 51.56 kB / 391.7 MB, free: 5.664 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.672e-05/0.003367, allocations: 43.58 kB / 391.7 MB, free: 5.621 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.003593, allocations: 95.81 kB / 391.8 MB, free: 5.527 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.003786, allocations: 219.6 kB / 392 MB, free: 5.312 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.003975, allocations: 82.08 kB / 392.1 MB, free: 5.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.004099, allocations: 127.8 kB / 392.3 MB, free: 5.105 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.428e-05/0.004183, allocations: 63.8 kB / 392.3 MB, free: 5.043 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.004213, allocations: 20 kB / 392.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.948e-05/0.004233, allocations: 20 kB / 392.4 MB, free: 5.004 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.00426, allocations: 39.89 kB / 392.4 MB, free: 4.965 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.794e-05/0.004308, allocations: 67.83 kB / 392.5 MB, free: 4.898 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.004504, allocations: 223.3 kB / 392.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004507, allocations: 4 kB / 392.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.004508, allocations: 0 / 392.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.004512, allocations: 4 kB / 392.7 MB, free: 4.672 MB / 314.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.0005651/0.005078, allocations: 417.4 kB / 393.1 MB, free: 4.234 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.005109, allocations: 8.031 kB / 393.1 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.00515, allocations: 20.8 kB / 393.1 MB, free: 4.207 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.005352, allocations: 168.5 kB / 393.3 MB, free: 4.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.005366, allocations: 16.38 kB / 393.3 MB, free: 4.004 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.005394, allocations: 16.38 kB / 393.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.005674, allocations: 242.4 kB / 393.6 MB, free: 3.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.005687, allocations: 4.141 kB / 393.6 MB, free: 3.727 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.005703, allocations: 4.375 kB / 393.6 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.00571, allocations: 11.94 kB / 393.6 MB, free: 3.711 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.00591, allocations: 139.8 kB / 393.7 MB, free: 3.574 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006042/0.006515, allocations: 0.6249 MB / 394.3 MB, free: 2.895 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.006682, allocations: 98.44 kB / 394.4 MB, free: 2.789 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.721e-05/0.006749, allocations: 40.95 kB / 394.5 MB, free: 2.746 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.006769, allocations: 8 kB / 394.5 MB, free: 2.738 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.006789, allocations: 34.56 kB / 394.5 MB, free: 2.695 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.00679, allocations: 0 / 394.5 MB, free: 2.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.000285/0.007075, allocations: 149.5 kB / 394.7 MB, free: 2.543 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.007111, allocations: 81.05 kB / 394.7 MB, free: 2.445 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.09e-05/0.007202, allocations: 157.4 kB / 394.9 MB, free: 2.281 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.007212, allocations: 25.7 kB / 394.9 MB, free: 2.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.007274, allocations: 160.1 kB / 395.1 MB, free: 2.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.007289, allocations: 19.86 kB / 395.1 MB, free: 2.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.007322, allocations: 29.7 kB / 395.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.007394, allocations: 322.8 kB / 395.4 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-05/0.00747, allocations: 48.83 kB / 395.5 MB, free: 1.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.007571, allocations: 120.5 kB / 395.6 MB, free: 1.512 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.007729, allocations: 133.9 kB / 395.7 MB, free: 1.359 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007731, allocations: 0 / 395.7 MB, free: 1.359 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001972/0.007928, allocations: 161.4 kB / 395.9 MB, free: 1.195 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.007939, allocations: 11.94 kB / 395.9 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.007944, allocations: 0 / 395.9 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.007955, allocations: 4 kB / 395.9 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.6e-05/0.008051, allocations: 39.84 kB / 395.9 MB, free: 1.141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.008057, allocations: 8.062 kB / 396 MB, free: 1.133 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.592e-05/0.008113, allocations: 28.06 kB / 396 MB, free: 1.105 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.00812, allocations: 4 kB / 396 MB, free: 1.102 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.762e-05/0.008207, allocations: 128.1 kB / 396.1 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.491e-05/0.008282, allocations: 112.5 kB / 396.2 MB, free: 0.832 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001147/0.008397, allocations: 121.9 kB / 396.3 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.81e-07/0.008398, allocations: 0 / 396.3 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0001497/0.008547, allocations: 137.5 kB / 396.5 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.119e-06/0.008552, allocations: 4 kB / 396.5 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-06/0.008554, allocations: 4.188 kB / 396.5 MB, free: 0.543 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-06/0.008557, allocations: 4 kB / 396.5 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/0.008611, allocations: 35.86 kB / 396.5 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.008614, allocations: 3.938 kB / 396.5 MB, free: 0.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.00866, allocations: 15.94 kB / 396.5 MB, free: 496 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.008665, allocations: 8 kB / 396.5 MB, free: 488 kB / 314.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 6.653e-05/0.008731, allocations: 188.1 kB / 396.7 MB, free: 292 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.008748, allocations: 11.95 kB / 396.7 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.008771, allocations: 16.77 kB / 396.8 MB, free: 268 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.008774, allocations: 7.984 kB / 396.8 MB, free: 260 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.008779, allocations: 3.938 kB / 396.8 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.008782, allocations: 0 / 396.8 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.008897, allocations: 149.3 kB / 396.9 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.008897, allocations: 0 / 396.9 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.952e-05/0.008967, allocations: 28.22 kB / 396.9 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.008969, allocations: 4 kB / 396.9 MB, free: 44 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.008977, allocations: 4 kB / 397 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.008978, allocations: 0 / 397 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.008978, allocations: 0 / 397 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.009259, allocations: 259.3 kB / 397.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.009271, allocations: 7.953 kB / 397.2 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.009286, allocations: 7.969 kB / 397.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.454e-05/0.009341, allocations: 15.97 kB / 397.2 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.009371, allocations: 3.938 kB / 397.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.009374, allocations: 64 / 397.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.327e-05/0.009427, allocations: 121.8 kB / 397.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009427, allocations: 0 / 397.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.009654, allocations: 71.73 kB / 397.4 MB, free: 15.55 MB / 330.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 6.762e-05/0.009721, allocations: 95.19 kB / 397.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002505/0.009972, allocations: 152.3 kB / 397.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.009973, allocations: 0 / 397.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.643e-05/0.01004, allocations: 43.91 kB / 397.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.01025, allocations: 19.92 kB / 397.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.01074, allocations: 400.8 kB / 398.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.299e-05/0.0108, allocations: 112.1 kB / 398.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.01083, allocations: 16.5 kB / 398.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01083, allocations: 0 / 398.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of Templates: time 0.002329/0.01316, allocations: 1.88 MB / 400.1 MB, free: 12.79 MB / 330.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=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.169173213653266] Failed to read output from testmodel.py, exit status != 0: 0.01773795112967491 0.174995276 0.019140403 Calling exit ...