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.001563/0.001563, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001468/0.001468, allocations: 216.8 kB / 23.04 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.02791/0.02791, allocations: 5.287 MB / 318.5 MB, free: 13.91 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DeltaRobot.Tests.ServoMotor_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_ServoMotor_test",fmuType="cs",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.001866/0.001866, allocations: 68.19 kB / 442.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1129, allocations: 54.56 MB / 497.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.004543/0.1174, allocations: 2.272 MB / 499.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1187, allocations: 0.674 MB / 0.4885 GB, free: 14.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.1188, allocations: 11.94 kB / 0.4886 GB, free: 14.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.1191, allocations: 35.7 kB / 0.4886 GB, free: 14.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.1192, allocations: 51.55 kB / 0.4886 GB, free: 14.72 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.1195, allocations: 87.84 kB / 0.4887 GB, free: 14.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.1198, allocations: 211.7 kB / 0.4889 GB, free: 14.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.12, allocations: 85.14 kB / 0.489 GB, free: 14.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.1202, allocations: 79.78 kB / 0.4891 GB, free: 14.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1203, allocations: 91.61 kB / 0.4892 GB, free: 14.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.1203, allocations: 24 kB / 0.4892 GB, free: 14.15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.348e-05/0.1204, allocations: 20 kB / 0.4892 GB, free: 14.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.136e-05/0.1204, allocations: 39.86 kB / 0.4893 GB, free: 14.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.841e-05/0.1205, allocations: 95.53 kB / 0.4893 GB, free: 14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.1208, allocations: 223.1 kB / 0.4896 GB, free: 13.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1208, allocations: 0 / 0.4896 GB, free: 13.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1208, allocations: 0 / 0.4896 GB, free: 13.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1208, allocations: 0 / 0.4896 GB, free: 13.78 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.0007264/0.1215, allocations: 413.5 kB / 0.49 GB, free: 13.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.1216, allocations: 12.03 kB / 0.49 GB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.272e-05/0.1216, allocations: 4.188 kB / 0.49 GB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.089e-05/0.1217, allocations: 50.73 kB / 0.49 GB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.1217, allocations: 32.78 kB / 0.49 GB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.122, allocations: 166.2 kB / 0.4902 GB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.1221, allocations: 12.38 kB / 0.4902 GB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.1221, allocations: 20.38 kB / 0.4902 GB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.1225, allocations: 231.9 kB / 0.4905 GB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.1226, allocations: 3.953 kB / 0.4905 GB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.1226, allocations: 8 kB / 0.4905 GB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1226, allocations: 8 kB / 0.4905 GB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.123, allocations: 139.8 kB / 0.4906 GB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.124, allocations: 0.6903 MB / 0.4913 GB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.1243, allocations: 102.4 kB / 0.4914 GB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.1245, allocations: 40.89 kB / 0.4914 GB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.1245, allocations: 0 / 0.4914 GB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.1245, allocations: 38.56 kB / 0.4915 GB, free: 11.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.1245, allocations: 0 / 0.4915 GB, free: 11.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005109/0.125, allocations: 145.5 kB / 0.4916 GB, free: 11.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.1251, allocations: 81.11 kB / 0.4917 GB, free: 11.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1252, allocations: 148.9 kB / 0.4918 GB, free: 11.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1253, allocations: 29.7 kB / 0.4918 GB, free: 11.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1254, allocations: 152 kB / 0.492 GB, free: 11.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.1254, allocations: 23.8 kB / 0.492 GB, free: 11.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.1254, allocations: 33.64 kB / 0.492 GB, free: 11.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1256, allocations: 322.8 kB / 0.4924 GB, free: 10.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.1257, allocations: 44.83 kB / 0.4924 GB, free: 10.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.1259, allocations: 98.83 kB / 0.4925 GB, free: 10.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.1262, allocations: 137.9 kB / 0.4926 GB, free: 10.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1262, allocations: 0 / 0.4926 GB, free: 10.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003804/0.1266, allocations: 173.3 kB / 0.4928 GB, free: 10.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1266, allocations: 4 kB / 0.4928 GB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1266, allocations: 4 kB / 0.4928 GB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1266, allocations: 0 / 0.4928 GB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.1268, allocations: 35.97 kB / 0.4928 GB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.1268, allocations: 3.938 kB / 0.4928 GB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.1269, allocations: 24.03 kB / 0.4929 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.127, allocations: 12.25 kB / 0.4929 GB, free: 10.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001649/0.1271, allocations: 124.1 kB / 0.493 GB, free: 9.988 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001463/0.1273, allocations: 81.47 kB / 0.4931 GB, free: 9.887 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002283/0.1275, allocations: 117.9 kB / 0.4932 GB, free: 9.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.31e-07/0.1275, allocations: 3.938 kB / 0.4932 GB, free: 9.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.000296/0.1278, allocations: 141.6 kB / 0.4933 GB, free: 9.602 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.1278, allocations: 8 kB / 0.4933 GB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.1278, allocations: 3.984 kB / 0.4933 GB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-06/0.1278, allocations: 7.938 kB / 0.4933 GB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1279, allocations: 23.98 kB / 0.4934 GB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1279, allocations: 7.938 kB / 0.4934 GB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.876e-05/0.128, allocations: 24.12 kB / 0.4934 GB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.128, allocations: 7.938 kB / 0.4934 GB, free: 9.52 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.0001147/0.1281, allocations: 184.3 kB / 0.4936 GB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.1282, allocations: 11.89 kB / 0.4936 GB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.1282, allocations: 16.7 kB / 0.4936 GB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1282, allocations: 0 / 0.4936 GB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1282, allocations: 0 / 0.4936 GB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1282, allocations: 3.984 kB / 0.4936 GB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.1285, allocations: 216.5 kB / 0.4938 GB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1285, allocations: 0 / 0.4938 GB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.1286, allocations: 27.91 kB / 0.4938 GB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1286, allocations: 0 / 0.4938 GB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1286, allocations: 0 / 0.4938 GB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.1286, allocations: 4 kB / 0.4938 GB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1286, allocations: 0 / 0.4938 GB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005458/0.1292, allocations: 259.3 kB / 0.4941 GB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.1292, allocations: 7.984 kB / 0.4941 GB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.1292, allocations: 4 kB / 0.4941 GB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.1294, allocations: 15.97 kB / 0.4941 GB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.1294, allocations: 0 / 0.4941 GB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.1294, allocations: 4 kB / 0.4941 GB, free: 8.715 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.737e-05/0.1295, allocations: 115.3 kB / 0.4942 GB, free: 8.602 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1295, allocations: 0 / 0.4942 GB, free: 8.602 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003759/0.1299, allocations: 75.73 kB / 0.4943 GB, free: 8.527 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.0008382/0.1307, allocations: 0.7827 MB / 0.4951 GB, free: 7.719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004843/0.1312, allocations: 152.3 kB / 0.4952 GB, free: 7.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1312, allocations: 4.188 kB / 0.4952 GB, free: 7.566 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.1313, allocations: 43.95 kB / 0.4953 GB, free: 7.523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.1317, allocations: 15.98 kB / 0.4953 GB, free: 7.508 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.1343, allocations: 1.914 MB / 0.4971 GB, free: 5.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.1346, allocations: 0.72 MB / 0.4978 GB, free: 4.727 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.598e-05/0.1347, allocations: 20.47 kB / 0.4979 GB, free: 4.707 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.909e-05/0.1348, allocations: 43.42 kB / 0.4979 GB, free: 4.668 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1348, allocations: 4 kB / 0.4979 GB, free: 4.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.1583, allocations: 3.141 MB / 0.501 GB, free: 1.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.61, allocations: 4.062 kB / 0.501 GB, free: 1.672 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.205761058954522] Failed to read output from testmodel.py, exit status != 0: 11.78041856305208 11.806748202 11.682782502 Calling exit ...