Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001354/0.001354, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001471/0.001471, allocations: 214.1 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.258/0.258, allocations: 44.26 MB / 330.3 MB, free: 9.414 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 83.88 kB / 467.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1573, allocations: 61.04 MB / 0.5162 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01486/0.1721, allocations: 10.31 MB / 0.5262 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009414/0.1815, allocations: 3.86 MB / 0.53 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002797/0.1843, allocations: 67.75 kB / 0.5301 GB, free: 8.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003321/0.1877, allocations: 1.171 MB / 0.5312 GB, free: 7.695 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005353/0.193, allocations: 1.806 MB / 0.533 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.1947, allocations: 0.5535 MB / 0.5335 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006005/0.2007, allocations: 3.962 MB / 0.5374 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3252/0.5259, allocations: 1.689 MB / 0.539 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002871/0.5288, allocations: 1.188 MB / 0.5402 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003176/0.532, allocations: 1.802 MB / 0.542 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007827/0.5327, allocations: 216.8 kB / 0.5422 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003388/0.5361, allocations: 1.191 MB / 0.5433 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002547/0.5387, allocations: 1.634 MB / 0.5449 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002096/0.5408, allocations: 1.333 MB / 0.5462 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.5529, allocations: 6.312 MB / 0.5524 GB, free: 8.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/0.5529, allocations: 4.375 kB / 0.5524 GB, free: 8.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5529, allocations: 0 / 0.5524 GB, free: 8.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003271/0.5532, allocations: 0 / 0.5524 GB, free: 8.957 MB / 414.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.01588/0.5691, allocations: 4.188 MB / 0.5565 GB, free: 7.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/0.5692, allocations: 10.62 kB / 0.5565 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001984/0.5712, allocations: 0.6845 MB / 0.5572 GB, free: 7.047 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01975/0.5909, allocations: 5.726 MB / 0.5627 GB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008999/0.5999, allocations: 2.925 MB / 0.5656 GB, free: 4.539 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.6001, allocations: 178.5 kB / 0.5658 GB, free: 4.496 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001311/0.6014, allocations: 315.9 kB / 0.5661 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02341/0.6249, allocations: 10.71 MB / 0.5765 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001343/0.625, allocations: 28.36 kB / 0.5766 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004831/0.6255, allocations: 117 kB / 0.5767 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004378/0.6298, allocations: 2.464 MB / 0.5791 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02514/0.655, allocations: 10.14 MB / 0.589 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0689/0.7239, allocations: 33.93 MB / 0.6221 GB, free: 3.688 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01192/0.7358, allocations: 4.451 MB / 0.6265 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003731/0.7395, allocations: 2.186 MB / 0.6286 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/0.7408, allocations: 0.5497 MB / 0.6291 GB, free: 12.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/0.7408, allocations: 49.59 kB / 0.6292 GB, free: 12.46 MB / 478.1 MB Notification: Performance of pre-optimization done (n=224): time 5.199e-06/0.7408, allocations: 0 / 0.6292 GB, free: 12.46 MB / 478.1 MB Notification: Performance of matching and sorting (n=231): time 0.04041/0.7813, allocations: 14.85 MB / 0.6437 GB, free: 13.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001601/0.7829, allocations: 1.507 MB / 0.6452 GB, free: 11.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006458/0.7893, allocations: 3.012 MB / 0.6481 GB, free: 8.934 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006596/0.79, allocations: 52.05 kB / 0.6481 GB, free: 8.879 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002824/0.7928, allocations: 2.8 MB / 0.6509 GB, free: 6.086 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001611/0.7944, allocations: 0.8902 MB / 0.6517 GB, free: 5.207 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003565/0.798, allocations: 1.107 MB / 0.6528 GB, free: 4.098 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.7981, allocations: 310.6 kB / 0.6531 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005309/0.8034, allocations: 2.626 MB / 0.6557 GB, free: 1.156 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007914/0.8114, allocations: 5.627 MB / 0.6612 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01287/0.8242, allocations: 8.942 MB / 0.6699 GB, free: 60 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001148/0.8243, allocations: 32 kB / 0.6699 GB, free: 28 kB / 0.4981 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.07011/0.8944, allocations: 19.01 MB / 0.6885 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.8946, allocations: 48 kB / 0.6886 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04759/0.9422, allocations: 11.99 MB / 0.7003 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04984/0.992, allocations: 10.28 MB / 0.7103 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005251/0.9973, allocations: 1.306 MB / 0.7116 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03486/1.032, allocations: 17.74 MB / 0.7289 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005928/1.038, allocations: 435.3 kB / 0.7293 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001784/1.04, allocations: 320 kB / 0.7296 GB, free: 2.613 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.006634/1.046, allocations: 2.028 MB / 0.7316 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.048, allocations: 290 kB / 0.7319 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/1.059, allocations: 5.147 MB / 0.7369 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008312/1.068, allocations: 4.388 MB / 0.7412 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/1.068, allocations: 4 kB / 0.7412 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/1.068, allocations: 11.91 kB / 0.7412 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03009/1.098, allocations: 12.36 MB / 0.7533 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-05/1.098, allocations: 9 kB / 0.7533 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002368/1.1, allocations: 459.2 kB / 0.7537 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003184/1.103, allocations: 0.9427 MB / 0.7546 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005685/1.104, allocations: 54.41 kB / 0.7547 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00806/1.112, allocations: 5.593 MB / 0.7602 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001371/1.113, allocations: 1.447 MB / 0.7616 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3492/1.462, allocations: 7.731 MB / 0.7691 GB, free: 199.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/1.464, allocations: 269.4 kB / 0.7694 GB, free: 199.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008178/1.464, allocations: 51.28 kB / 0.7694 GB, free: 199.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/1.466, allocations: 193.7 kB / 0.7696 GB, free: 199.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004212/1.467, allocations: 154.3 kB / 0.7698 GB, free: 199.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/1.467, allocations: 66.34 kB / 0.7698 GB, free: 199.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003615/1.47, allocations: 1.739 MB / 0.7715 GB, free: 199.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/1.47, allocations: 0.5312 kB / 0.7715 GB, free: 199.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007185/1.478, allocations: 1.105 MB / 0.7726 GB, free: 199.4 MB / 0.5919 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.0137/1.491, allocations: 8.387 MB / 0.7808 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01391/1.505, allocations: 6.3 MB / 0.7869 GB, free: 194.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.65e-05/1.505, allocations: 2.188 kB / 0.7869 GB, free: 194.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004333/1.51, allocations: 2.293 MB / 0.7892 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/1.512, allocations: 382 kB / 0.7896 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1342/1.647, allocations: 59.71 MB / 0.8479 GB, free: 138.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002879/1.649, allocations: 2.619 MB / 0.8504 GB, free: 135.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003874/1.653, allocations: 2.067 MB / 0.8524 GB, free: 133.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002192/1.655, allocations: 1.663 MB / 0.8541 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.733e-06/1.655, allocations: 0 / 0.8541 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/1.775, allocations: 71.54 MB / 0.9239 GB, free: 60.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.9/18.67, allocations: 11.97 kB / 0.9239 GB, free: 60.05 MB / 0.5919 GB " [Timeout remaining time 641] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.0057310750708] 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.829959425143898 18.846574123 18.289920244 Calling exit ...