Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001445/0.001445, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001751/0.001751, allocations: 214.2 kB / 23.73 MB, free: 4.16 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.505/1.505, allocations: 230.5 MB / 257.4 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2644/0.2644, allocations: 46.94 MB / 360.8 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002758/0.002758, allocations: 75.88 kB / 0.4962 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3642, allocations: 66.08 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01384/0.378, allocations: 10.26 MB / 0.5707 GB, free: 9.715 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009137/0.3872, allocations: 3.856 MB / 0.5745 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.3888, allocations: 67.75 kB / 0.5745 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002665/0.3915, allocations: 1.171 MB / 0.5757 GB, free: 4.605 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004176/0.3956, allocations: 1.778 MB / 0.5774 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.3971, allocations: 0.5613 MB / 0.578 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005436/0.4025, allocations: 4.033 MB / 0.5819 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/0.4047, allocations: 1.683 MB / 0.5836 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.4064, allocations: 1.172 MB / 0.5847 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.4089, allocations: 1.791 MB / 0.5864 GB, free: 9.539 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000484/0.4094, allocations: 220 kB / 0.5867 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002229/0.4116, allocations: 1.182 MB / 0.5878 GB, free: 8.141 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001656/0.4132, allocations: 1.608 MB / 0.5894 GB, free: 6.527 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.4148, allocations: 1.303 MB / 0.5907 GB, free: 5.215 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008099/0.4229, allocations: 6.239 MB / 0.5967 GB, free: 14.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4229, allocations: 0 / 0.5967 GB, free: 14.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.423, allocations: 4 kB / 0.5967 GB, free: 14.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001612/0.4231, allocations: 0 / 0.5967 GB, free: 14.95 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.007929/0.431, allocations: 4.13 MB / 0.6008 GB, free: 10.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4311, allocations: 12.03 kB / 0.6008 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009656/0.4321, allocations: 0.6876 MB / 0.6015 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02113/0.4532, allocations: 6.19 MB / 0.6075 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00666/0.4598, allocations: 2.578 MB / 0.61 GB, free: 1.238 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.46, allocations: 188.5 kB / 0.6102 GB, free: 1.051 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001014/0.461, allocations: 311.7 kB / 0.6105 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01857/0.4796, allocations: 10.71 MB / 0.621 GB, free: 5.566 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.82e-05/0.4797, allocations: 27.81 kB / 0.621 GB, free: 5.539 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003595/0.48, allocations: 111.8 kB / 0.6211 GB, free: 5.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004087/0.4841, allocations: 2.463 MB / 0.6235 GB, free: 2.965 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0202/0.5043, allocations: 10.14 MB / 0.6334 GB, free: 8.812 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05529/0.5596, allocations: 33.9 MB / 0.6665 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/0.5719, allocations: 4.459 MB / 0.6709 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003434/0.5753, allocations: 2.185 MB / 0.673 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.5765, allocations: 0.5479 MB / 0.6735 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.5766, allocations: 52.5 kB / 0.6736 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=224): time 5.08e-06/0.5766, allocations: 0 / 0.6736 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=231): time 0.03629/0.6129, allocations: 14.79 MB / 0.688 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00153/0.6144, allocations: 1.51 MB / 0.6895 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004742/0.6191, allocations: 2.985 MB / 0.6924 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004263/0.6196, allocations: 61.8 kB / 0.6925 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00228/0.6219, allocations: 2.791 MB / 0.6952 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001244/0.6231, allocations: 0.8952 MB / 0.6961 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002144/0.6252, allocations: 1.108 MB / 0.6972 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6254, allocations: 301.1 kB / 0.6975 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004411/0.6298, allocations: 2.626 MB / 0.7 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007427/0.6372, allocations: 5.627 MB / 0.7055 GB, free: 12.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01319/0.6504, allocations: 8.937 MB / 0.7142 GB, free: 1.941 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/0.6505, allocations: 32 kB / 0.7143 GB, free: 1.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.07027/0.7208, allocations: 17.12 MB / 0.731 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.721, allocations: 48 kB / 0.731 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3194/1.04, allocations: 10.61 MB / 0.7414 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04686/1.087, allocations: 8.639 MB / 0.7498 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004342/1.092, allocations: 1.299 MB / 0.7511 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02529/1.117, allocations: 17.34 MB / 0.768 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005361/1.122, allocations: 419.6 kB / 0.7684 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001457/1.124, allocations: 314.9 kB / 0.7687 GB, free: 128.6 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.003866/1.127, allocations: 2.021 MB / 0.7707 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007225/1.128, allocations: 289.1 kB / 0.771 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007368/1.136, allocations: 5.103 MB / 0.776 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0065/1.142, allocations: 4.397 MB / 0.7803 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/1.142, allocations: 0 / 0.7803 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.729e-05/1.142, allocations: 15.47 kB / 0.7803 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02081/1.163, allocations: 12.36 MB / 0.7923 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.798e-05/1.163, allocations: 9.25 kB / 0.7923 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/1.165, allocations: 461.2 kB / 0.7928 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00276/1.168, allocations: 0.934 MB / 0.7937 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004004/1.168, allocations: 55.8 kB / 0.7938 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005801/1.174, allocations: 5.596 MB / 0.7992 GB, free: 97.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008528/1.175, allocations: 1.448 MB / 0.8006 GB, free: 95.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/1.186, allocations: 7.739 MB / 0.8082 GB, free: 88.12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.187, allocations: 267.1 kB / 0.8084 GB, free: 88.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008316/1.188, allocations: 40 kB / 0.8085 GB, free: 87.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.19, allocations: 195.5 kB / 0.8087 GB, free: 87.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005066/1.19, allocations: 152.8 kB / 0.8088 GB, free: 87.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003032/1.191, allocations: 67.98 kB / 0.8089 GB, free: 87.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002907/1.194, allocations: 1.732 MB / 0.8106 GB, free: 85.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.194, allocations: 0 / 0.8106 GB, free: 85.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006308/1.2, allocations: 1.082 MB / 0.8116 GB, free: 84.77 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.0128/1.213, allocations: 8.391 MB / 0.8198 GB, free: 76.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01044/1.223, allocations: 6.221 MB / 0.8259 GB, free: 70.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.081e-05/1.223, allocations: 0 / 0.8259 GB, free: 70.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003612/1.227, allocations: 2.294 MB / 0.8281 GB, free: 67.76 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/1.23, allocations: 400.2 kB / 0.8285 GB, free: 67.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1506/1.381, allocations: 56.82 MB / 0.884 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003238/1.384, allocations: 2.618 MB / 0.8866 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00412/1.388, allocations: 2.06 MB / 0.8886 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002637/1.391, allocations: 1.668 MB / 0.8902 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/1.391, allocations: 0 / 0.8902 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1785/1.569, allocations: 71.33 MB / 0.9599 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.01/18.58, allocations: 8.062 kB / 0.9599 GB, free: 8.625 MB / 0.6387 GB " [Timeout remaining time 641] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.79658238310367] 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.743967921007425 18.769711036 18.341714681 Calling exit ...