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.001292/0.001292, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001594/0.001594, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.793 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.02924/0.02924, allocations: 5.289 MB / 317.7 MB, free: 13.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: "" <> 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.002025/0.002025, allocations: 73.3 kB / 441.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1108, allocations: 54.56 MB / 496.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.004008/0.1148, allocations: 2.187 MB / 498.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.1162, allocations: 0.6351 MB / 499.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.1164, allocations: 0 / 499.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.1167, allocations: 39.64 kB / 499.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.1168, allocations: 51.58 kB / 499.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.1172, allocations: 95.83 kB / 499.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.1175, allocations: 203.7 kB / 499.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.1177, allocations: 85.08 kB / 499.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.1179, allocations: 83.72 kB / 499.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.118, allocations: 67.64 kB / 499.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.584e-05/0.1181, allocations: 20 kB / 499.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.02e-05/0.1181, allocations: 20 kB / 499.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.1182, allocations: 51.83 kB / 500 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.513e-05/0.1183, allocations: 83.66 kB / 0.4883 GB, free: 13.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.1186, allocations: 215.2 kB / 0.4885 GB, free: 13.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1186, allocations: 0 / 0.4885 GB, free: 13.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1186, allocations: 3.938 kB / 0.4886 GB, free: 13.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.487e-06/0.1186, allocations: 0 / 0.4886 GB, free: 13.52 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.0007612/0.1193, allocations: 413.5 kB / 0.4889 GB, free: 13.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1194, allocations: 12.03 kB / 0.489 GB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.058e-05/0.1195, allocations: 50.73 kB / 0.489 GB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.1195, allocations: 24.8 kB / 0.489 GB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.1198, allocations: 166.3 kB / 0.4892 GB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.1199, allocations: 12.38 kB / 0.4892 GB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.1199, allocations: 20.38 kB / 0.4892 GB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004834/0.1204, allocations: 245.9 kB / 0.4895 GB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.1204, allocations: 3.953 kB / 0.4895 GB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.1204, allocations: 8 kB / 0.4895 GB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1204, allocations: 4 kB / 0.4895 GB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003957/0.1208, allocations: 139.8 kB / 0.4896 GB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.1219, allocations: 0.6551 MB / 0.4902 GB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.1222, allocations: 106.4 kB / 0.4903 GB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.1224, allocations: 40.95 kB / 0.4904 GB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1224, allocations: 3.938 kB / 0.4904 GB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.1224, allocations: 30.56 kB / 0.4904 GB, free: 11.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1224, allocations: 3.938 kB / 0.4904 GB, free: 11.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.000527/0.1229, allocations: 153.5 kB / 0.4906 GB, free: 11.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.123, allocations: 77.11 kB / 0.4906 GB, free: 11.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.1232, allocations: 152.5 kB / 0.4908 GB, free: 11.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1232, allocations: 29.7 kB / 0.4908 GB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.1233, allocations: 148 kB / 0.491 GB, free: 10.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.1233, allocations: 23.84 kB / 0.491 GB, free: 10.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.1234, allocations: 25.72 kB / 0.491 GB, free: 10.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1236, allocations: 322.8 kB / 0.4913 GB, free: 10.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.1237, allocations: 52.83 kB / 0.4914 GB, free: 10.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.1239, allocations: 128.5 kB / 0.4915 GB, free: 10.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.1243, allocations: 133.9 kB / 0.4916 GB, free: 10.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1243, allocations: 0 / 0.4916 GB, free: 10.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003988/0.1247, allocations: 173.5 kB / 0.4918 GB, free: 9.922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1247, allocations: 6.656 kB / 0.4918 GB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1247, allocations: 4.188 kB / 0.4918 GB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1247, allocations: 7.984 kB / 0.4918 GB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.1249, allocations: 35.98 kB / 0.4918 GB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.1249, allocations: 4 kB / 0.4918 GB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.125, allocations: 23.88 kB / 0.4919 GB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.125, allocations: 4 kB / 0.4919 GB, free: 9.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001717/0.1252, allocations: 124.1 kB / 0.492 GB, free: 9.715 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001718/0.1254, allocations: 119 kB / 0.4921 GB, free: 9.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002296/0.1256, allocations: 109.9 kB / 0.4922 GB, free: 9.441 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.1256, allocations: 4 kB / 0.4922 GB, free: 9.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0003163/0.1259, allocations: 141.4 kB / 0.4923 GB, free: 9.293 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.1259, allocations: 7.938 kB / 0.4923 GB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1259, allocations: 4 kB / 0.4923 GB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-06/0.1259, allocations: 0 / 0.4923 GB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.126, allocations: 27.98 kB / 0.4924 GB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1261, allocations: 7.922 kB / 0.4924 GB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.698e-05/0.1261, allocations: 16.14 kB / 0.4924 GB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1262, allocations: 12 kB / 0.4924 GB, free: 9.219 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.0001294/0.1263, allocations: 192.1 kB / 0.4926 GB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.1263, allocations: 15.89 kB / 0.4926 GB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.1264, allocations: 8.719 kB / 0.4926 GB, free: 9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1264, allocations: 0 / 0.4926 GB, free: 9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1264, allocations: 4 kB / 0.4926 GB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1264, allocations: 3.938 kB / 0.4926 GB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.1266, allocations: 192.7 kB / 0.4928 GB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1266, allocations: 3.938 kB / 0.4928 GB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.1268, allocations: 27.98 kB / 0.4928 GB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1268, allocations: 0 / 0.4928 GB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1268, allocations: 0 / 0.4928 GB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1268, allocations: 0 / 0.4928 GB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1268, allocations: 0 / 0.4928 GB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005676/0.1274, allocations: 263.3 kB / 0.4931 GB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.1274, allocations: 15.98 kB / 0.4931 GB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.1274, allocations: 0 / 0.4931 GB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.1275, allocations: 16.05 kB / 0.4931 GB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.1276, allocations: 7.984 kB / 0.4931 GB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.1276, allocations: 4 kB / 0.4931 GB, free: 8.414 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.765e-05/0.1277, allocations: 107.3 kB / 0.4932 GB, free: 8.309 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1277, allocations: 0 / 0.4932 GB, free: 8.309 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003784/0.128, allocations: 75.73 kB / 0.4933 GB, free: 8.234 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.0008616/0.1289, allocations: 0.7903 MB / 0.4941 GB, free: 7.418 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000493/0.1294, allocations: 148.5 kB / 0.4942 GB, free: 7.273 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1294, allocations: 0 / 0.4942 GB, free: 7.273 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.1296, allocations: 43.91 kB / 0.4943 GB, free: 7.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.1299, allocations: 24.44 kB / 0.4943 GB, free: 7.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.1325, allocations: 1.899 MB / 0.4961 GB, free: 5.191 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.1326, allocations: 107.9 kB / 0.4962 GB, free: 5.066 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.005e-05/0.1327, allocations: 16.48 kB / 0.4963 GB, free: 5.051 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.499e-05/0.1328, allocations: 47.36 kB / 0.4963 GB, free: 5.004 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1328, allocations: 0 / 0.4963 GB, free: 5.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03337/0.1662, allocations: 3.588 MB / 0.4998 GB, free: 1.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.53, allocations: 4.062 kB / 0.4998 GB, free: 1.559 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.079656239133328] Failed to read output from testmodel.py, exit status != 0: 11.638702371157706 11.658134209 11.536216073 Calling exit ...