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.001896/0.001896, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002966/0.002966, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2538/0.2538, allocations: 46.95 MB / 360.9 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 179] 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.002136/0.002136, allocations: 71.89 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3593, allocations: 66.03 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.0139/0.3732, allocations: 10.26 MB / 0.5706 GB, free: 9.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009177/0.3823, allocations: 3.863 MB / 0.5744 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.3841, allocations: 67.75 kB / 0.5745 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002579/0.3866, allocations: 1.164 MB / 0.5756 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00439/0.391, allocations: 1.775 MB / 0.5773 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.3925, allocations: 0.5614 MB / 0.5779 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005832/0.3983, allocations: 4.042 MB / 0.5818 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003032/0.4014, allocations: 1.675 MB / 0.5835 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.4035, allocations: 1.175 MB / 0.5846 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003295/0.4068, allocations: 1.795 MB / 0.5864 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008139/0.4077, allocations: 216 kB / 0.5866 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002632/0.4103, allocations: 1.178 MB / 0.5877 GB, free: 8.328 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00195/0.4122, allocations: 1.616 MB / 0.5893 GB, free: 6.707 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001964/0.4142, allocations: 1.303 MB / 0.5906 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007977/0.4222, allocations: 6.24 MB / 0.5967 GB, free: 15.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.4222, allocations: 0 / 0.5967 GB, free: 15.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4222, allocations: 0 / 0.5967 GB, free: 15.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001655/0.4224, allocations: 0 / 0.5967 GB, free: 15.13 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.009474/0.4318, allocations: 4.134 MB / 0.6007 GB, free: 10.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/0.4319, allocations: 12.03 kB / 0.6007 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001263/0.4332, allocations: 0.6837 MB / 0.6014 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02104/0.4542, allocations: 6.183 MB / 0.6074 GB, free: 4.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006754/0.461, allocations: 2.59 MB / 0.6099 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.4611, allocations: 184.5 kB / 0.6101 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/0.4623, allocations: 307.7 kB / 0.6104 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01864/0.481, allocations: 10.71 MB / 0.6209 GB, free: 5.754 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.401e-05/0.481, allocations: 27.81 kB / 0.6209 GB, free: 5.727 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003785/0.4814, allocations: 111.8 kB / 0.621 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004107/0.4855, allocations: 2.467 MB / 0.6234 GB, free: 3.148 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0209/0.5064, allocations: 10.13 MB / 0.6333 GB, free: 9.004 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05613/0.5626, allocations: 33.91 MB / 0.6664 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0122/0.5748, allocations: 4.454 MB / 0.6708 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003677/0.5784, allocations: 2.191 MB / 0.6729 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/0.5798, allocations: 0.5519 MB / 0.6735 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.155e-05/0.5799, allocations: 56.5 kB / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=224): time 5.961e-06/0.5799, allocations: 0 / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=231): time 0.03906/0.619, allocations: 14.79 MB / 0.6879 GB, free: 116 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001536/0.6205, allocations: 1.503 MB / 0.6894 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004844/0.6253, allocations: 2.989 MB / 0.6923 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003932/0.6257, allocations: 53.7 kB / 0.6924 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002536/0.6283, allocations: 2.788 MB / 0.6951 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001284/0.6296, allocations: 0.8991 MB / 0.696 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002243/0.6318, allocations: 1.104 MB / 0.6971 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.6319, allocations: 301.1 kB / 0.6974 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004369/0.6363, allocations: 2.63 MB / 0.6999 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007223/0.6435, allocations: 5.627 MB / 0.7054 GB, free: 12.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01278/0.6563, allocations: 8.945 MB / 0.7142 GB, free: 2.125 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001632/0.6565, allocations: 28 kB / 0.7142 GB, free: 2.098 MB / 0.545 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06954/0.726, allocations: 17.12 MB / 0.7309 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.7262, allocations: 50.34 kB / 0.7309 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3228/1.049, allocations: 10.61 MB / 0.7413 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04607/1.095, allocations: 8.639 MB / 0.7497 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004258/1.099, allocations: 1.3 MB / 0.751 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02385/1.123, allocations: 17.32 MB / 0.7679 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00403/1.127, allocations: 426.2 kB / 0.7683 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006079/1.128, allocations: 321.7 kB / 0.7686 GB, free: 129 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.002521/1.13, allocations: 2.023 MB / 0.7706 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004085/1.131, allocations: 292.2 kB / 0.7709 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006951/1.138, allocations: 5.089 MB / 0.7759 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0059/1.144, allocations: 4.408 MB / 0.7802 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/1.144, allocations: 4.188 kB / 0.7802 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/1.144, allocations: 11.97 kB / 0.7802 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/1.161, allocations: 12.36 MB / 0.7923 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/1.161, allocations: 11.59 kB / 0.7923 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/1.163, allocations: 459.2 kB / 0.7927 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002557/1.165, allocations: 0.9345 MB / 0.7936 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002051/1.166, allocations: 43.98 kB / 0.7937 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004952/1.17, allocations: 5.607 MB / 0.7991 GB, free: 97.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006736/1.171, allocations: 1.439 MB / 0.8005 GB, free: 96.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008899/1.18, allocations: 7.741 MB / 0.8081 GB, free: 88.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006734/1.181, allocations: 267.4 kB / 0.8084 GB, free: 88.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003206/1.181, allocations: 39.75 kB / 0.8084 GB, free: 88.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/1.182, allocations: 195.7 kB / 0.8086 GB, free: 88.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003217/1.183, allocations: 152.8 kB / 0.8087 GB, free: 88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/1.183, allocations: 63.98 kB / 0.8088 GB, free: 87.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001824/1.185, allocations: 1.729 MB / 0.8105 GB, free: 86.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.185, allocations: 0 / 0.8105 GB, free: 86.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003453/1.188, allocations: 1.082 MB / 0.8115 GB, free: 85.12 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.008786/1.197, allocations: 8.406 MB / 0.8197 GB, free: 76.63 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008927/1.206, allocations: 6.207 MB / 0.8258 GB, free: 70.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/1.206, allocations: 4 kB / 0.8258 GB, free: 70.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002799/1.209, allocations: 2.303 MB / 0.8281 GB, free: 68.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/1.211, allocations: 378.8 kB / 0.8284 GB, free: 67.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.126/1.337, allocations: 56.83 MB / 0.8839 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003189/1.34, allocations: 2.618 MB / 0.8865 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003924/1.344, allocations: 2.052 MB / 0.8885 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002124/1.346, allocations: 1.665 MB / 0.8901 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of SimCode: time 1.994e-06/1.346, allocations: 0 / 0.8901 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1442/1.49, allocations: 71.34 MB / 0.9598 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.73/18.22, allocations: 2.812 kB / 0.9598 GB, free: 9.086 MB / 0.6387 GB " [Timeout remaining time 642] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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.427148318849504] 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.376295713242143 18.403169583 17.975702711 Calling exit ...