Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001363/0.001363, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002459/0.002459, allocations: 209.5 kB / 23.73 MB, free: 4.387 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.243/0.243, allocations: 46.95 MB / 360.9 MB, free: 4 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 71.88 kB / 0.4961 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4094, allocations: 66.05 MB / 0.5606 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01433/0.4237, allocations: 10.26 MB / 0.5706 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009896/0.4336, allocations: 3.86 MB / 0.5744 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.4353, allocations: 67.75 kB / 0.5745 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002638/0.4379, allocations: 1.171 MB / 0.5756 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004366/0.4423, allocations: 1.779 MB / 0.5773 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.4437, allocations: 0.5574 MB / 0.5779 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005826/0.4495, allocations: 4.036 MB / 0.5818 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002294/0.4518, allocations: 1.675 MB / 0.5835 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.4537, allocations: 1.175 MB / 0.5846 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00247/0.4561, allocations: 1.795 MB / 0.5864 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005253/0.4567, allocations: 216 kB / 0.5866 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/0.4594, allocations: 1.174 MB / 0.5877 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001821/0.4612, allocations: 1.608 MB / 0.5893 GB, free: 6.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001867/0.4631, allocations: 1.311 MB / 0.5906 GB, free: 5.363 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009006/0.4721, allocations: 6.243 MB / 0.5967 GB, free: 15.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.4721, allocations: 0 / 0.5967 GB, free: 15.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4721, allocations: 0 / 0.5967 GB, free: 15.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001864/0.4723, allocations: 0 / 0.5967 GB, free: 15.09 MB / 446.1 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.01091/0.4832, allocations: 4.134 MB / 0.6007 GB, free: 10.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.4833, allocations: 12.03 kB / 0.6007 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001414/0.4847, allocations: 0.6876 MB / 0.6014 GB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02086/0.5055, allocations: 6.179 MB / 0.6074 GB, free: 4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007572/0.5131, allocations: 2.586 MB / 0.6099 GB, free: 1.387 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.5133, allocations: 184.5 kB / 0.6101 GB, free: 1.203 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001277/0.5146, allocations: 311.6 kB / 0.6104 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01993/0.5345, allocations: 10.71 MB / 0.6209 GB, free: 5.723 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.922e-05/0.5346, allocations: 27.75 kB / 0.6209 GB, free: 5.695 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003929/0.535, allocations: 115.8 kB / 0.621 GB, free: 5.582 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004143/0.5391, allocations: 2.463 MB / 0.6234 GB, free: 3.117 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02229/0.5614, allocations: 10.14 MB / 0.6333 GB, free: 8.969 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06766/0.6291, allocations: 33.9 MB / 0.6664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01193/0.641, allocations: 4.464 MB / 0.6708 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003731/0.6448, allocations: 2.197 MB / 0.6729 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/0.6461, allocations: 0.548 MB / 0.6735 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.608e-05/0.6462, allocations: 57.06 kB / 0.6735 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=224): time 5.981e-06/0.6462, allocations: 0 / 0.6735 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=231): time 0.04018/0.6864, allocations: 14.79 MB / 0.6879 GB, free: 84 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001808/0.6882, allocations: 1.499 MB / 0.6894 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005324/0.6935, allocations: 2.989 MB / 0.6923 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006322/0.6942, allocations: 53.7 kB / 0.6924 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002537/0.6967, allocations: 2.784 MB / 0.6951 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001533/0.6982, allocations: 0.8992 MB / 0.696 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001907/0.7001, allocations: 1.104 MB / 0.6971 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7003, allocations: 301.1 kB / 0.6973 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00431/0.7046, allocations: 2.63 MB / 0.6999 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0073/0.7119, allocations: 5.635 MB / 0.7054 GB, free: 12.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/0.7252, allocations: 8.941 MB / 0.7141 GB, free: 2.098 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001107/0.7254, allocations: 28 kB / 0.7142 GB, free: 2.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06682/0.7922, allocations: 17.12 MB / 0.7309 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.577e-05/0.7923, allocations: 55.94 kB / 0.7309 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3309/1.123, allocations: 10.6 MB / 0.7413 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04412/1.167, allocations: 8.638 MB / 0.7497 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004259/1.172, allocations: 1.3 MB / 0.751 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02422/1.196, allocations: 17.33 MB / 0.7679 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004636/1.2, allocations: 422.4 kB / 0.7683 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/1.201, allocations: 320 kB / 0.7686 GB, free: 128.9 MB / 0.5606 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.002994/1.204, allocations: 2.016 MB / 0.7706 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004733/1.205, allocations: 290.7 kB / 0.7709 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006923/1.212, allocations: 5.097 MB / 0.7759 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005966/1.218, allocations: 4.4 MB / 0.7802 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/1.218, allocations: 4 kB / 0.7802 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/1.218, allocations: 7.969 kB / 0.7802 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/1.237, allocations: 12.36 MB / 0.7922 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/1.237, allocations: 12 kB / 0.7923 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/1.239, allocations: 458.7 kB / 0.7927 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002593/1.242, allocations: 0.942 MB / 0.7936 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002912/1.242, allocations: 45.84 kB / 0.7937 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005182/1.247, allocations: 5.605 MB / 0.7991 GB, free: 97.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006982/1.248, allocations: 1.445 MB / 0.8005 GB, free: 96.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009158/1.257, allocations: 7.736 MB / 0.8081 GB, free: 88.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007289/1.258, allocations: 268.2 kB / 0.8084 GB, free: 88.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003647/1.258, allocations: 39.98 kB / 0.8084 GB, free: 88.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/1.259, allocations: 199.5 kB / 0.8086 GB, free: 88.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003128/1.26, allocations: 152.8 kB / 0.8087 GB, free: 87.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/1.26, allocations: 67.98 kB / 0.8088 GB, free: 87.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001859/1.262, allocations: 1.725 MB / 0.8105 GB, free: 86.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/1.262, allocations: 4 kB / 0.8105 GB, free: 86.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003732/1.265, allocations: 1.078 MB / 0.8115 GB, free: 85.04 MB / 0.5606 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.009424/1.275, allocations: 8.398 MB / 0.8197 GB, free: 76.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01031/1.285, allocations: 6.216 MB / 0.8258 GB, free: 70.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.525e-05/1.285, allocations: 0 / 0.8258 GB, free: 70.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00315/1.288, allocations: 2.3 MB / 0.828 GB, free: 68.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/1.29, allocations: 383.7 kB / 0.8284 GB, free: 67.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1259/1.416, allocations: 56.83 MB / 0.8839 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002736/1.419, allocations: 2.61 MB / 0.8865 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003927/1.423, allocations: 2.06 MB / 0.8885 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00239/1.425, allocations: 1.655 MB / 0.8901 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of SimCode: time 1.673e-06/1.425, allocations: 0 / 0.8901 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1439/1.569, allocations: 71.35 MB / 0.9598 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.12/18.69, allocations: 8 kB / 0.9598 GB, free: 8.984 MB / 0.6387 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.781485579907894] 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]'] 18.8422280671075 18.858914194 18.383328297 Calling exit ...