Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.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.001447/0.001447, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001669/0.001669, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.344/1.344, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03173/0.03173, allocations: 6.587 MB / 319.8 MB, free: 12.47 MB / 254.1 MB " [Timeout remaining time 180] Using package StewartPlatform with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 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(StewartPlatform.Tests.ServoMotor_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ServoMotor_test",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.ServoMotor_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ServoMotor_test",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: StewartPlatform 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.00183/0.00183, allocations: 71.89 kB / 444.6 MB, free: 4.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09109/0.09292, allocations: 54.85 MB / 499.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003537/0.09645, allocations: 2.408 MB / 0.4901 GB, free: 11.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.09758, allocations: 0.6584 MB / 0.4907 GB, free: 10.94 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.09768, allocations: 15.88 kB / 0.4908 GB, free: 10.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.0979, allocations: 43.58 kB / 0.4908 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.09801, allocations: 59.48 kB / 0.4909 GB, free: 10.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.09828, allocations: 102.4 kB / 0.4909 GB, free: 10.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.09855, allocations: 243.5 kB / 0.4912 GB, free: 10.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.09876, allocations: 100.6 kB / 0.4913 GB, free: 10.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.09888, allocations: 103.6 kB / 0.4914 GB, free: 10.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.09901, allocations: 103.5 kB / 0.4915 GB, free: 10.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.09905, allocations: 28 kB / 0.4915 GB, free: 10.15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.771e-05/0.09909, allocations: 27.94 kB / 0.4915 GB, free: 10.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.09914, allocations: 47.84 kB / 0.4916 GB, free: 10.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.824e-05/0.09923, allocations: 99.58 kB / 0.4917 GB, free: 9.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.09953, allocations: 251 kB / 0.4919 GB, free: 9.734 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.09953, allocations: 0 / 0.4919 GB, free: 9.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.09954, allocations: 0 / 0.4919 GB, free: 9.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.09954, allocations: 0 / 0.4919 GB, free: 9.734 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006948/0.1002, allocations: 469.6 kB / 0.4924 GB, free: 9.246 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1003, allocations: 8.031 kB / 0.4924 GB, free: 9.238 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.691e-05/0.1003, allocations: 8.625 kB / 0.4924 GB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.519e-05/0.1003, allocations: 54.72 kB / 0.4924 GB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.1004, allocations: 28.75 kB / 0.4925 GB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.1007, allocations: 182.2 kB / 0.4926 GB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.1007, allocations: 16.81 kB / 0.4926 GB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.1008, allocations: 20.38 kB / 0.4927 GB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004754/0.1012, allocations: 280.3 kB / 0.4929 GB, free: 8.609 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1012, allocations: 4 kB / 0.4929 GB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.1013, allocations: 11.94 kB / 0.4929 GB, free: 8.594 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1013, allocations: 4 kB / 0.4929 GB, free: 8.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/0.1017, allocations: 157.6 kB / 0.4931 GB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.1027, allocations: 0.7193 MB / 0.4938 GB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.103, allocations: 102.5 kB / 0.4939 GB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.1031, allocations: 48.81 kB / 0.4939 GB, free: 7.492 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.1032, allocations: 4 kB / 0.4939 GB, free: 7.488 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.1032, allocations: 34.56 kB / 0.494 GB, free: 7.445 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.1032, allocations: 0 / 0.494 GB, free: 7.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000499/0.1037, allocations: 185.6 kB / 0.4942 GB, free: 7.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.1037, allocations: 77.11 kB / 0.4942 GB, free: 7.164 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1039, allocations: 162.6 kB / 0.4944 GB, free: 6.992 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1039, allocations: 25.7 kB / 0.4944 GB, free: 6.961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.104, allocations: 176 kB / 0.4946 GB, free: 6.785 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.104, allocations: 36.06 kB / 0.4946 GB, free: 6.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.1041, allocations: 29.7 kB / 0.4946 GB, free: 6.715 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1042, allocations: 326.8 kB / 0.495 GB, free: 6.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.1044, allocations: 56.77 kB / 0.495 GB, free: 6.328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.1046, allocations: 136.5 kB / 0.4951 GB, free: 6.164 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.1049, allocations: 153.9 kB / 0.4953 GB, free: 5.992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1049, allocations: 0 / 0.4953 GB, free: 5.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003853/0.1053, allocations: 189.4 kB / 0.4955 GB, free: 5.801 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1053, allocations: 4 kB / 0.4955 GB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1053, allocations: 4 kB / 0.4955 GB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1053, allocations: 3.938 kB / 0.4955 GB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.1055, allocations: 39.97 kB / 0.4955 GB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.1055, allocations: 8.172 kB / 0.4955 GB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.1056, allocations: 27.88 kB / 0.4955 GB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.1056, allocations: 4 kB / 0.4956 GB, free: 5.711 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001688/0.1058, allocations: 144 kB / 0.4957 GB, free: 5.566 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001613/0.1059, allocations: 120.5 kB / 0.4958 GB, free: 5.418 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000216/0.1062, allocations: 129.9 kB / 0.4959 GB, free: 5.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.1062, allocations: 0 / 0.4959 GB, free: 5.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002937/0.1064, allocations: 173.5 kB / 0.4961 GB, free: 5.094 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/0.1065, allocations: 4 kB / 0.4961 GB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.1065, allocations: 4 kB / 0.4961 GB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-06/0.1065, allocations: 0 / 0.4961 GB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.1066, allocations: 39.91 kB / 0.4961 GB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1066, allocations: 4 kB / 0.4961 GB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.784e-05/0.1067, allocations: 15.92 kB / 0.4962 GB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1067, allocations: 8 kB / 0.4962 GB, free: 5.02 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 (16): * Single equations (assignments): 16 * 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.0001079/0.1068, allocations: 192.1 kB / 0.4963 GB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.1068, allocations: 15.97 kB / 0.4964 GB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.1069, allocations: 13.41 kB / 0.4964 GB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1069, allocations: 4 kB / 0.4964 GB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1069, allocations: 0 / 0.4964 GB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1069, allocations: 3.984 kB / 0.4964 GB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.1071, allocations: 216.6 kB / 0.4966 GB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1071, allocations: 0 / 0.4966 GB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.1073, allocations: 27.98 kB / 0.4966 GB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1073, allocations: 4 kB / 0.4966 GB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1073, allocations: 3.984 kB / 0.4966 GB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1073, allocations: 4 kB / 0.4966 GB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1073, allocations: 0 / 0.4966 GB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005016/0.1078, allocations: 287.3 kB / 0.4969 GB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/0.1078, allocations: 15.84 kB / 0.4969 GB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.1079, allocations: 7.984 kB / 0.4969 GB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.108, allocations: 20.05 kB / 0.4969 GB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.108, allocations: 3.984 kB / 0.4969 GB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.108, allocations: 8 kB / 0.497 GB, free: 4.145 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.56e-05/0.1081, allocations: 123.9 kB / 0.4971 GB, free: 4.023 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1081, allocations: 0 / 0.4971 GB, free: 4.023 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003665/0.1085, allocations: 87.73 kB / 0.4972 GB, free: 3.938 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 (9): * Single equations (assignments): 9 * 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.0007703/0.1093, allocations: 0.8256 MB / 0.498 GB, free: 3.082 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004511/0.1097, allocations: 168.4 kB / 0.4981 GB, free: 2.918 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.1097, allocations: 8.125 kB / 0.4981 GB, free: 2.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.1099, allocations: 55.89 kB / 0.4982 GB, free: 2.855 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.1102, allocations: 24.8 kB / 0.4982 GB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.1127, allocations: 2.084 MB / 0.5002 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.1128, allocations: 113.1 kB / 0.5004 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.88e-05/0.1129, allocations: 16.64 kB / 0.5004 GB, free: 500 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.303e-05/0.113, allocations: 59.41 kB / 0.5004 GB, free: 440 kB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.113, allocations: 0 / 0.5004 GB, free: 440 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.1371, allocations: 3.61 MB / 0.5039 GB, free: 12.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/10.9, allocations: 3.562 kB / 0.504 GB, free: 12.98 MB / 382.1 MB " [Timeout remaining time 649] (rm -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.ServoMotor_test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_StewartPlatform_StewartPlatform_Tests_ServoMotor_test_fmu --startTime=0 --stopTime=60 --stepSize=0.002 --timeout=50 --tolerance=1e-06 StewartPlatform_StewartPlatform_Tests_ServoMotor_test.fmu > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.714518442051485] Failed to read output from testmodel.py, exit status != 0: 11.052346229087561 11.223573558 10.964162954 Calling exit ...