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.00088/0.00088, allocations: 75.7 kB / 20.02 MB, free: 4.508 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.0009528/0.0009528, allocations: 169.9 kB / 23.31 MB, free: 1.211 MB / 18.57 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 0.8389/0.8389, allocations: 158.6 MB / 185.1 MB, free: 2.719 MB / 170.7 MB " [Timeout remaining time 179] 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.132/0.132, allocations: 32.37 MB / 269.7 MB, free: 14.89 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 407.1 MB, free: 2.133 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.229e-05, allocations: 6.078 kB / 407.1 MB, free: 2.129 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.007987/0.00801, allocations: 10.32 MB / 417.4 MB, free: 7.758 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007262/0.01527, allocations: 3.864 MB / 421.2 MB, free: 3.883 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.01661, allocations: 67.75 kB / 421.3 MB, free: 3.816 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.01815, allocations: 1.21 MB / 422.5 MB, free: 2.602 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002654/0.0208, allocations: 1.871 MB / 424.4 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000913/0.02172, allocations: 0.5961 MB / 425 MB, free: 128 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003584/0.0253, allocations: 4.565 MB / 429.6 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00284/0.02814, allocations: 2.195 MB / 431.8 MB, free: 9.328 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002564/0.03071, allocations: 1.886 MB / 433.6 MB, free: 7.438 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002676/0.03338, allocations: 2.073 MB / 435.7 MB, free: 5.359 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004118/0.03379, allocations: 227.9 kB / 435.9 MB, free: 5.137 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.03561, allocations: 1.267 MB / 437.2 MB, free: 3.867 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001454/0.03706, allocations: 1.714 MB / 438.9 MB, free: 2.148 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.03818, allocations: 1.008 MB / 439.9 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004615/0.04279, allocations: 6.315 MB / 446.2 MB, free: 10.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.0428, allocations: 0 / 446.2 MB, free: 10.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.0428, allocations: 0 / 446.2 MB, free: 10.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001579/0.04296, allocations: 0 / 446.2 MB, free: 10.8 MB / 426.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.005517/0.04848, allocations: 4.266 MB / 450.5 MB, free: 6.473 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.04853, allocations: 11.97 kB / 450.5 MB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005159/0.04904, allocations: 0.6837 MB / 451.2 MB, free: 5.766 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.05916, allocations: 5.777 MB / 457 MB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003332/0.06249, allocations: 2.338 MB / 459.3 MB, free: 13.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.938e-05/0.06258, allocations: 180.8 kB / 459.5 MB, free: 13.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004766/0.06306, allocations: 316.3 kB / 459.8 MB, free: 13.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009948/0.07301, allocations: 10.73 MB / 470.5 MB, free: 1.926 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.137e-05/0.07306, allocations: 23.81 kB / 470.6 MB, free: 1.902 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002252/0.07328, allocations: 111.8 kB / 470.7 MB, free: 1.793 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1829/0.2562, allocations: 2.461 MB / 473.1 MB, free: 93.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01266/0.2688, allocations: 10.17 MB / 483.3 MB, free: 91.51 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02925/0.2981, allocations: 34.44 MB / 0.5056 GB, free: 70.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006762/0.3049, allocations: 4.589 MB / 0.5101 GB, free: 69.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/0.3068, allocations: 2.19 MB / 0.5122 GB, free: 69 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007001/0.3075, allocations: 0.5496 MB / 0.5128 GB, free: 68.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.3076, allocations: 56.2 kB / 0.5128 GB, free: 68.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=224): time 4.849e-06/0.3076, allocations: 0 / 0.5128 GB, free: 68.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=231): time 0.01912/0.3267, allocations: 15.29 MB / 0.5277 GB, free: 57.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006545/0.3273, allocations: 1.502 MB / 0.5292 GB, free: 55.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00255/0.3299, allocations: 3.36 MB / 0.5325 GB, free: 52.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.33, allocations: 61.45 kB / 0.5325 GB, free: 52.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00067/0.3307, allocations: 2.774 MB / 0.5353 GB, free: 49.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003813/0.3311, allocations: 0.8737 MB / 0.5361 GB, free: 48.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008379/0.3319, allocations: 1.099 MB / 0.5372 GB, free: 47.61 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.465e-05/0.3319, allocations: 309.1 kB / 0.5375 GB, free: 47.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002087/0.334, allocations: 2.849 MB / 0.5403 GB, free: 44.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/0.3367, allocations: 5.848 MB / 0.546 GB, free: 37.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005507/0.3422, allocations: 9.355 MB / 0.5551 GB, free: 26.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.853e-05/0.3423, allocations: 32 kB / 0.5551 GB, free: 26.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.05143/0.3937, allocations: 39.11 MB / 0.5933 GB, free: 3.086 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.473e-05/0.3937, allocations: 56.22 kB / 0.5934 GB, free: 3.031 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04046/0.4342, allocations: 27.61 MB / 0.6203 GB, free: 7.367 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04456/0.4788, allocations: 28.37 MB / 0.648 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003209/0.482, allocations: 1.302 MB / 0.6493 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2012/0.6832, allocations: 28.46 MB / 0.6771 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003147/0.6863, allocations: 0.5975 MB / 0.6777 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003232/0.6867, allocations: 318 kB / 0.678 GB, free: 156.8 MB / 0.5105 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.002101/0.6888, allocations: 2.022 MB / 0.68 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.6891, allocations: 286.2 kB / 0.6802 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00522/0.6943, allocations: 5.106 MB / 0.6852 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005048/0.6993, allocations: 4.397 MB / 0.6895 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.6993, allocations: 2.531 kB / 0.6895 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.6994, allocations: 8.609 kB / 0.6895 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/0.7139, allocations: 12.51 MB / 0.7018 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.7139, allocations: 8.094 kB / 0.7018 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.715, allocations: 463.6 kB / 0.7022 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/0.7165, allocations: 0.9395 MB / 0.7031 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/0.7166, allocations: 49.41 kB / 0.7032 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003244/0.7198, allocations: 5.594 MB / 0.7086 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004186/0.7203, allocations: 1.443 MB / 0.71 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00609/0.7264, allocations: 7.734 MB / 0.7176 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004576/0.7268, allocations: 310.4 kB / 0.7179 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002395/0.7271, allocations: 49.56 kB / 0.7179 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008857/0.7279, allocations: 244.2 kB / 0.7182 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002364/0.7282, allocations: 147.7 kB / 0.7183 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.676e-05/0.7283, allocations: 75.3 kB / 0.7184 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001601/0.7299, allocations: 2.014 MB / 0.7203 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7299, allocations: 0 / 0.7203 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002644/0.7325, allocations: 1.248 MB / 0.7216 GB, free: 134.2 MB / 0.5105 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.006224/0.7387, allocations: 8.411 MB / 0.7298 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006222/0.745, allocations: 7.031 MB / 0.7366 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.745, allocations: 0 / 0.7366 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001808/0.7468, allocations: 2.302 MB / 0.7389 GB, free: 117 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.7482, allocations: 380.2 kB / 0.7393 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0987/0.8469, allocations: 91.88 MB / 0.829 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001801/0.8487, allocations: 2.618 MB / 0.8315 GB, free: 17.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002748/0.8514, allocations: 2.076 MB / 0.8336 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/0.8528, allocations: 1.684 MB / 0.8352 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of SimCode: time 2.014e-06/0.8528, allocations: 0 / 0.8352 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2358/1.089, allocations: 79.57 MB / 0.9129 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/11.11, allocations: 10.94 kB / 0.9129 GB, free: 159.1 MB / 0.5261 GB " [Timeout remaining time 649] (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: 13.175928184762597] 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.231711823493242 11.239250584 11.194256026 Calling exit ...