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.001197/0.001197, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009843/0.0009843, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9037/0.9037, allocations: 177 MB / 204.1 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.256/0.256, allocations: 34.24 MB / 294.8 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] 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 2.114e-06/2.114e-06, allocations: 0 / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.329e-05, allocations: 2.281 kB / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.1922/0.1922, allocations: 10.26 MB / 452.4 MB, free: 38.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005347/0.1976, allocations: 3.87 MB / 456.3 MB, free: 35.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006387/0.1982, allocations: 71.62 kB / 456.4 MB, free: 35.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.1995, allocations: 1.207 MB / 457.6 MB, free: 35.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.2013, allocations: 1.823 MB / 459.4 MB, free: 34.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007814/0.2021, allocations: 0.6013 MB / 460 MB, free: 34.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002583/0.2047, allocations: 4.706 MB / 464.7 MB, free: 32.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.2063, allocations: 2.168 MB / 466.9 MB, free: 32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.2079, allocations: 1.872 MB / 468.8 MB, free: 31.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001889/0.2098, allocations: 2.062 MB / 470.8 MB, free: 30.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00022/0.21, allocations: 223.8 kB / 471 MB, free: 30.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.2114, allocations: 1.251 MB / 472.3 MB, free: 30.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007485/0.2121, allocations: 1.694 MB / 474 MB, free: 29.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005206/0.2127, allocations: 0.9835 MB / 475 MB, free: 29.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003895/0.2166, allocations: 6.238 MB / 481.2 MB, free: 27.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/0.2166, allocations: 1.797 kB / 481.2 MB, free: 27.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.2166, allocations: 0 / 481.2 MB, free: 27.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.137e-05/0.2166, allocations: 0 / 481.2 MB, free: 27.19 MB / 410.7 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.004887/0.2215, allocations: 4.219 MB / 485.4 MB, free: 24.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2216, allocations: 9.125 kB / 485.4 MB, free: 24.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005772/0.2221, allocations: 0.6833 MB / 486.1 MB, free: 24.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01337/0.2355, allocations: 6.244 MB / 492.4 MB, free: 23.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004368/0.2399, allocations: 2.159 MB / 494.5 MB, free: 22.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.24, allocations: 177.2 kB / 494.7 MB, free: 22.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007161/0.2407, allocations: 318.6 kB / 495 MB, free: 22.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01298/0.2537, allocations: 10.73 MB / 0.4939 GB, free: 16.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.963e-05/0.2538, allocations: 22.81 kB / 0.4939 GB, free: 16.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002569/0.254, allocations: 115.5 kB / 0.494 GB, free: 16.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002028/0.2561, allocations: 2.463 MB / 0.4964 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009526/0.2656, allocations: 10.16 MB / 0.5063 GB, free: 3.797 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03169/0.2973, allocations: 34.33 MB / 0.5399 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006359/0.3036, allocations: 4.591 MB / 0.5443 GB, free: 12.04 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001891/0.3055, allocations: 2.185 MB / 0.5465 GB, free: 9.855 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006489/0.3062, allocations: 0.5441 MB / 0.547 GB, free: 9.312 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3062, allocations: 52.56 kB / 0.5471 GB, free: 9.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 4.729e-06/0.3062, allocations: 4 kB / 0.5471 GB, free: 9.246 MB / 458.7 MB Notification: Performance of matching and sorting (n=231): time 0.02128/0.3275, allocations: 15.17 MB / 0.5619 GB, free: 10.02 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009865/0.3285, allocations: 1.499 MB / 0.5633 GB, free: 8.387 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003414/0.3319, allocations: 3.309 MB / 0.5666 GB, free: 5.062 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.332, allocations: 53.69 kB / 0.5666 GB, free: 5.004 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001204/0.3332, allocations: 2.768 MB / 0.5693 GB, free: 2.207 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005519/0.3338, allocations: 0.8796 MB / 0.5702 GB, free: 1.32 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/0.3349, allocations: 1.096 MB / 0.5713 GB, free: 220 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.335, allocations: 301.1 kB / 0.5715 GB, free: 15.92 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002786/0.3378, allocations: 2.845 MB / 0.5743 GB, free: 13.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004251/0.342, allocations: 5.854 MB / 0.58 GB, free: 5.742 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007196/0.3492, allocations: 9.359 MB / 0.5892 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.933e-05/0.3492, allocations: 28 kB / 0.5892 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.05042/0.3997, allocations: 33.34 MB / 0.6218 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-05/0.3997, allocations: 48 kB / 0.6218 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2342/0.6339, allocations: 23.38 MB / 0.6446 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03803/0.672, allocations: 23.34 MB / 0.6674 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003244/0.6752, allocations: 1.312 MB / 0.6687 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02384/0.6991, allocations: 27.23 MB / 0.6953 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003233/0.7023, allocations: 0.5535 MB / 0.6959 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002777/0.7026, allocations: 320 kB / 0.6962 GB, free: 126.3 MB / 0.5261 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.002177/0.7047, allocations: 2.02 MB / 0.6981 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.705, allocations: 286.4 kB / 0.6984 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004398/0.7094, allocations: 5.101 MB / 0.7034 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003814/0.7132, allocations: 4.404 MB / 0.7077 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.7132, allocations: 4 kB / 0.7077 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.7132, allocations: 7.969 kB / 0.7077 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/0.7242, allocations: 12.46 MB / 0.7199 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.7242, allocations: 11.94 kB / 0.7199 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.7252, allocations: 455.2 kB / 0.7203 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/0.7266, allocations: 0.9389 MB / 0.7212 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.7267, allocations: 55.75 kB / 0.7213 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00338/0.7301, allocations: 5.587 MB / 0.7267 GB, free: 94.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004253/0.7305, allocations: 1.452 MB / 0.7282 GB, free: 93.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006294/0.7368, allocations: 7.719 MB / 0.7357 GB, free: 85.69 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005969/0.7374, allocations: 314.2 kB / 0.736 GB, free: 85.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/0.7376, allocations: 47.94 kB / 0.736 GB, free: 85.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008841/0.7385, allocations: 239.5 kB / 0.7363 GB, free: 85.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/0.7388, allocations: 146.8 kB / 0.7364 GB, free: 85.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.7389, allocations: 71.97 kB / 0.7365 GB, free: 85.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001921/0.7408, allocations: 1.975 MB / 0.7384 GB, free: 83.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.7408, allocations: 0 / 0.7384 GB, free: 83.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003068/0.7439, allocations: 1.225 MB / 0.7396 GB, free: 81.85 MB / 0.5261 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.006167/0.75, allocations: 8.398 MB / 0.7478 GB, free: 73.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006551/0.7566, allocations: 6.836 MB / 0.7545 GB, free: 66.53 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.7566, allocations: 0 / 0.7545 GB, free: 66.53 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001811/0.7584, allocations: 2.297 MB / 0.7567 GB, free: 64.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.7599, allocations: 383.4 kB / 0.7571 GB, free: 63.85 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09843/0.8583, allocations: 83.18 MB / 0.8383 GB, free: 8.004 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002355/0.8607, allocations: 2.618 MB / 0.8409 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003048/0.8637, allocations: 2.075 MB / 0.8429 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2011/1.065, allocations: 1.672 MB / 0.8445 GB, free: 178.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.804e-06/1.065, allocations: 0 / 0.8445 GB, free: 178.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/1.166, allocations: 78.97 MB / 0.9217 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/11.26, allocations: 15.11 kB / 0.9217 GB, free: 143.3 MB / 0.5573 GB " [Timeout remaining time 649] (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: 13.374145391397178] 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]'] 11.384113548323512 11.391751271 11.172846967 Calling exit ...