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.001443/0.001443, allocations: 75.25 kB / 19.16 MB, free: 2.566 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.001634/0.001634, allocations: 167.9 kB / 22.44 MB, free: 5.309 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.435/1.435, allocations: 177.2 MB / 202.8 MB, free: 9.203 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.02776/0.02776, allocations: 4.08 MB / 263.3 MB, free: 12.71 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: DeltaRobot requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 68.19 kB / 388.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1073, allocations: 54.53 MB / 442.7 MB, free: 7.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.004141/0.1114, allocations: 2.19 MB / 444.9 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1128, allocations: 0.6233 MB / 445.5 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.1129, allocations: 4 kB / 445.5 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.1131, allocations: 43.59 kB / 445.6 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.1132, allocations: 51.55 kB / 445.6 MB, free: 4.723 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.1135, allocations: 91.84 kB / 445.7 MB, free: 4.633 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.1138, allocations: 207.7 kB / 445.9 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.114, allocations: 77.14 kB / 446 MB, free: 4.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.1142, allocations: 131.7 kB / 446.1 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1143, allocations: 71.67 kB / 446.2 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.282e-05/0.1143, allocations: 20 kB / 446.2 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.189e-05/0.1144, allocations: 23.94 kB / 446.2 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.753e-05/0.1144, allocations: 39.92 kB / 446.3 MB, free: 4.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.541e-05/0.1145, allocations: 79.66 kB / 446.4 MB, free: 3.992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.1148, allocations: 239.1 kB / 446.6 MB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1148, allocations: 3.938 kB / 446.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1148, allocations: 0 / 446.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1148, allocations: 0 / 446.6 MB, free: 3.754 MB / 366.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.0007248/0.1156, allocations: 409.5 kB / 447 MB, free: 3.324 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1156, allocations: 15.97 kB / 447 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.267e-05/0.1157, allocations: 24.8 kB / 447 MB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.116, allocations: 181.5 kB / 447.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.116, allocations: 8.375 kB / 447.2 MB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.1161, allocations: 20.38 kB / 447.2 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004799/0.1166, allocations: 250 kB / 447.5 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.1166, allocations: 3.953 kB / 447.5 MB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.1166, allocations: 4 kB / 447.5 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.1166, allocations: 4 kB / 447.5 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.117, allocations: 143.8 kB / 447.6 MB, free: 2.641 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.118, allocations: 0.6171 MB / 448.3 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.1183, allocations: 90.52 kB / 448.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.1185, allocations: 48.89 kB / 448.4 MB, free: 1.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1185, allocations: 4 kB / 448.4 MB, free: 1.816 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.1185, allocations: 34.55 kB / 448.4 MB, free: 1.773 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1185, allocations: 0 / 448.4 MB, free: 1.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.000516/0.119, allocations: 153.4 kB / 448.6 MB, free: 1.617 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.1191, allocations: 85.09 kB / 448.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1193, allocations: 149 kB / 448.8 MB, free: 1.363 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.1193, allocations: 25.7 kB / 448.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1194, allocations: 152.1 kB / 449 MB, free: 1.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.1194, allocations: 23.84 kB / 449 MB, free: 1.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.1195, allocations: 25.72 kB / 449 MB, free: 1.125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1196, allocations: 322.8 kB / 449.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.1198, allocations: 48.81 kB / 449.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.12, allocations: 132.5 kB / 449.5 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.1203, allocations: 129.9 kB / 449.6 MB, free: 452 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1203, allocations: 4.031 kB / 449.6 MB, free: 448 kB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003698/0.1207, allocations: 157.4 kB / 449.8 MB, free: 284 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1207, allocations: 11.94 kB / 449.8 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1207, allocations: 3.938 kB / 449.8 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1207, allocations: 8.125 kB / 449.8 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.1209, allocations: 31.98 kB / 449.9 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.1209, allocations: 4 kB / 449.9 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.121, allocations: 27.86 kB / 449.9 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.121, allocations: 4 kB / 449.9 MB, free: 192 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001688/0.1212, allocations: 124.1 kB / 450 MB, free: 64 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.1761/0.2973, allocations: 106 kB / 450.1 MB, free: 19.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002385/0.2975, allocations: 118.5 kB / 450.2 MB, free: 19.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.2975, allocations: 1.188 kB / 450.2 MB, free: 19.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0003034/0.2978, allocations: 143.4 kB / 450.4 MB, free: 19.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.2978, allocations: 5.594 kB / 450.4 MB, free: 19.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2978, allocations: 2.5 kB / 450.4 MB, free: 19.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.094e-06/0.2978, allocations: 8.938 kB / 450.4 MB, free: 19.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.2979, allocations: 30.5 kB / 450.4 MB, free: 19.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.298, allocations: 2.859 kB / 450.4 MB, free: 19.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.2981, allocations: 16.23 kB / 450.4 MB, free: 19.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.2981, allocations: 3.438 kB / 450.4 MB, free: 19.73 MB / 366.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 6.921e-05/0.2982, allocations: 190.2 kB / 450.6 MB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.2982, allocations: 14.14 kB / 450.6 MB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.2982, allocations: 14.12 kB / 450.7 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2982, allocations: 4.812 kB / 450.7 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2982, allocations: 1.031 kB / 450.7 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2982, allocations: 5.125 kB / 450.7 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.2984, allocations: 154.8 kB / 450.8 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2984, allocations: 0 / 450.8 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.2986, allocations: 22.7 kB / 450.8 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.2986, allocations: 1 kB / 450.8 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.2986, allocations: 5.359 kB / 450.8 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2986, allocations: 0 / 450.8 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2986, allocations: 2.656 kB / 450.8 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004423/0.299, allocations: 264.1 kB / 451.1 MB, free: 19.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.851e-05/0.299, allocations: 9.312 kB / 451.1 MB, free: 19.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.2991, allocations: 1.781 kB / 451.1 MB, free: 19.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.2992, allocations: 10.69 kB / 451.1 MB, free: 19.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.2992, allocations: 8.672 kB / 451.1 MB, free: 19.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.2992, allocations: 4.641 kB / 451.1 MB, free: 19.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.306e-05/0.2993, allocations: 111.5 kB / 451.3 MB, free: 19.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2993, allocations: 2.312 kB / 451.3 MB, free: 19.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003744/0.2997, allocations: 79.42 kB / 451.3 MB, free: 19.19 MB / 366.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 7.247e-05/0.2997, allocations: 101.5 kB / 451.4 MB, free: 19.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004456/0.3002, allocations: 149.7 kB / 451.6 MB, free: 19.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3002, allocations: 3.812 kB / 451.6 MB, free: 19.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.3003, allocations: 37.56 kB / 451.6 MB, free: 19.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.3006, allocations: 25.44 kB / 451.6 MB, free: 19.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006988/0.3013, allocations: 427.1 kB / 452.1 MB, free: 18.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.666e-05/0.3014, allocations: 109.5 kB / 452.2 MB, free: 18.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.787e-05/0.3015, allocations: 10.02 kB / 452.2 MB, free: 18.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.3015, allocations: 13.59 kB / 452.2 MB, free: 18.77 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3015, allocations: 1.531 kB / 452.2 MB, free: 18.77 MB / 366.1 MB Notification: Performance of Templates: time 0.00472/0.3062, allocations: 1.558 MB / 453.7 MB, free: 18.6 MB / 366.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.46776757016778] Failed to read output from testmodel.py, exit status != 0: 0.3144904524087906 0.32661872999999997 0.20900161199999995 Calling exit ...