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.001369/0.001369, allocations: 79.66 kB / 19.76 MB, free: 2.031 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.001431/0.001431, allocations: 156.5 kB / 23.01 MB, free: 4.941 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.45/1.45, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.02734/0.02734, allocations: 4.092 MB / 263.9 MB, free: 12.63 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.00216/0.00216, allocations: 67.89 kB / 388.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1122, allocations: 54.54 MB / 443.1 MB, free: 8.93 MB / 414.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.004015/0.1162, allocations: 2.178 MB / 445.3 MB, free: 6.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1175, allocations: 0.6312 MB / 445.9 MB, free: 6.098 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.1176, allocations: 7.938 kB / 445.9 MB, free: 6.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.1178, allocations: 43.64 kB / 445.9 MB, free: 6.047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.1179, allocations: 35.64 kB / 446 MB, free: 6.012 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.1182, allocations: 91.83 kB / 446.1 MB, free: 5.922 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.1185, allocations: 211.7 kB / 446.3 MB, free: 5.715 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.1187, allocations: 89.12 kB / 446.4 MB, free: 5.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.1189, allocations: 83.77 kB / 446.4 MB, free: 5.543 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.119, allocations: 71.62 kB / 446.5 MB, free: 5.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.119, allocations: 24 kB / 446.5 MB, free: 5.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.022e-05/0.1191, allocations: 24 kB / 446.6 MB, free: 5.426 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.1191, allocations: 39.8 kB / 446.6 MB, free: 5.387 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.889e-05/0.1192, allocations: 83.64 kB / 446.7 MB, free: 5.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.1195, allocations: 215.2 kB / 446.9 MB, free: 5.094 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1195, allocations: 0 / 446.9 MB, free: 5.094 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1195, allocations: 0 / 446.9 MB, free: 5.094 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1196, allocations: 0 / 446.9 MB, free: 5.094 MB / 414.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.0007601/0.1203, allocations: 409.6 kB / 447.3 MB, free: 4.664 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1204, allocations: 12.03 kB / 447.3 MB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.969e-05/0.1204, allocations: 20.8 kB / 447.3 MB, free: 4.633 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.1208, allocations: 170.2 kB / 447.5 MB, free: 4.441 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.1208, allocations: 16.31 kB / 447.5 MB, free: 4.426 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.492e-05/0.1208, allocations: 20.33 kB / 447.5 MB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.1213, allocations: 254 kB / 447.8 MB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1214, allocations: 0 / 447.8 MB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.1214, allocations: 12 kB / 447.8 MB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1214, allocations: 4 kB / 447.8 MB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.1218, allocations: 135.9 kB / 447.9 MB, free: 3.988 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.1229, allocations: 0.6248 MB / 448.5 MB, free: 3.309 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.1232, allocations: 102.5 kB / 448.6 MB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.1233, allocations: 40.95 kB / 448.7 MB, free: 3.156 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.1234, allocations: 4 kB / 448.7 MB, free: 3.152 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.1234, allocations: 34.55 kB / 448.7 MB, free: 3.109 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1234, allocations: 0 / 448.7 MB, free: 3.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.000557/0.124, allocations: 149.5 kB / 448.9 MB, free: 2.957 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.124, allocations: 81.09 kB / 448.9 MB, free: 2.859 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1242, allocations: 145.1 kB / 449.1 MB, free: 2.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1242, allocations: 29.64 kB / 449.1 MB, free: 2.676 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.1243, allocations: 156.1 kB / 449.3 MB, free: 2.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.1244, allocations: 27.77 kB / 449.3 MB, free: 2.492 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/0.1244, allocations: 25.72 kB / 449.3 MB, free: 2.461 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1246, allocations: 326.8 kB / 449.6 MB, free: 2.133 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.1247, allocations: 56.81 kB / 449.7 MB, free: 2.074 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.125, allocations: 120.5 kB / 449.8 MB, free: 1.926 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.1253, allocations: 129.9 kB / 449.9 MB, free: 1.777 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1253, allocations: 0 / 449.9 MB, free: 1.777 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000424/0.1257, allocations: 169.5 kB / 450.1 MB, free: 1.605 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.1257, allocations: 11.94 kB / 450.1 MB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1257, allocations: 0 / 450.1 MB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.1258, allocations: 4 kB / 450.1 MB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.1259, allocations: 31.98 kB / 450.1 MB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.126, allocations: 15.86 kB / 450.2 MB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.1261, allocations: 11.98 kB / 450.2 MB, free: 1.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.1261, allocations: 4 kB / 450.2 MB, free: 1.527 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001833/0.1263, allocations: 124.1 kB / 450.3 MB, free: 1.402 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001674/0.1264, allocations: 120.4 kB / 450.4 MB, free: 1.258 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002423/0.1267, allocations: 110 kB / 450.5 MB, free: 1.129 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.1267, allocations: 0 / 450.5 MB, free: 1.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0003122/0.127, allocations: 149.4 kB / 450.7 MB, free: 0.9766 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.127, allocations: 8 kB / 450.7 MB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-06/0.127, allocations: 0 / 450.7 MB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-06/0.127, allocations: 7.938 kB / 450.7 MB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1271, allocations: 31.97 kB / 450.7 MB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1271, allocations: 4.125 kB / 450.7 MB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1272, allocations: 23.92 kB / 450.7 MB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1272, allocations: 4 kB / 450.8 MB, free: 0.8984 MB / 414.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.0001271/0.1274, allocations: 184.3 kB / 450.9 MB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.1274, allocations: 11.89 kB / 450.9 MB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.1274, allocations: 12.78 kB / 451 MB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1274, allocations: 0 / 451 MB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1275, allocations: 0 / 451 MB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1275, allocations: 0 / 451 MB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.1277, allocations: 161.5 kB / 451.1 MB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1277, allocations: 4 kB / 451.1 MB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.1278, allocations: 27.92 kB / 451.1 MB, free: 480 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.1278, allocations: 4 kB / 451.1 MB, free: 476 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.1278, allocations: 3.938 kB / 451.2 MB, free: 472 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1278, allocations: 0 / 451.2 MB, free: 472 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1278, allocations: 3.984 kB / 451.2 MB, free: 468 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.1284, allocations: 259.3 kB / 451.4 MB, free: 192 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.1284, allocations: 3.953 kB / 451.4 MB, free: 188 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.1284, allocations: 7.969 kB / 451.4 MB, free: 180 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.1286, allocations: 11.98 kB / 451.4 MB, free: 168 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.1286, allocations: 7.984 kB / 451.4 MB, free: 160 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1286, allocations: 0 / 451.4 MB, free: 160 kB / 414.1 MB Notification: Performance of sorting global known variables: time 9.467e-05/0.1287, allocations: 107.3 kB / 451.5 MB, free: 52 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1287, allocations: 0 / 451.5 MB, free: 52 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.00041/0.1291, allocations: 79.66 kB / 451.6 MB, free: 15.97 MB / 430.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.0001227/0.1292, allocations: 111.2 kB / 451.7 MB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005001/0.1297, allocations: 143.8 kB / 451.9 MB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1298, allocations: 4.75 kB / 451.9 MB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1299, allocations: 47.91 kB / 451.9 MB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.1302, allocations: 19.92 kB / 451.9 MB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008487/0.1311, allocations: 426.8 kB / 452.4 MB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.1312, allocations: 112 kB / 452.5 MB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.016e-05/0.1313, allocations: 8.484 kB / 452.5 MB, free: 15.06 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.1313, allocations: 20.5 kB / 452.5 MB, free: 15.04 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1313, allocations: 0 / 452.5 MB, free: 15.04 MB / 430.1 MB Notification: Performance of Templates: time 0.005246/0.1366, allocations: 1.534 MB / 454 MB, free: 13.53 MB / 430.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 -s ida -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.394478801055811] Failed to read output from testmodel.py, exit status != 0: 0.14642466604709625 0.16133035299999995 0.038597730000000004 Calling exit ...