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.00134/0.00134, allocations: 102.6 kB / 16.45 MB, free: 6.449 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.00136/0.00136, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.425/1.425, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.02792/0.02792, allocations: 5.298 MB / 314.1 MB, free: 15.07 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.001963/0.001963, allocations: 71.89 kB / 436.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09831, allocations: 54.51 MB / 491.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.003591/0.1019, allocations: 2.265 MB / 493.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1031, allocations: 0.674 MB / 494.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.927e-05/0.1032, allocations: 4 kB / 494.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.1034, allocations: 39.66 kB / 494.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.1035, allocations: 43.56 kB / 494.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.1037, allocations: 95.89 kB / 494.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000262/0.104, allocations: 211.6 kB / 494.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.1042, allocations: 80.86 kB / 494.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1043, allocations: 87.66 kB / 494.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1044, allocations: 87.61 kB / 494.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.1045, allocations: 24 kB / 494.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.184e-05/0.1045, allocations: 20 kB / 494.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.107e-05/0.1046, allocations: 35.91 kB / 495 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.1047, allocations: 95.55 kB / 495.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.1049, allocations: 227.1 kB / 495.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1049, allocations: 4 kB / 495.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1049, allocations: 0 / 495.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.105, allocations: 0 / 495.3 MB, free: 1.352 MB / 350.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.0007633/0.1057, allocations: 486.6 kB / 495.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1058, allocations: 8.031 kB / 495.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.957e-05/0.1058, allocations: 54.73 kB / 495.8 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.1059, allocations: 20.8 kB / 495.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.1062, allocations: 232.1 kB / 496.1 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.1062, allocations: 12.38 kB / 496.1 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.1063, allocations: 20.36 kB / 496.1 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.1067, allocations: 220.2 kB / 496.3 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.1067, allocations: 11.89 kB / 496.3 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.1067, allocations: 12 kB / 496.3 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1068, allocations: 4 kB / 496.3 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003894/0.1071, allocations: 139.8 kB / 496.5 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.1083, allocations: 0.754 MB / 497.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.1086, allocations: 94.5 kB / 497.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.1087, allocations: 40.95 kB / 497.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1088, allocations: 7.938 kB / 497.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.1088, allocations: 34.56 kB / 497.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1088, allocations: 0 / 497.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005488/0.1093, allocations: 153.4 kB / 497.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.1094, allocations: 85.11 kB / 497.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1096, allocations: 148.6 kB / 497.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1096, allocations: 25.7 kB / 497.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.819e-05/0.1097, allocations: 148 kB / 497.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.1097, allocations: 27.78 kB / 498 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.1098, allocations: 25.72 kB / 498 MB, free: 14.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1099, allocations: 322.8 kB / 498.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.1101, allocations: 53.06 kB / 498.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.1103, allocations: 94.83 kB / 498.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.1106, allocations: 137.9 kB / 498.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1106, allocations: 4 kB / 498.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004011/0.111, allocations: 165.4 kB / 498.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.111, allocations: 4 kB / 498.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.111, allocations: 4 kB / 498.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.111, allocations: 3.984 kB / 498.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.1112, allocations: 40.11 kB / 498.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1112, allocations: 0 / 498.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.1113, allocations: 23.94 kB / 498.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1113, allocations: 4 kB / 498.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001835/0.1115, allocations: 136 kB / 499 MB, free: 13.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001454/0.1117, allocations: 78.84 kB / 499 MB, free: 13.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002422/0.1119, allocations: 117.9 kB / 499.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.1119, allocations: 0 / 499.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0003127/0.1122, allocations: 133.5 kB / 499.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1122, allocations: 11.94 kB / 499.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-06/0.1122, allocations: 4.188 kB / 499.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.598e-06/0.1122, allocations: 4 kB / 499.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1124, allocations: 31.92 kB / 499.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1124, allocations: 8.141 kB / 499.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.1125, allocations: 15.89 kB / 499.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1125, allocations: 4 kB / 499.4 MB, free: 12.88 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.0001261/0.1126, allocations: 192.2 kB / 499.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.1126, allocations: 11.89 kB / 499.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.1127, allocations: 16.72 kB / 499.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1127, allocations: 0 / 499.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1127, allocations: 0 / 499.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1127, allocations: 0 / 499.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.113, allocations: 229.6 kB / 499.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.113, allocations: 11.92 kB / 499.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.1131, allocations: 19.98 kB / 499.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1131, allocations: 0 / 499.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1131, allocations: 0 / 499.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.1131, allocations: 7.984 kB / 499.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1132, allocations: 4 kB / 499.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.1137, allocations: 259.3 kB / 0.4884 GB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.1138, allocations: 93.02 kB / 0.4885 GB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.1138, allocations: 4 kB / 0.4885 GB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.1139, allocations: 16.05 kB / 0.4885 GB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.1139, allocations: 0 / 0.4885 GB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1139, allocations: 4 kB / 0.4885 GB, free: 11.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.024e-05/0.114, allocations: 114.3 kB / 0.4886 GB, free: 11.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.114, allocations: 0 / 0.4886 GB, free: 11.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003812/0.1144, allocations: 79.67 kB / 0.4887 GB, free: 11.75 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.0008215/0.1152, allocations: 0.7795 MB / 0.4894 GB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004851/0.1157, allocations: 152 kB / 0.4896 GB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1157, allocations: 3.938 kB / 0.4896 GB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.1159, allocations: 43.95 kB / 0.4896 GB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.1162, allocations: 24.42 kB / 0.4897 GB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.1188, allocations: 1.909 MB / 0.4915 GB, free: 8.695 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.1191, allocations: 0.7123 MB / 0.4922 GB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.329e-05/0.1192, allocations: 16.55 kB / 0.4922 GB, free: 7.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.098e-05/0.1193, allocations: 43.42 kB / 0.4923 GB, free: 7.902 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1193, allocations: 0 / 0.4923 GB, free: 7.902 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.1455, allocations: 2.93 MB / 0.4951 GB, free: 5.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/7.978, allocations: 11.86 kB / 0.4951 GB, free: 5.031 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.498547613999108] Failed to read output from testmodel.py, exit status != 0: 8.044817737012636 8.060690455 7.952757066 Calling exit ...