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.002061/0.002061, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00277/0.00277, allocations: 165.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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.451/1.451, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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.02758/0.02758, allocations: 4.089 MB / 263.3 MB, free: 12.68 MB / 254.1 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.395e-06/2.395e-06, allocations: 0 / 388.1 MB, free: 14.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.958e-05, allocations: 2.281 kB / 388.1 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.003872/0.003901, allocations: 2.175 MB / 390.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.005152, allocations: 0.6349 MB / 390.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.735e-05/0.00525, allocations: 4 kB / 390.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.005454, allocations: 47.56 kB / 390.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.005558, allocations: 43.58 kB / 391 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.005836, allocations: 95.81 kB / 391.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.006102, allocations: 211.6 kB / 391.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.006309, allocations: 86.09 kB / 391.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.006496, allocations: 123.8 kB / 391.5 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.006611, allocations: 63.75 kB / 391.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.006651, allocations: 20 kB / 391.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.801e-05/0.006689, allocations: 24 kB / 391.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.006734, allocations: 43.83 kB / 391.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.287e-05/0.006817, allocations: 67.83 kB / 391.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.00711, allocations: 227.3 kB / 391.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.007113, allocations: 0 / 391.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.007115, allocations: 0 / 391.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.00712, allocations: 3.938 kB / 391.9 MB, free: 10.39 MB / 318.1 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.0007188/0.007838, allocations: 413.5 kB / 392.3 MB, free: 9.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.007872, allocations: 12.03 kB / 392.3 MB, free: 9.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.983e-05/0.007932, allocations: 20.8 kB / 392.4 MB, free: 9.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.008243, allocations: 169.5 kB / 392.5 MB, free: 9.734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.008261, allocations: 12.38 kB / 392.5 MB, free: 9.723 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.037e-05/0.008302, allocations: 20.38 kB / 392.6 MB, free: 9.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.008777, allocations: 238.3 kB / 392.8 MB, free: 9.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.008798, allocations: 12.14 kB / 392.8 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.008819, allocations: 4.375 kB / 392.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.008834, allocations: 7.938 kB / 392.8 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004011/0.009235, allocations: 139.8 kB / 393 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.0103, allocations: 0.6248 MB / 393.6 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.01063, allocations: 98.44 kB / 393.7 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.01079, allocations: 40.95 kB / 393.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.01081, allocations: 0 / 393.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.01084, allocations: 34.56 kB / 393.8 MB, free: 8.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.01084, allocations: 0 / 393.8 MB, free: 8.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005621/0.01141, allocations: 149.5 kB / 393.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.01147, allocations: 81.05 kB / 394 MB, free: 8.168 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.01163, allocations: 160.5 kB / 394.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.01165, allocations: 25.7 kB / 394.2 MB, free: 7.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.01176, allocations: 160.1 kB / 394.3 MB, free: 7.812 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.01179, allocations: 11.86 kB / 394.3 MB, free: 7.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/0.01185, allocations: 33.7 kB / 394.4 MB, free: 7.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.012, allocations: 330.8 kB / 394.7 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.01217, allocations: 48.83 kB / 394.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.01239, allocations: 116.5 kB / 394.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.01273, allocations: 133.9 kB / 395 MB, free: 7.082 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01273, allocations: 7.938 kB / 395 MB, free: 7.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004162/0.01315, allocations: 169.4 kB / 395.1 MB, free: 6.902 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.01317, allocations: 5.562 kB / 395.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.01317, allocations: 4 kB / 395.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.01319, allocations: 4 kB / 395.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.01337, allocations: 39.91 kB / 395.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.01338, allocations: 3.938 kB / 395.2 MB, free: 6.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.0135, allocations: 24.12 kB / 395.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.01352, allocations: 8 kB / 395.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001825/0.0137, allocations: 136.2 kB / 395.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001727/0.01387, allocations: 115.5 kB / 395.5 MB, free: 6.539 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002553/0.01413, allocations: 109.9 kB / 395.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.153e-06/0.01413, allocations: 4.031 kB / 395.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.000316/0.01445, allocations: 137.4 kB / 395.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.01446, allocations: 8 kB / 395.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-06/0.01446, allocations: 0 / 395.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.01446, allocations: 4 kB / 395.7 MB, free: 6.254 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.01458, allocations: 24.17 kB / 395.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.01459, allocations: 15.88 kB / 395.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.01469, allocations: 19.94 kB / 395.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.0147, allocations: 4 kB / 395.8 MB, free: 6.191 MB / 318.1 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 0.0001226/0.01482, allocations: 188.2 kB / 396 MB, free: 6 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.01486, allocations: 7.953 kB / 396 MB, free: 5.992 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.01489, allocations: 16.77 kB / 396 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01489, allocations: 0 / 396 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.0149, allocations: 3.938 kB / 396 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.0149, allocations: 0 / 396 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.01511, allocations: 157.3 kB / 396.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.01511, allocations: 0 / 396.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.01527, allocations: 27.91 kB / 396.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01527, allocations: 0 / 396.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.01528, allocations: 0 / 396.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01528, allocations: 4 kB / 396.2 MB, free: 5.762 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.01528, allocations: 0 / 396.2 MB, free: 5.762 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/0.01584, allocations: 263.3 kB / 396.5 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.01586, allocations: 7.984 kB / 396.5 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.01588, allocations: 3.938 kB / 396.5 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.01602, allocations: 15.97 kB / 396.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.01605, allocations: 7.938 kB / 396.5 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.01606, allocations: 4 kB / 396.5 MB, free: 5.449 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.668e-05/0.01615, allocations: 107.2 kB / 396.6 MB, free: 5.344 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01615, allocations: 4 kB / 396.6 MB, free: 5.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003826/0.01653, allocations: 71.8 kB / 396.7 MB, free: 5.27 MB / 318.1 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 0.000119/0.01665, allocations: 99.19 kB / 396.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004999/0.01715, allocations: 148.8 kB / 396.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01715, allocations: 0 / 396.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.01731, allocations: 48.03 kB / 397 MB, free: 4.969 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.01765, allocations: 39.14 kB / 397 MB, free: 4.934 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007635/0.01841, allocations: 358.8 kB / 397.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.01852, allocations: 112 kB / 397.5 MB, free: 4.426 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.789e-05/0.01858, allocations: 8.5 kB / 397.5 MB, free: 4.418 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.01862, allocations: 12.5 kB / 397.5 MB, free: 4.406 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.01862, allocations: 0 / 397.5 MB, free: 4.406 MB / 318.1 MB Notification: Performance of Templates: time 0.004762/0.02338, allocations: 1.527 MB / 399 MB, free: 2.902 MB / 318.1 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.315889950841665] Failed to read output from testmodel.py, exit status != 0: 0.03206409141421318 0.047063094 0.036824881000000004 Calling exit ...