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.001791/0.001791, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002381/0.002381, allocations: 216 kB / 22.25 MB, free: 5.082 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.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.02696/0.02696, allocations: 5.276 MB / 317.7 MB, free: 13.95 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: "" <> buildModelFMU(DeltaRobot.Tests.ServoMotor_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_ServoMotor_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DeltaRobot.Tests.ServoMotor_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_ServoMotor_test",fmuType="me",version="2.0",platforms={"static"}) [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.00194/0.00194, allocations: 63.91 kB / 442 MB, free: 8.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08872/0.09066, allocations: 54.56 MB / 496.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.003558/0.09422, allocations: 2.275 MB / 498.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.09538, allocations: 0.6817 MB / 499.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.523e-05/0.09547, allocations: 4 kB / 499.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.09569, allocations: 39.64 kB / 499.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.848e-05/0.09578, allocations: 39.64 kB / 499.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.09605, allocations: 91.83 kB / 499.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000262/0.09631, allocations: 219.6 kB / 499.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.09652, allocations: 81.2 kB / 500 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.09664, allocations: 87.7 kB / 0.4883 GB, free: 14.31 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.09677, allocations: 87.62 kB / 0.4884 GB, free: 14.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.0968, allocations: 20 kB / 0.4884 GB, free: 14.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.213e-05/0.09684, allocations: 20 kB / 0.4885 GB, free: 14.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.238e-05/0.09688, allocations: 39.86 kB / 0.4885 GB, free: 14.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.09699, allocations: 99.52 kB / 0.4886 GB, free: 14.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.09727, allocations: 215.2 kB / 0.4888 GB, free: 13.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.09728, allocations: 0 / 0.4888 GB, free: 13.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.09728, allocations: 4 kB / 0.4888 GB, free: 13.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.09728, allocations: 0 / 0.4888 GB, free: 13.84 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.0006962/0.09798, allocations: 413.5 kB / 0.4892 GB, free: 13.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.09802, allocations: 8.031 kB / 0.4892 GB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.971e-05/0.09808, allocations: 58.67 kB / 0.4893 GB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.09813, allocations: 20.8 kB / 0.4893 GB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.09844, allocations: 174.2 kB / 0.4894 GB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.09846, allocations: 12.38 kB / 0.4895 GB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.0985, allocations: 20.38 kB / 0.4895 GB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.09893, allocations: 216.2 kB / 0.4897 GB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.09895, allocations: 3.953 kB / 0.4897 GB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.09897, allocations: 4 kB / 0.4897 GB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.09897, allocations: 4 kB / 0.4897 GB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003722/0.09935, allocations: 147.8 kB / 0.4898 GB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.1004, allocations: 0.6903 MB / 0.4905 GB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.1007, allocations: 102.4 kB / 0.4906 GB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.1008, allocations: 36.95 kB / 0.4906 GB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1008, allocations: 7.875 kB / 0.4906 GB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.1009, allocations: 38.56 kB / 0.4907 GB, free: 11.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.1009, allocations: 4 kB / 0.4907 GB, free: 11.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004959/0.1014, allocations: 149.4 kB / 0.4908 GB, free: 11.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.1014, allocations: 81.11 kB / 0.4909 GB, free: 11.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1015, allocations: 144.6 kB / 0.491 GB, free: 11.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.1016, allocations: 33.7 kB / 0.4911 GB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.829e-05/0.1017, allocations: 156 kB / 0.4912 GB, free: 11.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.1017, allocations: 23.8 kB / 0.4912 GB, free: 11.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.1017, allocations: 29.7 kB / 0.4913 GB, free: 11.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1019, allocations: 322.8 kB / 0.4916 GB, free: 10.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.102, allocations: 48.83 kB / 0.4916 GB, free: 10.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.1022, allocations: 90.83 kB / 0.4917 GB, free: 10.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.1025, allocations: 141.9 kB / 0.4919 GB, free: 10.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1025, allocations: 0 / 0.4919 GB, free: 10.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000372/0.1029, allocations: 169.4 kB / 0.492 GB, free: 10.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1029, allocations: 4 kB / 0.492 GB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.1029, allocations: 0 / 0.492 GB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1029, allocations: 4 kB / 0.492 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.1031, allocations: 36.09 kB / 0.4921 GB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1031, allocations: 8 kB / 0.4921 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.1032, allocations: 27.86 kB / 0.4921 GB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1032, allocations: 4 kB / 0.4921 GB, free: 10.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001591/0.1034, allocations: 124.1 kB / 0.4922 GB, free: 10.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001456/0.1035, allocations: 89.09 kB / 0.4923 GB, free: 9.945 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002181/0.1037, allocations: 117.9 kB / 0.4924 GB, free: 9.809 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.1037, allocations: 0 / 0.4924 GB, free: 9.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002948/0.104, allocations: 141.5 kB / 0.4925 GB, free: 9.664 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.104, allocations: 7.938 kB / 0.4926 GB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.104, allocations: 4 kB / 0.4926 GB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.683e-06/0.1041, allocations: 4.188 kB / 0.4926 GB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1042, allocations: 31.92 kB / 0.4926 GB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1042, allocations: 4 kB / 0.4926 GB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.1043, allocations: 20.19 kB / 0.4926 GB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.1043, allocations: 8 kB / 0.4926 GB, free: 9.586 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 0.000116/0.1044, allocations: 192.1 kB / 0.4928 GB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.1044, allocations: 15.83 kB / 0.4928 GB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.1045, allocations: 12.7 kB / 0.4928 GB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1045, allocations: 8 kB / 0.4928 GB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1045, allocations: 0 / 0.4928 GB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1045, allocations: 0 / 0.4928 GB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.1047, allocations: 200.6 kB / 0.493 GB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.1047, allocations: 3.938 kB / 0.493 GB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.1049, allocations: 27.97 kB / 0.4931 GB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1049, allocations: 0 / 0.4931 GB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.1049, allocations: 3.938 kB / 0.4931 GB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1049, allocations: 0 / 0.4931 GB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1049, allocations: 0 / 0.4931 GB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004841/0.1054, allocations: 263.3 kB / 0.4933 GB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.1054, allocations: 11.92 kB / 0.4933 GB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.1054, allocations: 0 / 0.4933 GB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.1055, allocations: 20.05 kB / 0.4933 GB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.1056, allocations: 3.984 kB / 0.4933 GB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1056, allocations: 4 kB / 0.4934 GB, free: 8.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.26e-05/0.1056, allocations: 111.2 kB / 0.4935 GB, free: 8.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1056, allocations: 0 / 0.4935 GB, free: 8.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.106, allocations: 75.73 kB / 0.4935 GB, free: 8.586 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 0.0007528/0.1068, allocations: 0.7749 MB / 0.4943 GB, free: 7.785 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004244/0.1072, allocations: 152.1 kB / 0.4944 GB, free: 7.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1072, allocations: 0 / 0.4944 GB, free: 7.637 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.1073, allocations: 39.97 kB / 0.4945 GB, free: 7.598 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.1076, allocations: 28.17 kB / 0.4945 GB, free: 7.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.1101, allocations: 1.904 MB / 0.4964 GB, free: 5.543 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.1105, allocations: 0.724 MB / 0.4971 GB, free: 4.793 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.044e-05/0.1106, allocations: 16.48 kB / 0.4971 GB, free: 4.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.852e-05/0.1107, allocations: 43.42 kB / 0.4971 GB, free: 4.738 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1107, allocations: 0 / 0.4971 GB, free: 4.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.1387, allocations: 3.113 MB / 0.5002 GB, free: 1.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10/10.14, allocations: 9.688 kB / 0.5002 GB, free: 1.762 MB / 366.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file DeltaRobot_DeltaRobot.Tests.ServoMotor_test_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 DeltaRobot_DeltaRobot_Tests_ServoMotor_test.fmu > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.661776719996851] Failed to read output from testmodel.py, exit status != 0: 10.242792427001405 10.269048722 10.167201133 Calling exit ...