Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008047/0.0008047, allocations: 83.69 kB / 20.67 MB, free: 3.891 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.0009009/0.0009009, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8906/0.8906, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2391/0.2391, allocations: 32.79 MB / 293.5 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.73e-05, allocations: 2.844 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.2022/0.2023, allocations: 10.27 MB / 449.9 MB, free: 40.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004893/0.2072, allocations: 3.877 MB / 453.7 MB, free: 38.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007208/0.2079, allocations: 69.5 kB / 453.8 MB, free: 38.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.2091, allocations: 1.207 MB / 455 MB, free: 38.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.211, allocations: 1.829 MB / 456.8 MB, free: 37.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007319/0.2117, allocations: 0.5998 MB / 457.4 MB, free: 37.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002395/0.2141, allocations: 4.706 MB / 462.1 MB, free: 35.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.2155, allocations: 2.168 MB / 464.3 MB, free: 34.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.217, allocations: 1.869 MB / 466.2 MB, free: 34.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.2185, allocations: 2.069 MB / 468.2 MB, free: 33.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002202/0.2187, allocations: 222.8 kB / 468.5 MB, free: 33.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.2206, allocations: 1.252 MB / 469.7 MB, free: 33.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001175/0.2217, allocations: 1.684 MB / 471.4 MB, free: 32.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.223, allocations: 0.9815 MB / 472.4 MB, free: 32.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006099/0.2291, allocations: 6.24 MB / 478.6 MB, free: 30.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2291, allocations: 2.75 kB / 478.6 MB, free: 30.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.2291, allocations: 0.7031 kB / 478.6 MB, free: 30.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001547/0.2292, allocations: 0 / 478.6 MB, free: 30.05 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.007858/0.2371, allocations: 4.222 MB / 482.8 MB, free: 27.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.2371, allocations: 8.719 kB / 482.9 MB, free: 27.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006819/0.2378, allocations: 0.6829 MB / 483.5 MB, free: 27.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/0.2504, allocations: 6.243 MB / 489.8 MB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003966/0.2543, allocations: 2.15 MB / 491.9 MB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.2544, allocations: 180.7 kB / 492.1 MB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005712/0.255, allocations: 319.3 kB / 492.4 MB, free: 25.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/0.2665, allocations: 10.73 MB / 0.4914 GB, free: 19.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.478e-05/0.2666, allocations: 21.94 kB / 0.4914 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002572/0.2668, allocations: 115.9 kB / 0.4915 GB, free: 19.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002175/0.269, allocations: 2.465 MB / 0.4939 GB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/0.2793, allocations: 10.17 MB / 0.5038 GB, free: 7.934 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02913/0.3084, allocations: 34.33 MB / 0.5373 GB, free: 4.773 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006664/0.3151, allocations: 4.591 MB / 0.5418 GB, free: 176 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002557/0.3177, allocations: 2.184 MB / 0.544 GB, free: 13.99 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009607/0.3186, allocations: 0.5441 MB / 0.5445 GB, free: 13.45 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.3187, allocations: 55.69 kB / 0.5445 GB, free: 13.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 5.411e-06/0.3187, allocations: 0 / 0.5445 GB, free: 13.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=231): time 0.02143/0.3401, allocations: 15.17 MB / 0.5594 GB, free: 14.15 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008552/0.3409, allocations: 1.507 MB / 0.5608 GB, free: 12.51 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002903/0.3439, allocations: 3.309 MB / 0.5641 GB, free: 9.184 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.344, allocations: 57.61 kB / 0.5641 GB, free: 9.125 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001379/0.3454, allocations: 2.76 MB / 0.5668 GB, free: 6.336 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005231/0.3459, allocations: 0.8835 MB / 0.5677 GB, free: 5.445 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001074/0.347, allocations: 1.092 MB / 0.5688 GB, free: 4.344 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.367e-05/0.347, allocations: 305.3 kB / 0.569 GB, free: 4.043 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002853/0.3499, allocations: 2.853 MB / 0.5718 GB, free: 1.184 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004167/0.354, allocations: 5.85 MB / 0.5775 GB, free: 9.863 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007397/0.3614, allocations: 9.355 MB / 0.5867 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.348e-05/0.3615, allocations: 28 kB / 0.5867 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.05089/0.4124, allocations: 33.34 MB / 0.6193 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.296e-05/0.4124, allocations: 53.41 kB / 0.6193 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2075/0.62, allocations: 23.37 MB / 0.6421 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04063/0.6606, allocations: 23.33 MB / 0.6649 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003314/0.6639, allocations: 1.31 MB / 0.6662 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02493/0.6888, allocations: 27.24 MB / 0.6928 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003249/0.6921, allocations: 0.5523 MB / 0.6933 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003522/0.6924, allocations: 320 kB / 0.6937 GB, free: 133.1 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.002306/0.6947, allocations: 2.018 MB / 0.6956 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.695, allocations: 286 kB / 0.6959 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004598/0.6996, allocations: 5.109 MB / 0.7009 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003848/0.7035, allocations: 4.393 MB / 0.7052 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7035, allocations: 4 kB / 0.7052 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.7035, allocations: 7.969 kB / 0.7052 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.7143, allocations: 12.47 MB / 0.7174 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.138e-06/0.7143, allocations: 11.94 kB / 0.7174 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009968/0.7153, allocations: 463.2 kB / 0.7178 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001419/0.7167, allocations: 0.9328 MB / 0.7187 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.7169, allocations: 55.75 kB / 0.7188 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003384/0.7202, allocations: 5.588 MB / 0.7242 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004725/0.7207, allocations: 1.447 MB / 0.7256 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006049/0.7268, allocations: 7.725 MB / 0.7332 GB, free: 92.51 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004945/0.7273, allocations: 312.6 kB / 0.7335 GB, free: 92.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.7275, allocations: 39.98 kB / 0.7335 GB, free: 92.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008474/0.7283, allocations: 239.6 kB / 0.7338 GB, free: 92.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002269/0.7285, allocations: 152.8 kB / 0.7339 GB, free: 91.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-05/0.7286, allocations: 72.61 kB / 0.734 GB, free: 91.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001601/0.7302, allocations: 1.979 MB / 0.7359 GB, free: 89.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.7302, allocations: 3.594 kB / 0.7359 GB, free: 89.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00272/0.733, allocations: 1.221 MB / 0.7371 GB, free: 88.68 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.006089/0.7391, allocations: 8.384 MB / 0.7453 GB, free: 80.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0067/0.7458, allocations: 6.833 MB / 0.752 GB, free: 73.37 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.7458, allocations: 384 / 0.752 GB, free: 73.37 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002094/0.7479, allocations: 2.304 MB / 0.7542 GB, free: 71.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.7494, allocations: 393.3 kB / 0.7546 GB, free: 70.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2637/1.013, allocations: 83.19 MB / 0.8358 GB, free: 163.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002203/1.015, allocations: 2.615 MB / 0.8384 GB, free: 162.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002602/1.018, allocations: 2.07 MB / 0.8404 GB, free: 162.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/1.019, allocations: 1.673 MB / 0.842 GB, free: 162.8 MB / 0.5417 GB Notification: Performance of SimCode: time 1.302e-06/1.019, allocations: 0 / 0.842 GB, free: 162.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07821/1.097, allocations: 79 MB / 0.9192 GB, free: 123.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/11.14, allocations: 7.234 kB / 0.9192 GB, free: 123.1 MB / 0.5417 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.158022054471076] 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.261925379745662 11.267347375 11.036891866 Calling exit ...