Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.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.0008719/0.0008719, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.00094/0.00094, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8897/0.8897, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.218/0.218, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.051e-05, allocations: 8.047 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.1655/0.1656, allocations: 10.27 MB / 449.9 MB, free: 40.97 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006001/0.1716, allocations: 3.869 MB / 453.7 MB, free: 38.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.1736, allocations: 68.25 kB / 453.8 MB, free: 38.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002148/0.1758, allocations: 1.209 MB / 455 MB, free: 38.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003679/0.1794, allocations: 1.829 MB / 456.8 MB, free: 37.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.1806, allocations: 0.5974 MB / 457.4 MB, free: 37.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004302/0.1849, allocations: 4.705 MB / 462.1 MB, free: 35.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002485/0.1874, allocations: 2.17 MB / 464.3 MB, free: 34.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002516/0.1899, allocations: 1.87 MB / 466.2 MB, free: 34.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002046/0.192, allocations: 2.064 MB / 468.2 MB, free: 33.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004408/0.1924, allocations: 226.7 kB / 468.5 MB, free: 33.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.1942, allocations: 1.251 MB / 469.7 MB, free: 33.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.1953, allocations: 1.688 MB / 471.4 MB, free: 32.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.1965, allocations: 0.9785 MB / 472.4 MB, free: 32.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005015/0.2015, allocations: 6.241 MB / 478.6 MB, free: 30.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2015, allocations: 0 / 478.6 MB, free: 30.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2015, allocations: 0 / 478.6 MB, free: 30.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001663/0.2017, allocations: 0 / 478.6 MB, free: 30.04 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.007212/0.2089, allocations: 4.222 MB / 482.8 MB, free: 27.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.209, allocations: 9.781 kB / 482.9 MB, free: 27.61 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001074/0.21, allocations: 0.6834 MB / 483.5 MB, free: 27.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.222, allocations: 6.244 MB / 489.8 MB, free: 26.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003905/0.2259, allocations: 2.152 MB / 491.9 MB, free: 25.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.2261, allocations: 179.8 kB / 492.1 MB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009561/0.227, allocations: 318.7 kB / 492.4 MB, free: 25.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/0.24, allocations: 10.73 MB / 0.4914 GB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.396e-05/0.2401, allocations: 21.44 kB / 0.4914 GB, free: 19.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003629/0.2405, allocations: 113.1 kB / 0.4915 GB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002172/0.2427, allocations: 2.467 MB / 0.4939 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0133/0.256, allocations: 10.17 MB / 0.5038 GB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03716/0.2931, allocations: 34.32 MB / 0.5374 GB, free: 4.789 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00714/0.3003, allocations: 4.584 MB / 0.5418 GB, free: 200 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00237/0.3026, allocations: 2.192 MB / 0.544 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009417/0.3036, allocations: 0.544 MB / 0.5445 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.3036, allocations: 55.69 kB / 0.5446 GB, free: 13.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 4.769e-06/0.3036, allocations: 0 / 0.5446 GB, free: 13.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=231): time 0.02431/0.3279, allocations: 15.17 MB / 0.5594 GB, free: 14.17 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009916/0.3289, allocations: 1.514 MB / 0.5608 GB, free: 12.52 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003568/0.3325, allocations: 3.305 MB / 0.5641 GB, free: 9.199 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003699/0.3328, allocations: 57.61 kB / 0.5641 GB, free: 9.141 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001614/0.3345, allocations: 2.764 MB / 0.5668 GB, free: 6.348 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008487/0.3353, allocations: 0.8757 MB / 0.5677 GB, free: 5.465 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001207/0.3365, allocations: 1.1 MB / 0.5688 GB, free: 4.355 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.3366, allocations: 309.1 kB / 0.5691 GB, free: 4.051 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002933/0.3395, allocations: 2.845 MB / 0.5718 GB, free: 1.199 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004528/0.344, allocations: 5.85 MB / 0.5775 GB, free: 9.879 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009005/0.3531, allocations: 9.359 MB / 0.5867 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-05/0.3531, allocations: 32 kB / 0.5867 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.05248/0.4056, allocations: 33.34 MB / 0.6193 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.657e-05/0.4057, allocations: 48 kB / 0.6193 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2186/0.6244, allocations: 23.38 MB / 0.6422 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03867/0.663, allocations: 23.33 MB / 0.6649 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003372/0.6664, allocations: 1.307 MB / 0.6662 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02485/0.6912, allocations: 27.24 MB / 0.6928 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003499/0.6947, allocations: 0.5462 MB / 0.6933 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007072/0.6954, allocations: 321.3 kB / 0.6937 GB, free: 133.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (653): * Single equations (assignments): 642 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.002621/0.6981, allocations: 2.015 MB / 0.6956 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004622/0.6985, allocations: 293.5 kB / 0.6959 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004633/0.7032, allocations: 5.102 MB / 0.7009 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003825/0.707, allocations: 4.401 MB / 0.7052 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.707, allocations: 1.531 kB / 0.7052 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.707, allocations: 7.969 kB / 0.7052 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/0.7202, allocations: 12.46 MB / 0.7174 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/0.7202, allocations: 11.94 kB / 0.7174 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.7213, allocations: 457.9 kB / 0.7178 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.7227, allocations: 0.938 MB / 0.7187 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/0.7229, allocations: 47.98 kB / 0.7188 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003664/0.7266, allocations: 5.595 MB / 0.7242 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000515/0.7271, allocations: 1.442 MB / 0.7256 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006225/0.7333, allocations: 7.719 MB / 0.7332 GB, free: 92.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006875/0.734, allocations: 319.9 kB / 0.7335 GB, free: 92.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/0.7343, allocations: 44.33 kB / 0.7335 GB, free: 92.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009383/0.7352, allocations: 239.6 kB / 0.7338 GB, free: 92.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002639/0.7355, allocations: 148.8 kB / 0.7339 GB, free: 91.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.7356, allocations: 76.36 kB / 0.734 GB, free: 91.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00201/0.7376, allocations: 1.971 MB / 0.7359 GB, free: 89.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7376, allocations: 4 kB / 0.7359 GB, free: 89.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003615/0.7412, allocations: 1.228 MB / 0.7371 GB, free: 88.68 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006656/0.7479, allocations: 8.388 MB / 0.7453 GB, free: 80.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007145/0.755, allocations: 6.838 MB / 0.752 GB, free: 73.37 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.755, allocations: 0 / 0.752 GB, free: 73.37 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.7569, allocations: 2.297 MB / 0.7542 GB, free: 71.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.7585, allocations: 382.1 kB / 0.7546 GB, free: 70.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2778/1.036, allocations: 83.2 MB / 0.8358 GB, free: 163 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002428/1.039, allocations: 2.61 MB / 0.8384 GB, free: 162.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002813/1.041, allocations: 2.074 MB / 0.8404 GB, free: 162.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/1.043, allocations: 1.674 MB / 0.842 GB, free: 162.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.573e-06/1.043, allocations: 0 / 0.842 GB, free: 162.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09731/1.14, allocations: 78.98 MB / 0.9192 GB, free: 123.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/11.43, allocations: 7.453 kB / 0.9192 GB, free: 123.1 MB / 0.5417 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.362900398671627] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.Q[1]', 'body.Q[2]', 'body.Q[3]', 'body.Q[4]', 'body.w_a[1]', 'body.w_a[2]', 'body.w_a[3]'] 11.552428927272558 11.559484244 11.356363823 Calling exit ...