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.001205/0.001205, allocations: 116.7 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.001304/0.001304, 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.381/1.381, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.03029/0.03029, allocations: 6.578 MB / 316.1 MB, free: 1.141 MB / 238.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.001835/0.001835, allocations: 68.62 kB / 439.4 MB, free: 39.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07936/0.0812, allocations: 54.83 MB / 494.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.002807/0.084, allocations: 2.513 MB / 496.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000905/0.08491, allocations: 0.7051 MB / 497.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.08503, allocations: 4 kB / 497.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.08523, allocations: 47.59 kB / 497.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.809e-05/0.08532, allocations: 55.48 kB / 497.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.08556, allocations: 103.8 kB / 497.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.08575, allocations: 243.5 kB / 497.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.08594, allocations: 104.2 kB / 498 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.657e-05/0.08601, allocations: 103.7 kB / 498.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.08612, allocations: 95.56 kB / 498.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.08615, allocations: 24 kB / 498.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.754e-05/0.08618, allocations: 28 kB / 498.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.047e-05/0.08621, allocations: 47.84 kB / 498.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.434e-05/0.08627, allocations: 119.4 kB / 498.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.08649, allocations: 262.9 kB / 498.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.0865, allocations: 0 / 498.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.0865, allocations: 0 / 498.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.0865, allocations: 0 / 498.7 MB, free: 6.234 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006108/0.08711, allocations: 0.5184 MB / 499.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.08716, allocations: 12.03 kB / 499.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.973e-05/0.08718, allocations: 4.625 kB / 499.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/0.08722, allocations: 58.73 kB / 499.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.08726, allocations: 28.75 kB / 499.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.08753, allocations: 243.9 kB / 499.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.08754, allocations: 20.8 kB / 499.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.08758, allocations: 24.38 kB / 499.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.08795, allocations: 246.6 kB / 499.8 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.08797, allocations: 4 kB / 499.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.08799, allocations: 8 kB / 499.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.088, allocations: 8 kB / 499.8 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.08833, allocations: 169.6 kB / 500 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007977/0.08912, allocations: 0.817 MB / 0.4891 GB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.08945, allocations: 110.5 kB / 0.4892 GB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.08958, allocations: 48.81 kB / 0.4892 GB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.0896, allocations: 192 / 0.4892 GB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.08962, allocations: 38.5 kB / 0.4893 GB, free: 3.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.08962, allocations: 4 kB / 0.4893 GB, free: 3.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004702/0.09009, allocations: 181.4 kB / 0.4894 GB, free: 3.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.09012, allocations: 77.11 kB / 0.4895 GB, free: 3.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.09022, allocations: 162.2 kB / 0.4897 GB, free: 3.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.09024, allocations: 29.7 kB / 0.4897 GB, free: 3.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.0903, allocations: 168.1 kB / 0.4898 GB, free: 3.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.09032, allocations: 39.67 kB / 0.4899 GB, free: 3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.09036, allocations: 29.7 kB / 0.4899 GB, free: 2.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.781e-05/0.09041, allocations: 326.8 kB / 0.4902 GB, free: 2.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.09055, allocations: 56.77 kB / 0.4903 GB, free: 2.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.09069, allocations: 111.9 kB / 0.4904 GB, free: 2.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.09095, allocations: 149.9 kB / 0.4905 GB, free: 2.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.09096, allocations: 0 / 0.4905 GB, free: 2.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003378/0.09129, allocations: 189.7 kB / 0.4907 GB, free: 2.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.09131, allocations: 4 kB / 0.4907 GB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.09131, allocations: 4.094 kB / 0.4907 GB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.09133, allocations: 3.938 kB / 0.4907 GB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.09147, allocations: 43.91 kB / 0.4908 GB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.09148, allocations: 4.188 kB / 0.4908 GB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.09158, allocations: 27.88 kB / 0.4908 GB, free: 2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.09159, allocations: 8 kB / 0.4908 GB, free: 1.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001323/0.09172, allocations: 142 kB / 0.4909 GB, free: 1.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001026/0.09182, allocations: 92.53 kB / 0.491 GB, free: 1.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001783/0.092, allocations: 133.9 kB / 0.4912 GB, free: 1.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.42e-07/0.092, allocations: 0 / 0.4912 GB, free: 1.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002433/0.09225, allocations: 161.4 kB / 0.4913 GB, free: 1.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.503e-06/0.09225, allocations: 8 kB / 0.4913 GB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-06/0.09226, allocations: 0 / 0.4913 GB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.436e-06/0.09226, allocations: 8.188 kB / 0.4913 GB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.09236, allocations: 31.97 kB / 0.4914 GB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.09237, allocations: 7.938 kB / 0.4914 GB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.048e-05/0.09246, allocations: 11.98 kB / 0.4914 GB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.09246, allocations: 8 kB / 0.4914 GB, free: 1.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 (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 6.056e-05/0.09252, allocations: 193.2 kB / 0.4916 GB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.09256, allocations: 15.91 kB / 0.4916 GB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.0926, allocations: 13.41 kB / 0.4916 GB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.0926, allocations: 4 kB / 0.4916 GB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.0926, allocations: 3.938 kB / 0.4916 GB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.09261, allocations: 7.969 kB / 0.4916 GB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.09279, allocations: 253.5 kB / 0.4918 GB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.0928, allocations: 0 / 0.4918 GB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.09293, allocations: 35.91 kB / 0.4919 GB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.09293, allocations: 96 / 0.4919 GB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.09294, allocations: 7.938 kB / 0.4919 GB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.09295, allocations: 0 / 0.4919 GB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.09295, allocations: 0 / 0.4919 GB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.09337, allocations: 300.5 kB / 0.4922 GB, free: 472 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.0934, allocations: 85.02 kB / 0.4923 GB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.09342, allocations: 4 kB / 0.4923 GB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.09353, allocations: 16.05 kB / 0.4923 GB, free: 348 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.09357, allocations: 7.984 kB / 0.4923 GB, free: 340 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.09358, allocations: 4 kB / 0.4923 GB, free: 336 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.325e-05/0.09364, allocations: 120.9 kB / 0.4924 GB, free: 216 kB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.09364, allocations: 0 / 0.4924 GB, free: 216 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.09399, allocations: 87.67 kB / 0.4925 GB, free: 128 kB / 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 (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.0008212/0.09481, allocations: 0.8177 MB / 0.4933 GB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005021/0.09531, allocations: 175.8 kB / 0.4935 GB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.09532, allocations: 0 / 0.4935 GB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.09546, allocations: 56.45 kB / 0.4935 GB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.0958, allocations: 33.5 kB / 0.4935 GB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.09846, allocations: 2.081 MB / 0.4956 GB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.09881, allocations: 0.7358 MB / 0.4963 GB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.894e-05/0.09888, allocations: 16.58 kB / 0.4963 GB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.448e-05/0.09897, allocations: 63.41 kB / 0.4964 GB, free: 11.98 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.09897, allocations: 0 / 0.4964 GB, free: 11.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.119, allocations: 3.345 MB / 0.4996 GB, free: 8.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.925/8.044, allocations: 7.125 kB / 0.4996 GB, free: 8.727 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.759509027004242] Failed to read output from testmodel.py, exit status != 0: 8.159979281015694 8.173345296 8.084226185 Calling exit ...