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.001186/0.001186, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001182/0.001182, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9304/0.9304, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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: 34.25 MB / 294.9 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] 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 1.322e-06/1.322e-06, allocations: 0 / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.765e-05, allocations: 6.844 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.1844/0.1844, allocations: 10.25 MB / 452.4 MB, free: 38.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004777/0.1892, allocations: 3.879 MB / 456.3 MB, free: 36.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006987/0.1899, allocations: 71.66 kB / 456.4 MB, free: 36.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.1912, allocations: 1.206 MB / 457.6 MB, free: 35.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.1934, allocations: 1.829 MB / 459.4 MB, free: 35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007268/0.1941, allocations: 0.597 MB / 460 MB, free: 34.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002994/0.1971, allocations: 4.71 MB / 464.7 MB, free: 33.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002074/0.1992, allocations: 2.167 MB / 466.9 MB, free: 32.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.201, allocations: 1.863 MB / 468.8 MB, free: 31.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.2027, allocations: 2.065 MB / 470.8 MB, free: 31.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000273/0.203, allocations: 227.7 kB / 471 MB, free: 31.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.2044, allocations: 1.248 MB / 472.3 MB, free: 30.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007269/0.2051, allocations: 1.691 MB / 474 MB, free: 30.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005641/0.2057, allocations: 0.9805 MB / 475 MB, free: 29.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004216/0.2099, allocations: 6.239 MB / 481.2 MB, free: 27.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2099, allocations: 0 / 481.2 MB, free: 27.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2099, allocations: 1.125 kB / 481.2 MB, free: 27.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.61e-05/0.21, allocations: 0 / 481.2 MB, free: 27.5 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.005271/0.2153, allocations: 4.223 MB / 485.4 MB, free: 25.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.2153, allocations: 10.34 kB / 485.4 MB, free: 25.08 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000709/0.216, allocations: 0.686 MB / 486.1 MB, free: 24.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01244/0.2285, allocations: 6.236 MB / 492.4 MB, free: 23.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004223/0.2327, allocations: 2.163 MB / 494.5 MB, free: 22.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.2328, allocations: 176.2 kB / 494.7 MB, free: 22.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000585/0.2334, allocations: 315.2 kB / 495 MB, free: 22.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01132/0.2447, allocations: 10.73 MB / 0.4939 GB, free: 16.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.723e-05/0.2448, allocations: 26.75 kB / 0.4939 GB, free: 16.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002751/0.245, allocations: 123.4 kB / 0.494 GB, free: 16.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001936/0.247, allocations: 2.463 MB / 0.4964 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009744/0.2567, allocations: 10.17 MB / 0.5064 GB, free: 4.074 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03472/0.2914, allocations: 34.33 MB / 0.5399 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006038/0.2975, allocations: 4.589 MB / 0.5444 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.2993, allocations: 2.184 MB / 0.5465 GB, free: 10.13 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006961/0.3, allocations: 0.5519 MB / 0.547 GB, free: 9.578 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.3, allocations: 48.56 kB / 0.5471 GB, free: 9.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 4.939e-06/0.3001, allocations: 4 kB / 0.5471 GB, free: 9.516 MB / 458.7 MB Notification: Performance of matching and sorting (n=231): time 0.02033/0.3204, allocations: 15.17 MB / 0.5619 GB, free: 10.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009434/0.3213, allocations: 1.496 MB / 0.5634 GB, free: 8.656 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003453/0.3248, allocations: 3.309 MB / 0.5666 GB, free: 5.332 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.3249, allocations: 53.69 kB / 0.5666 GB, free: 5.273 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001348/0.3263, allocations: 2.768 MB / 0.5693 GB, free: 2.477 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006269/0.3269, allocations: 0.8798 MB / 0.5702 GB, free: 1.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/0.3281, allocations: 1.1 MB / 0.5713 GB, free: 492 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.78e-05/0.3282, allocations: 305.1 kB / 0.5716 GB, free: 184 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002758/0.3309, allocations: 2.845 MB / 0.5743 GB, free: 13.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003892/0.3348, allocations: 5.854 MB / 0.5801 GB, free: 6.004 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006975/0.3418, allocations: 9.351 MB / 0.5892 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-05/0.3419, allocations: 32 kB / 0.5892 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.04982/0.3917, allocations: 33.34 MB / 0.6218 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/0.3917, allocations: 49 kB / 0.6218 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2366/0.6283, allocations: 23.38 MB / 0.6447 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03816/0.6665, allocations: 23.34 MB / 0.6675 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003384/0.6699, allocations: 1.311 MB / 0.6687 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02387/0.6937, allocations: 27.23 MB / 0.6953 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003316/0.697, allocations: 0.5501 MB / 0.6959 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003176/0.6974, allocations: 324.1 kB / 0.6962 GB, free: 126.7 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.002171/0.6995, allocations: 2.023 MB / 0.6982 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/0.6998, allocations: 291.2 kB / 0.6984 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004412/0.7042, allocations: 5.101 MB / 0.7034 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003849/0.7081, allocations: 4.401 MB / 0.7077 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7081, allocations: 0 / 0.7077 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.7081, allocations: 7.969 kB / 0.7077 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/0.7196, allocations: 12.47 MB / 0.7199 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.7196, allocations: 8 kB / 0.7199 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009649/0.7205, allocations: 455.2 kB / 0.7203 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/0.7219, allocations: 0.9425 MB / 0.7213 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.7221, allocations: 51.97 kB / 0.7213 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003395/0.7254, allocations: 5.586 MB / 0.7268 GB, free: 95.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004332/0.7259, allocations: 1.443 MB / 0.7282 GB, free: 93.81 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006116/0.732, allocations: 7.721 MB / 0.7357 GB, free: 86.13 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000636/0.7326, allocations: 318.1 kB / 0.736 GB, free: 85.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.7328, allocations: 51.78 kB / 0.7361 GB, free: 85.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008716/0.7337, allocations: 235.6 kB / 0.7363 GB, free: 85.71 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.734, allocations: 152.8 kB / 0.7364 GB, free: 85.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.383e-05/0.7341, allocations: 63.98 kB / 0.7365 GB, free: 85.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001758/0.7358, allocations: 1.979 MB / 0.7384 GB, free: 83.51 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.7358, allocations: 0 / 0.7384 GB, free: 83.51 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003103/0.7389, allocations: 1.226 MB / 0.7396 GB, free: 82.29 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.006003/0.7449, allocations: 8.397 MB / 0.7478 GB, free: 73.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006457/0.7514, allocations: 6.833 MB / 0.7545 GB, free: 66.97 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.7514, allocations: 0 / 0.7545 GB, free: 66.97 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001794/0.7532, allocations: 2.295 MB / 0.7567 GB, free: 64.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.7547, allocations: 395.9 kB / 0.7571 GB, free: 64.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09583/0.8505, allocations: 83.17 MB / 0.8383 GB, free: 8.457 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002634/0.8531, allocations: 2.63 MB / 0.8409 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003046/0.8562, allocations: 2.065 MB / 0.8429 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/0.8578, allocations: 1.672 MB / 0.8446 GB, free: 2.062 MB / 0.5573 GB Notification: Performance of SimCode: time 1.192e-06/0.8578, allocations: 0 / 0.8446 GB, free: 2.062 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2583/1.116, allocations: 78.99 MB / 0.9217 GB, free: 144.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/11.37, allocations: 7.516 kB / 0.9217 GB, free: 144.2 MB / 0.5573 GB " [Timeout remaining time 649] (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: 13.4878353131935] 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.496164592914283 11.507074004 11.295115809 Calling exit ...