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.001404/0.001404, 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.002359/0.002359, allocations: 214.3 kB / 22.25 MB, free: 5.078 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.4/1.4, allocations: 230.6 MB / 256 MB, free: 8.016 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.02817/0.02817, allocations: 5.276 MB / 317.7 MB, free: 13.89 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.002149/0.002149, allocations: 67.89 kB / 442 MB, free: 8.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.09395, allocations: 54.55 MB / 496.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.00381/0.09776, allocations: 2.275 MB / 498.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.09901, allocations: 0.6818 MB / 499.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.09918, allocations: 4 kB / 499.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.09942, allocations: 35.66 kB / 499.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.09954, allocations: 51.55 kB / 499.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.09984, allocations: 91.89 kB / 499.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000287/0.1001, allocations: 211.6 kB / 499.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.1003, allocations: 81.2 kB / 500 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1005, allocations: 87.66 kB / 0.4883 GB, free: 14.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.1006, allocations: 91.61 kB / 0.4884 GB, free: 14.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.1006, allocations: 20 kB / 0.4884 GB, free: 14.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.288e-05/0.1007, allocations: 20 kB / 0.4885 GB, free: 14.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/0.1007, allocations: 43.91 kB / 0.4885 GB, free: 14.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.626e-05/0.1008, allocations: 91.55 kB / 0.4886 GB, free: 13.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.1011, allocations: 215.2 kB / 0.4888 GB, free: 13.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1011, allocations: 0 / 0.4888 GB, free: 13.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1011, allocations: 4 kB / 0.4888 GB, free: 13.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1011, allocations: 0 / 0.4888 GB, free: 13.75 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.0007115/0.1018, allocations: 413.5 kB / 0.4892 GB, free: 13.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1019, allocations: 12.03 kB / 0.4892 GB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.544e-05/0.1019, allocations: 50.72 kB / 0.4892 GB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.102, allocations: 32.73 kB / 0.4893 GB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.1023, allocations: 174.2 kB / 0.4894 GB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.1023, allocations: 12.38 kB / 0.4895 GB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.1024, allocations: 20.38 kB / 0.4895 GB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.1028, allocations: 212.2 kB / 0.4897 GB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.1028, allocations: 3.953 kB / 0.4897 GB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.1028, allocations: 8 kB / 0.4897 GB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.1028, allocations: 11.94 kB / 0.4897 GB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/0.1032, allocations: 135.8 kB / 0.4898 GB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.1043, allocations: 0.6981 MB / 0.4905 GB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.1046, allocations: 94.44 kB / 0.4906 GB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.1047, allocations: 40.95 kB / 0.4906 GB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.1047, allocations: 11.94 kB / 0.4906 GB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1048, allocations: 34.56 kB / 0.4907 GB, free: 11.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1048, allocations: 0 / 0.4907 GB, free: 11.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005044/0.1053, allocations: 149.4 kB / 0.4908 GB, free: 11.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.1053, allocations: 77.11 kB / 0.4909 GB, free: 11.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1055, allocations: 152.7 kB / 0.491 GB, free: 11.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.1055, allocations: 29.7 kB / 0.4911 GB, free: 11.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.1056, allocations: 152 kB / 0.4912 GB, free: 11.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.1056, allocations: 23.78 kB / 0.4912 GB, free: 11.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.1057, allocations: 29.72 kB / 0.4913 GB, free: 11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1058, allocations: 318.8 kB / 0.4916 GB, free: 10.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.106, allocations: 48.83 kB / 0.4916 GB, free: 10.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.1061, allocations: 94.83 kB / 0.4917 GB, free: 10.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.1064, allocations: 145.8 kB / 0.4918 GB, free: 10.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1064, allocations: 4 kB / 0.4919 GB, free: 10.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003929/0.1068, allocations: 161.4 kB / 0.492 GB, free: 10.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1069, allocations: 6.969 kB / 0.492 GB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1069, allocations: 4 kB / 0.492 GB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1069, allocations: 0 / 0.492 GB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.1071, allocations: 48.03 kB / 0.4921 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1071, allocations: 0 / 0.4921 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.1072, allocations: 23.88 kB / 0.4921 GB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1072, allocations: 4 kB / 0.4921 GB, free: 10.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001723/0.1074, allocations: 128.2 kB / 0.4922 GB, free: 9.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001391/0.1075, allocations: 89.2 kB / 0.4923 GB, free: 9.859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002226/0.1077, allocations: 117.9 kB / 0.4924 GB, free: 9.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.1077, allocations: 0 / 0.4924 GB, free: 9.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002901/0.108, allocations: 133.5 kB / 0.4925 GB, free: 9.586 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.108, allocations: 11.94 kB / 0.4925 GB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.108, allocations: 0 / 0.4925 GB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.809e-06/0.108, allocations: 8.188 kB / 0.4926 GB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1081, allocations: 31.92 kB / 0.4926 GB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.1081, allocations: 3.984 kB / 0.4926 GB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.1082, allocations: 15.95 kB / 0.4926 GB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.1083, allocations: 4 kB / 0.4926 GB, free: 9.512 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.0001161/0.1084, allocations: 192.2 kB / 0.4928 GB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.1084, allocations: 15.88 kB / 0.4928 GB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.1084, allocations: 12.72 kB / 0.4928 GB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1084, allocations: 4 kB / 0.4928 GB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1085, allocations: 256 / 0.4928 GB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1085, allocations: 3.938 kB / 0.4928 GB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.1087, allocations: 212.6 kB / 0.493 GB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1087, allocations: 3.938 kB / 0.493 GB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.1089, allocations: 23.97 kB / 0.4931 GB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1089, allocations: 0 / 0.4931 GB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1089, allocations: 4 kB / 0.4931 GB, free: 9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1089, allocations: 0 / 0.4931 GB, free: 9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1089, allocations: 0 / 0.4931 GB, free: 9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.1094, allocations: 259.3 kB / 0.4933 GB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.1094, allocations: 15.91 kB / 0.4933 GB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.1094, allocations: 0 / 0.4933 GB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.1095, allocations: 20.05 kB / 0.4933 GB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.1096, allocations: 4 kB / 0.4933 GB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1096, allocations: 0 / 0.4933 GB, free: 8.691 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.03e-05/0.1097, allocations: 111.2 kB / 0.4935 GB, free: 8.582 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1097, allocations: 3.938 kB / 0.4935 GB, free: 8.578 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000372/0.11, allocations: 75.73 kB / 0.4935 GB, free: 8.504 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.0007846/0.1108, allocations: 0.7788 MB / 0.4943 GB, free: 7.699 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004654/0.1113, allocations: 152.1 kB / 0.4944 GB, free: 7.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1113, allocations: 0 / 0.4944 GB, free: 7.551 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.1114, allocations: 43.95 kB / 0.4945 GB, free: 7.508 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.1118, allocations: 19.98 kB / 0.4945 GB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.1143, allocations: 1.905 MB / 0.4964 GB, free: 5.461 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.1146, allocations: 0.7123 MB / 0.4971 GB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.149e-05/0.1147, allocations: 16.48 kB / 0.4971 GB, free: 4.707 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.844e-05/0.1148, allocations: 47.42 kB / 0.4971 GB, free: 4.664 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1148, allocations: 0 / 0.4971 GB, free: 4.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.146, allocations: 3.128 MB / 0.5002 GB, free: 1.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.28, allocations: 6.469 kB / 0.5002 GB, free: 1.672 MB / 366.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_DeltaRobot_DeltaRobot_Tests_ServoMotor_test_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --timeout=50 --tolerance=1e-06 DeltaRobot_DeltaRobot_Tests_ServoMotor_test.fmu > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.692381290951744] Failed to read output from testmodel.py, exit status != 0: 11.388433089014143 11.415188107 11.30927416 Calling exit ...