Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2301/0.2301, allocations: 46.93 MB / 361.6 MB, free: 4.191 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 75.88 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4256, allocations: 66.08 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.0174/0.443, allocations: 11.83 MB / 0.5731 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00978/0.4528, allocations: 4.109 MB / 0.5771 GB, free: 4.289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002163/0.455, allocations: 67.75 kB / 0.5771 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002997/0.458, allocations: 1.202 MB / 0.5783 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004999/0.463, allocations: 1.783 MB / 0.5801 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.4647, allocations: 0.5614 MB / 0.5806 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00708/0.4717, allocations: 4.035 MB / 0.5845 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002988/0.4747, allocations: 1.675 MB / 0.5862 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/0.4774, allocations: 1.179 MB / 0.5873 GB, free: 9.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004112/0.4815, allocations: 1.853 MB / 0.5891 GB, free: 7.871 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.4825, allocations: 216 kB / 0.5893 GB, free: 7.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003337/0.4859, allocations: 1.338 MB / 0.5907 GB, free: 6.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002874/0.4887, allocations: 1.612 MB / 0.5922 GB, free: 4.703 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003408/0.4922, allocations: 1.832 MB / 0.594 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009951/0.5021, allocations: 6.224 MB / 0.6001 GB, free: 12.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.5021, allocations: 0 / 0.6001 GB, free: 12.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5021, allocations: 0 / 0.6001 GB, free: 12.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002214/0.5023, allocations: 3.938 kB / 0.6001 GB, free: 12.6 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.01085/0.5132, allocations: 4.126 MB / 0.6041 GB, free: 8.418 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.5132, allocations: 12.03 kB / 0.6041 GB, free: 8.406 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00199/0.5152, allocations: 0.6837 MB / 0.6048 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02098/0.5362, allocations: 6.183 MB / 0.6108 GB, free: 1.516 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008577/0.5448, allocations: 2.571 MB / 0.6134 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002826/0.5451, allocations: 180.5 kB / 0.6135 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002139/0.5472, allocations: 311.6 kB / 0.6138 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02405/0.5713, allocations: 10.71 MB / 0.6243 GB, free: 3.254 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001388/0.5714, allocations: 31.75 kB / 0.6243 GB, free: 3.223 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009863/0.5724, allocations: 107.8 kB / 0.6244 GB, free: 3.117 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004238/0.5766, allocations: 2.467 MB / 0.6268 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02366/0.6003, allocations: 10.16 MB / 0.6367 GB, free: 6.48 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06287/0.6632, allocations: 35.43 MB / 0.6714 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01248/0.6756, allocations: 4.473 MB / 0.6757 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003713/0.6793, allocations: 2.185 MB / 0.6779 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/0.6807, allocations: 0.5594 MB / 0.6784 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.883e-05/0.6808, allocations: 56.5 kB / 0.6785 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=224): time 6.602e-06/0.6808, allocations: 3.938 kB / 0.6785 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=231): time 0.03755/0.7183, allocations: 14.8 MB / 0.6929 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001649/0.72, allocations: 1.503 MB / 0.6944 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005783/0.7257, allocations: 2.808 MB / 0.6971 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000577/0.7263, allocations: 57.7 kB / 0.6972 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002893/0.7292, allocations: 2.787 MB / 0.6999 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001663/0.7309, allocations: 0.8914 MB / 0.7008 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003638/0.7345, allocations: 1.108 MB / 0.7019 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.7347, allocations: 309.1 kB / 0.7021 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006074/0.7408, allocations: 2.626 MB / 0.7047 GB, free: 15.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01021/0.751, allocations: 5.631 MB / 0.7102 GB, free: 8.633 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/0.7649, allocations: 8.937 MB / 0.7189 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/0.765, allocations: 28 kB / 0.719 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.3302/1.095, allocations: 17.12 MB / 0.7357 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.409e-05/1.095, allocations: 47.22 kB / 0.7357 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03734/1.133, allocations: 10.61 MB / 0.7461 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04024/1.173, allocations: 8.635 MB / 0.7545 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004164/1.177, allocations: 1.297 MB / 0.7558 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02362/1.201, allocations: 17.61 MB / 0.773 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004238/1.205, allocations: 419.5 kB / 0.7734 GB, free: 125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000931/1.206, allocations: 323.7 kB / 0.7737 GB, free: 124.7 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.003404/1.209, allocations: 2.016 MB / 0.7757 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005985/1.21, allocations: 287 kB / 0.7759 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007262/1.217, allocations: 5.102 MB / 0.7809 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005832/1.223, allocations: 4.396 MB / 0.7852 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/1.223, allocations: 15.81 kB / 0.7852 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/1.223, allocations: 7.969 kB / 0.7852 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0185/1.241, allocations: 12.74 MB / 0.7977 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/1.242, allocations: 8 kB / 0.7977 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/1.243, allocations: 460.5 kB / 0.7981 GB, free: 99.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002505/1.246, allocations: 0.9429 MB / 0.799 GB, free: 98.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002596/1.246, allocations: 43.98 kB / 0.7991 GB, free: 98.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00524/1.251, allocations: 5.629 MB / 0.8046 GB, free: 93.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007137/1.252, allocations: 1.45 MB / 0.806 GB, free: 91.53 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009662/1.262, allocations: 7.736 MB / 0.8136 GB, free: 83.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006449/1.262, allocations: 264.7 kB / 0.8138 GB, free: 83.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006167/1.263, allocations: 47.73 kB / 0.8139 GB, free: 83.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/1.265, allocations: 195.7 kB / 0.814 GB, free: 83.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004123/1.265, allocations: 152.8 kB / 0.8142 GB, free: 83.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001972/1.265, allocations: 67.98 kB / 0.8143 GB, free: 83.22 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002569/1.268, allocations: 1.725 MB / 0.8159 GB, free: 81.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.268, allocations: 4 kB / 0.8159 GB, free: 81.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004453/1.272, allocations: 1.088 MB / 0.817 GB, free: 80.41 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.01062/1.283, allocations: 8.394 MB / 0.8252 GB, free: 71.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009861/1.293, allocations: 6.208 MB / 0.8313 GB, free: 65.69 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/1.293, allocations: 1.875 kB / 0.8313 GB, free: 65.69 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003467/1.296, allocations: 2.304 MB / 0.8335 GB, free: 63.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/1.299, allocations: 381.5 kB / 0.8339 GB, free: 62.99 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1226/1.422, allocations: 56.82 MB / 0.8894 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004576/1.426, allocations: 3.155 MB / 0.8925 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00527/1.432, allocations: 2.06 MB / 0.8945 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003324/1.435, allocations: 1.659 MB / 0.8961 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of SimCode: time 1.242e-06/1.435, allocations: 7.938 kB / 0.8961 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1572/1.592, allocations: 76.15 MB / 0.9705 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.04/23.63, allocations: 9.969 kB / 0.9705 GB, free: 14.61 MB / 0.6544 GB " [Timeout remaining time 636] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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-beta_om_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.052163443993777] 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]'] 23.76974107697606 24.028679129 23.292252473 Calling exit ...