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.001717/0.001717, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001951/0.001951, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.0272/0.0272, allocations: 5.297 MB / 314.8 MB, free: 1.641 MB / 238.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.001996/0.001996, allocations: 63.33 kB / 437.5 MB, free: 38.97 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09375/0.09575, allocations: 54.52 MB / 492 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.002938/0.09869, allocations: 2.25 MB / 494.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008445/0.09953, allocations: 0.674 MB / 494.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.09963, allocations: 4 kB / 494.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.09982, allocations: 39.64 kB / 495 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.718e-05/0.0999, allocations: 51.55 kB / 495 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.1001, allocations: 97.81 kB / 495.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.1003, allocations: 207.7 kB / 495.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.1005, allocations: 85.09 kB / 495.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.119e-05/0.1006, allocations: 87.64 kB / 495.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.914e-05/0.1007, allocations: 83.67 kB / 495.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.1007, allocations: 27.94 kB / 495.6 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.465e-05/0.1007, allocations: 24 kB / 495.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.1007, allocations: 35.92 kB / 495.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.1008, allocations: 95.53 kB / 495.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.101, allocations: 211.2 kB / 496 MB, free: 8.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.101, allocations: 4 kB / 496 MB, free: 8.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.101, allocations: 0 / 496 MB, free: 8.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.101, allocations: 0 / 496 MB, free: 8.84 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.0005597/0.1016, allocations: 498.5 kB / 496.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1016, allocations: 8.031 kB / 496.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.151e-05/0.1016, allocations: 4.188 kB / 496.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1017, allocations: 54.73 kB / 496.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.1017, allocations: 20.8 kB / 496.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.1019, allocations: 232.1 kB / 496.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1019, allocations: 8.375 kB / 496.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.102, allocations: 24.38 kB / 496.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.1023, allocations: 219.9 kB / 497 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.1023, allocations: 3.953 kB / 497 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.1024, allocations: 8 kB / 497 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.1024, allocations: 7.984 kB / 497 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.1027, allocations: 139.9 kB / 497.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007636/0.1035, allocations: 0.7618 MB / 497.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.1037, allocations: 94.52 kB / 498 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.1039, allocations: 48.88 kB / 498.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1039, allocations: 0 / 498.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.1039, allocations: 34.56 kB / 498.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.1039, allocations: 4 kB / 498.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000467/0.1044, allocations: 149.4 kB / 498.3 MB, free: 6.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.1044, allocations: 81.11 kB / 498.3 MB, free: 6.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.72e-05/0.1045, allocations: 148.3 kB / 498.5 MB, free: 6.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.1045, allocations: 25.7 kB / 498.5 MB, free: 6.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.1046, allocations: 148.1 kB / 498.6 MB, free: 5.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.1046, allocations: 27.78 kB / 498.7 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.1046, allocations: 29.7 kB / 498.7 MB, free: 5.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.638e-05/0.1047, allocations: 318.8 kB / 499 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.1048, allocations: 52.81 kB / 499.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.105, allocations: 98.77 kB / 499.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.1052, allocations: 129.9 kB / 499.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1052, allocations: 0 / 499.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003287/0.1055, allocations: 173.4 kB / 499.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1056, allocations: 9.969 kB / 499.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.1056, allocations: 4 kB / 499.5 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1056, allocations: 0 / 499.5 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.1057, allocations: 39.97 kB / 499.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1057, allocations: 0 / 499.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.1059, allocations: 28.06 kB / 499.5 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1059, allocations: 4 kB / 499.5 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001304/0.106, allocations: 128.1 kB / 499.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001047/0.1061, allocations: 82.78 kB / 499.8 MB, free: 4.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001794/0.1063, allocations: 113.9 kB / 499.9 MB, free: 4.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.61e-07/0.1063, allocations: 7.938 kB / 499.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002427/0.1065, allocations: 137.4 kB / 0.4883 GB, free: 4.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/0.1065, allocations: 15.92 kB / 0.4883 GB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.1065, allocations: 0 / 0.4883 GB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-06/0.1065, allocations: 4 kB / 0.4883 GB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.274e-05/0.1066, allocations: 23.98 kB / 0.4883 GB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.1066, allocations: 12.33 kB / 0.4883 GB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.242e-05/0.1067, allocations: 19.94 kB / 0.4884 GB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1067, allocations: 4 kB / 0.4884 GB, free: 4.348 MB / 350.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 6.015e-05/0.1068, allocations: 193.9 kB / 0.4885 GB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.1068, allocations: 11.89 kB / 0.4886 GB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.1068, allocations: 12.72 kB / 0.4886 GB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1068, allocations: 0 / 0.4886 GB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1068, allocations: 3.984 kB / 0.4886 GB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1069, allocations: 7.984 kB / 0.4886 GB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.107, allocations: 233.8 kB / 0.4888 GB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.107, allocations: 4 kB / 0.4888 GB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.1072, allocations: 23.98 kB / 0.4888 GB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1072, allocations: 0 / 0.4888 GB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1072, allocations: 0 / 0.4888 GB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.1072, allocations: 3.984 kB / 0.4888 GB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1072, allocations: 4 kB / 0.4888 GB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.1076, allocations: 263.2 kB / 0.4891 GB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.1077, allocations: 85.09 kB / 0.4892 GB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.1077, allocations: 0 / 0.4892 GB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.1078, allocations: 11.98 kB / 0.4892 GB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.1078, allocations: 7.984 kB / 0.4892 GB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1078, allocations: 8.062 kB / 0.4892 GB, free: 3.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.518e-05/0.1079, allocations: 103.3 kB / 0.4893 GB, free: 3.297 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1079, allocations: 0 / 0.4893 GB, free: 3.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003376/0.1082, allocations: 75.73 kB / 0.4894 GB, free: 3.223 MB / 350.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.0005731/0.1088, allocations: 0.7873 MB / 0.4901 GB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004296/0.1092, allocations: 152.5 kB / 0.4903 GB, free: 2.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1092, allocations: 0 / 0.4903 GB, free: 2.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1094, allocations: 39.91 kB / 0.4903 GB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.1097, allocations: 26.17 kB / 0.4903 GB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.1116, allocations: 1.911 MB / 0.4922 GB, free: 180 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.1119, allocations: 0.7201 MB / 0.4929 GB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.737e-05/0.112, allocations: 12.55 kB / 0.4929 GB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/0.1121, allocations: 55.41 kB / 0.493 GB, free: 15.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1121, allocations: 3.938 kB / 0.493 GB, free: 15.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.1323, allocations: 2.955 MB / 0.4959 GB, free: 12.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.714/8.846, allocations: 0 / 0.4959 GB, free: 12.51 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.636644624988548] Failed to read output from testmodel.py, exit status != 0: 8.973156089952681 8.995914034 8.890807174 Calling exit ...